Lines Matching refs:test_resources
32 ResourcePoolT test_resources; in BuildTestResources() local
35 test_resources.locale.emplace_back(new LanguageTagT); in BuildTestResources()
36 test_resources.locale.back()->language = "en"; in BuildTestResources()
37 test_resources.locale.back()->region = "US"; in BuildTestResources()
38 test_resources.locale.emplace_back(new LanguageTagT); in BuildTestResources()
39 test_resources.locale.back()->language = "en"; in BuildTestResources()
40 test_resources.locale.back()->region = "GB"; in BuildTestResources()
41 test_resources.locale.emplace_back(new LanguageTagT); in BuildTestResources()
42 test_resources.locale.back()->language = "de"; in BuildTestResources()
43 test_resources.locale.back()->region = "DE"; in BuildTestResources()
44 test_resources.locale.emplace_back(new LanguageTagT); in BuildTestResources()
45 test_resources.locale.back()->language = "fr"; in BuildTestResources()
46 test_resources.locale.back()->region = "FR"; in BuildTestResources()
47 test_resources.locale.emplace_back(new LanguageTagT); in BuildTestResources()
48 test_resources.locale.back()->language = "pt"; in BuildTestResources()
49 test_resources.locale.back()->region = "PT"; in BuildTestResources()
50 test_resources.locale.emplace_back(new LanguageTagT); in BuildTestResources()
51 test_resources.locale.back()->language = "pt"; in BuildTestResources()
52 test_resources.locale.emplace_back(new LanguageTagT); in BuildTestResources()
53 test_resources.locale.back()->language = "zh"; in BuildTestResources()
54 test_resources.locale.back()->script = "Hans"; in BuildTestResources()
55 test_resources.locale.back()->region = "CN"; in BuildTestResources()
56 test_resources.locale.emplace_back(new LanguageTagT); in BuildTestResources()
57 test_resources.locale.back()->language = "zh"; in BuildTestResources()
58 test_resources.locale.emplace_back(new LanguageTagT); in BuildTestResources()
59 test_resources.locale.back()->language = "fr"; in BuildTestResources()
60 test_resources.locale.back()->region = "CA"; in BuildTestResources()
61 test_resources.locale.emplace_back(new LanguageTagT); in BuildTestResources()
62 test_resources.locale.back()->language = "in"; in BuildTestResources()
64 test_resources.locale.emplace_back(new LanguageTagT); // default in BuildTestResources()
68 test_resources.resource_entry.emplace_back(new ResourceEntryT); in BuildTestResources()
69 test_resources.resource_entry.back()->name = /*resource_name=*/"A"; in BuildTestResources()
72 test_resources.resource_entry.back()->resource.emplace_back(new ResourceT); in BuildTestResources()
73 test_resources.resource_entry.back()->resource.back()->content = "localize"; in BuildTestResources()
74 test_resources.resource_entry.back()->resource.back()->locale.push_back(0); in BuildTestResources()
76 test_resources.resource_entry.back()->resource.back()->locale.push_back( in BuildTestResources()
81 test_resources.resource_entry.back()->resource.emplace_back(new ResourceT); in BuildTestResources()
82 test_resources.resource_entry.back()->resource.back()->content = "localise"; in BuildTestResources()
83 test_resources.resource_entry.back()->resource.back()->locale.push_back(1); in BuildTestResources()
86 test_resources.resource_entry.back()->resource.emplace_back(new ResourceT); in BuildTestResources()
87 test_resources.resource_entry.back()->resource.back()->content = in BuildTestResources()
89 test_resources.resource_entry.back()->resource.back()->locale.push_back(2); in BuildTestResources()
92 test_resources.resource_entry.back()->resource.emplace_back(new ResourceT); in BuildTestResources()
93 test_resources.resource_entry.back()->resource.back()->content = in BuildTestResources()
95 test_resources.resource_entry.back()->resource.back()->locale.push_back(3); in BuildTestResources()
96 test_resources.resource_entry.back()->resource.back()->locale.push_back(8); in BuildTestResources()
99 test_resources.resource_entry.back()->resource.emplace_back(new ResourceT); in BuildTestResources()
100 test_resources.resource_entry.back()->resource.back()->content = in BuildTestResources()
102 test_resources.resource_entry.back()->resource.back()->locale.push_back(4); in BuildTestResources()
105 test_resources.resource_entry.back()->resource.emplace_back(new ResourceT); in BuildTestResources()
106 test_resources.resource_entry.back()->resource.back()->content = in BuildTestResources()
108 test_resources.resource_entry.back()->resource.back()->locale.push_back(5); in BuildTestResources()
111 test_resources.resource_entry.back()->resource.emplace_back(new ResourceT); in BuildTestResources()
112 test_resources.resource_entry.back()->resource.back()->content = "龙"; in BuildTestResources()
113 test_resources.resource_entry.back()->resource.back()->locale.push_back(6); in BuildTestResources()
116 test_resources.resource_entry.back()->resource.emplace_back(new ResourceT); in BuildTestResources()
117 test_resources.resource_entry.back()->resource.back()->content = "龍"; in BuildTestResources()
118 test_resources.resource_entry.back()->resource.back()->locale.push_back(7); in BuildTestResources()
121 test_resources.resource_entry.back()->resource.emplace_back(new ResourceT); in BuildTestResources()
122 test_resources.resource_entry.back()->resource.back()->content = in BuildTestResources()
124 test_resources.resource_entry.back()->resource.back()->locale.push_back(9); in BuildTestResources()
127 builder.Finish(ResourcePool::Pack(builder, &test_resources)); in BuildTestResources()
136 std::string test_resources = BuildTestResources(); in TEST_F() local
138 flatbuffers::GetRoot<ResourcePool>(test_resources.data())); in TEST_F()
164 std::string test_resources = BuildTestResources(); in TEST_F() local
166 flatbuffers::GetRoot<ResourcePool>(test_resources.data())); in TEST_F()
176 std::string test_resources = in TEST_F() local
179 flatbuffers::GetRoot<ResourcePool>(test_resources.data())); in TEST_F()
185 std::string test_resources = in TEST_F() local
188 flatbuffers::GetRoot<ResourcePool>(test_resources.data())); in TEST_F()
198 std::string test_resources = BuildTestResources(); in TEST_F() local
200 flatbuffers::GetRoot<ResourcePool>(test_resources.data())); in TEST_F()
219 std::string test_resources = BuildTestResources(); in TEST_F() local
221 flatbuffers::GetRoot<ResourcePool>(test_resources.data())); in TEST_F()
254 std::string test_resources = BuildTestResources(); in TEST_F() local
256 flatbuffers::GetRoot<ResourcePool>(test_resources.data())); in TEST_F()
273 std::string test_resources = BuildTestResources(); in TEST_F() local
275 flatbuffers::GetRoot<ResourcePool>(test_resources.data())); in TEST_F()