diff options
author | 2015-11-13 20:54:31 +0000 | |
---|---|---|
committer | 2015-11-16 09:00:34 +0000 | |
commit | e258d1db00a377e4b6e88cdd757c607ff1f758d9 (patch) | |
tree | b31cad643b6f09ad80b1673a63849fd4d9cb881e /src/test/java/com/google | |
parent | f3b43afcc8362cde4e5cd031e43e3d28a5942312 (diff) |
Minor tweaks to DirectoryListingStateValue
--
MOS_MIGRATED_REVID=107805824
Diffstat (limited to 'src/test/java/com/google')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/skyframe/GlobFunctionTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/GlobFunctionTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/GlobFunctionTest.java index 18b29f6d8f..9956a5e561 100644 --- a/src/test/java/com/google/devtools/build/lib/skyframe/GlobFunctionTest.java +++ b/src/test/java/com/google/devtools/build/lib/skyframe/GlobFunctionTest.java @@ -605,7 +605,7 @@ public abstract class GlobFunctionTest { fs.stubStat(fooBarDir.getRelative("wiz"), null); RootedPath fooBarDirRootedPath = RootedPath.toRootedPath(root, fooBarDir); SkyValue fooBarDirListingValue = - DirectoryListingStateValue.createForTesting( + DirectoryListingStateValue.create( ImmutableList.of(new Dirent("wiz", Dirent.Type.DIRECTORY))); differencer.inject( ImmutableMap.of( @@ -677,7 +677,7 @@ public abstract class GlobFunctionTest { }); // But the dir listing say foo/bar/wiz/file is a symlink. SkyValue wizDirListingValue = - DirectoryListingStateValue.createForTesting( + DirectoryListingStateValue.create( ImmutableList.of(new Dirent("file", Dirent.Type.SYMLINK))); differencer.inject( ImmutableMap.of(DirectoryListingStateValue.key(wizRootedPath), wizDirListingValue)); |