Lines Matching refs:Lower

236   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());  in TEST()  local
239 new vfs::OverlayFileSystem(Lower)); in TEST()
242 Lower->addDirectory("/lower-only"); in TEST()
246 ErrorOr<vfs::Status> Status1 = Lower->status("/lower-only"); in TEST()
261 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() local
264 new vfs::OverlayFileSystem(Lower)); in TEST()
268 Lower->addDirectory("/both", sys::fs::owner_read); in TEST()
275 Lower->addRegularFile("/both/foo", sys::fs::owner_read); in TEST()
395 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() local
398 new vfs::OverlayFileSystem(Lower)); in TEST()
404 Lower->addRegularFile("/file1"); in TEST()
410 Lower->addDirectory("/dir1"); in TEST()
411 Lower->addRegularFile("/dir1/foo"); in TEST()
419 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() local
423 new vfs::OverlayFileSystem(Lower)); in TEST()
431 Lower->addRegularFile("/file1"); in TEST()
440 Lower->addDirectory("/dir1"); in TEST()
441 Lower->addRegularFile("/dir1/foo"); in TEST()
442 Lower->addDirectory("/dir1/a"); in TEST()
443 Lower->addRegularFile("/dir1/a/b"); in TEST()
461 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() local
465 new vfs::OverlayFileSystem(Lower)); in TEST()
475 Lower->addRegularFile("/file1"); in TEST()
481 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() local
485 new vfs::OverlayFileSystem(Lower)); in TEST()
490 Lower->addRegularFile("/onlyInLow", sys::fs::owner_read); in TEST()
491 Lower->addRegularFile("/hiddenByMid", sys::fs::owner_read); in TEST()
492 Lower->addRegularFile("/hiddenByUp", sys::fs::owner_read); in TEST()
705 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
706 Lower->addRegularFile("//root/foo/bar/a"); in TEST_F()
726 Lower); in TEST_F()
730 new vfs::OverlayFileSystem(Lower)); in TEST_F()
765 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
766 Lower->addRegularFile("//root/foo/bar/a"); in TEST_F()
780 Lower); in TEST_F()
784 new vfs::OverlayFileSystem(Lower)); in TEST_F()
801 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
802 Lower->addRegularFile("//root/foo/bar/a"); in TEST_F()
816 Lower); in TEST_F()
820 new vfs::OverlayFileSystem(Lower)); in TEST_F()
833 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
836 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString("{]", Lower); in TEST_F()
839 FS = getFromYAMLString("{ 'roots':[}", Lower); in TEST_F()
843 Lower); in TEST_F()
847 FS = getFromYAMLString("{ 'knobular': 'true', 'roots':[] }", Lower); in TEST_F()
849 FS = getFromYAMLString("{ 'case-sensitive': 'maybe', 'roots':[] }", Lower); in TEST_F()
853 FS = getFromYAMLString("{ 'roots':'' }", Lower); in TEST_F()
855 FS = getFromYAMLString("{ 'roots':{} }", Lower); in TEST_F()
860 "{ 'roots':[ { 'type': 'other', 'name': 'me', 'contents': '' }", Lower); in TEST_F()
864 Lower); in TEST_F()
868 Lower); in TEST_F()
872 Lower); in TEST_F()
876 Lower); in TEST_F()
880 Lower); in TEST_F()
884 Lower); in TEST_F()
888 FS = getFromYAMLString("{ 'roots':[ { 'type': 'file', 'name': 'me' }", Lower); in TEST_F()
891 "{ 'roots':[ { 'type': 'file', 'external-contents': 'other' }", Lower); in TEST_F()
893 FS = getFromYAMLString("{ 'roots':[ { 'name': 'me', 'contents': [] }", Lower); in TEST_F()
897 FS = getFromYAMLString("{ 'roots':[], 'roots':[] }", Lower); in TEST_F()
901 Lower); in TEST_F()
906 Lower); in TEST_F()
910 FS = getFromYAMLRawString("{ 'roots':[] }", Lower); in TEST_F()
914 FS = getFromYAMLRawString("{ 'version':'foo', 'roots':[] }", Lower); in TEST_F()
916 FS = getFromYAMLRawString("{ 'version':-1, 'roots':[] }", Lower); in TEST_F()
918 FS = getFromYAMLRawString("{ 'version':100000, 'roots':[] }", Lower); in TEST_F()
924 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
925 Lower->addRegularFile("//root/external/file"); in TEST_F()
940 "] }", Lower); in TEST_F()
964 "] }", Lower); in TEST_F()
975 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
976 Lower->addRegularFile("//root/other"); in TEST_F()
983 "}", Lower); in TEST_F()
996 "}", Lower); in TEST_F()
1009 "}", Lower); in TEST_F()
1018 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
1019 Lower->addRegularFile("//root/other"); in TEST_F()
1027 "}", Lower); in TEST_F()
1036 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
1037 Lower->addDirectory("//root/"); in TEST_F()
1038 Lower->addDirectory("//root/foo"); in TEST_F()
1039 Lower->addDirectory("//root/foo/bar"); in TEST_F()
1040 Lower->addRegularFile("//root/foo/bar/a"); in TEST_F()
1041 Lower->addRegularFile("//root/foo/bar/b"); in TEST_F()
1042 Lower->addRegularFile("//root/file3"); in TEST_F()
1063 Lower); in TEST_F()
1067 new vfs::OverlayFileSystem(Lower)); in TEST_F()
1083 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
1084 Lower->addDirectory("//root/zab"); in TEST_F()
1085 Lower->addDirectory("//root/baz"); in TEST_F()
1086 Lower->addRegularFile("//root/zab/a"); in TEST_F()
1087 Lower->addRegularFile("//root/zab/b"); in TEST_F()
1113 Lower); in TEST_F()
1117 new vfs::OverlayFileSystem(Lower)); in TEST_F()
1128 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
1129 Lower->addDirectory("//root/a"); in TEST_F()
1130 Lower->addDirectory("//root/a/b"); in TEST_F()
1131 Lower->addDirectory("//root/a/b/c"); in TEST_F()
1132 Lower->addRegularFile("//root/a/b/c/file"); in TEST_F()
1148 Lower); in TEST_F()
1152 new vfs::OverlayFileSystem(Lower)); in TEST_F()