Home | History | Annotate | Download | only in Basic

Lines Matching defs:Contents

330   std::vector<std::string> Contents;
333 Contents.push_back(I->getName());
336 // Check contents, which may be in any order
337 EXPECT_EQ(4U, Contents.size());
339 for (const std::string &Name : Contents) {
387 const char *Contents[] = {"/file2", "/file1"};
388 checkContents(O->dir_begin("/", EC), makeStringRefVector(Contents));
397 const char *Contents[] = {"/dir2", "/file2", "/dir1", "/file1"};
398 checkContents(O->dir_begin("/", EC), makeStringRefVector(Contents));
422 const char *Contents[] = {"/dir", "/dir/file2", "/file1"};
424 makeStringRefVector(Contents));
442 const char *Contents[] = { "/dir", "/dir/file2", "/dir2", "/dir2/foo",
446 makeStringRefVector(Contents));
468 const char *Contents[] = {"/file3", "/file2", "/file1"};
469 checkContents(O->dir_begin("/", EC), makeStringRefVector(Contents));
492 const char *Contents[] = {"/hiddenByUp", "/onlyInUp", "/hiddenByMid",
494 checkContents(O->dir_begin("/", EC), makeStringRefVector(Contents));
567 " 'contents': [ {\n"
570 " 'external-contents': '//root/foo/bar/a'\n"
575 " 'external-contents': '//root/foo/b'\n"
618 " 'contents': [ {\n"
621 " 'external-contents': '//root/foo/bar/a'\n"
654 " 'contents': [ {\n"
657 " 'external-contents': '//root/foo/bar/a'\n"
687 "{ 'roots':[ { 'name': 'foo', 'type': 'directory', 'contents': [}",
705 "{ 'roots':[ { 'type': 'other', 'name': 'me', 'contents': '' }", Lower);
708 "'external-contents': 'other' }",
712 "{ 'roots':[ { 'type': 'file', 'name': 'me', 'external-contents': [] }",
716 "{ 'roots':[ { 'type': 'file', 'name': 'me', 'external-contents': {} }",
720 "{ 'roots':[ { 'type': 'directory', 'name': 'me', 'contents': {} }",
724 "{ 'roots':[ { 'type': 'directory', 'name': 'me', 'contents': '' }",
728 "{ 'roots':[ { 'thingy': 'directory', 'name': 'me', 'contents': [] }",
736 "{ 'roots':[ { 'type': 'file', 'external-contents': 'other' }", Lower);
738 FS = getFromYAMLString("{ 'roots':[ { 'name': 'me', 'contents': [] }", Lower);
750 "'external-contents':'blah' } ] }",
775 " 'external-contents': '//root/external/file'\n"
779 " 'external-contents': '//root/external/file'\n"
783 " 'external-contents': '//root/external/file'\n"
799 " 'external-contents': '//root/external/file'\n"
803 " 'external-contents': '//root/external/file'\n"
807 " 'external-contents': '//root/external/file'\n"
827 " 'external-contents': '//root/other' }]\n"
839 " 'contents': [ { 'type': 'file', 'name': 'file',\n"
840 " 'external-contents': '//root/other' }]}]\n"
852 " 'contents': [ { 'type': 'file', 'name': 'path/to/file',\n"
853 " 'external-contents': '//root/other' }]}]\n"
870 " 'contents': [ { 'type': 'file', 'name': 'file',\n"
871 " 'external-contents': '//root/other' }]}]\n"
894 " 'contents': [ {\n"
897 " 'external-contents': '//root/foo/bar/a'\n"
902 " 'external-contents': '//root/foo/bar/b'\n"
917 const char *Contents[] = {"//root/file1", "//root/file2", "//root/file3",
919 checkContents(O->dir_begin("//root/", EC), makeStringRefVector(Contents));
923 const char *Contents[] = {"//root/foo/bar/a", "//root/foo/bar/b"};
925 makeStringRefVector(Contents));