Lines Matching refs:Lower
234 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() local
237 new vfs::OverlayFileSystem(Lower)); in TEST()
240 Lower->addDirectory("/lower-only"); in TEST()
244 ErrorOr<vfs::Status> Status1 = Lower->status("/lower-only"); in TEST()
259 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() local
262 new vfs::OverlayFileSystem(Lower)); in TEST()
266 Lower->addDirectory("/both", sys::fs::owner_read); in TEST()
273 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()
413 Lower->addDirectory("/dir1"); in TEST()
414 Lower->addRegularFile("/dir1/foo"); in TEST()
425 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() local
429 new vfs::OverlayFileSystem(Lower)); in TEST()
437 Lower->addRegularFile("/file1"); in TEST()
449 Lower->addDirectory("/dir1"); in TEST()
450 Lower->addRegularFile("/dir1/foo"); in TEST()
451 Lower->addDirectory("/dir1/a"); in TEST()
452 Lower->addRegularFile("/dir1/a/b"); in TEST()
473 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() local
477 new vfs::OverlayFileSystem(Lower)); in TEST()
487 Lower->addRegularFile("/file1"); in TEST()
496 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() local
500 new vfs::OverlayFileSystem(Lower)); in TEST()
505 Lower->addRegularFile("/onlyInLow", sys::fs::owner_read); in TEST()
506 Lower->addRegularFile("/hiddenByMid", sys::fs::owner_read); in TEST()
507 Lower->addRegularFile("/hiddenByUp", sys::fs::owner_read); in TEST()
704 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
705 Lower->addRegularFile("//root/foo/bar/a"); in TEST_F()
725 Lower); in TEST_F()
729 new vfs::OverlayFileSystem(Lower)); in TEST_F()
764 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
765 Lower->addRegularFile("//root/foo/bar/a"); in TEST_F()
779 Lower); in TEST_F()
783 new vfs::OverlayFileSystem(Lower)); in TEST_F()
800 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
801 Lower->addRegularFile("//root/foo/bar/a"); in TEST_F()
815 Lower); in TEST_F()
819 new vfs::OverlayFileSystem(Lower)); in TEST_F()
832 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
835 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString("{]", Lower); in TEST_F()
838 FS = getFromYAMLString("{ 'roots':[}", Lower); in TEST_F()
842 Lower); in TEST_F()
846 FS = getFromYAMLString("{ 'knobular': 'true', 'roots':[] }", Lower); in TEST_F()
848 FS = getFromYAMLString("{ 'case-sensitive': 'maybe', 'roots':[] }", Lower); in TEST_F()
852 FS = getFromYAMLString("{ 'roots':'' }", Lower); in TEST_F()
854 FS = getFromYAMLString("{ 'roots':{} }", Lower); in TEST_F()
859 "{ 'roots':[ { 'type': 'other', 'name': 'me', 'contents': '' }", Lower); in TEST_F()
863 Lower); in TEST_F()
867 Lower); in TEST_F()
871 Lower); in TEST_F()
875 Lower); in TEST_F()
879 Lower); in TEST_F()
883 Lower); in TEST_F()
887 FS = getFromYAMLString("{ 'roots':[ { 'type': 'file', 'name': 'me' }", Lower); in TEST_F()
890 "{ 'roots':[ { 'type': 'file', 'external-contents': 'other' }", Lower); in TEST_F()
892 FS = getFromYAMLString("{ 'roots':[ { 'name': 'me', 'contents': [] }", Lower); in TEST_F()
896 FS = getFromYAMLString("{ 'roots':[], 'roots':[] }", Lower); in TEST_F()
900 Lower); in TEST_F()
905 Lower); in TEST_F()
909 FS = getFromYAMLRawString("{ 'roots':[] }", Lower); in TEST_F()
913 FS = getFromYAMLRawString("{ 'version':'foo', 'roots':[] }", Lower); in TEST_F()
915 FS = getFromYAMLRawString("{ 'version':-1, 'roots':[] }", Lower); in TEST_F()
917 FS = getFromYAMLRawString("{ 'version':100000, 'roots':[] }", Lower); in TEST_F()
923 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
924 Lower->addRegularFile("//root/external/file"); in TEST_F()
939 "] }", Lower); in TEST_F()
963 "] }", Lower); in TEST_F()
974 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
975 Lower->addRegularFile("//root/other"); in TEST_F()
982 "}", Lower); in TEST_F()
995 "}", Lower); in TEST_F()
1008 "}", Lower); in TEST_F()
1017 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
1018 Lower->addRegularFile("//root/other"); in TEST_F()
1026 "}", Lower); in TEST_F()
1035 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST_F() local
1036 Lower->addDirectory("//root/"); in TEST_F()
1037 Lower->addDirectory("//root/foo"); in TEST_F()
1038 Lower->addDirectory("//root/foo/bar"); in TEST_F()
1039 Lower->addRegularFile("//root/foo/bar/a"); in TEST_F()
1040 Lower->addRegularFile("//root/foo/bar/b"); in TEST_F()
1041 Lower->addRegularFile("//root/file3"); in TEST_F()
1062 Lower); in TEST_F()
1066 new vfs::OverlayFileSystem(Lower)); in TEST_F()