Lines Matching full:std
17 using namespace std::string_literals;
21 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST()
24 std::vector<std::string> compatibleSystem{"system-foo"s}, extensions; in TEST()
29 EXPECT_EQ(extensions, std::vector<std::string>{".EXT"s}); in TEST()
34 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST()
37 std::vector<std::string> compatibleSystem{"system-foo"s}, in TEST()
43 EXPECT_EQ(extensions, std::vector<std::string>{"foo"s}); in TEST()
48 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST()
52 std::vector<std::string> compatibleSystem{"system-foo"s}, in TEST()
58 EXPECT_EQ(extensions, std::vector<std::string>{".FOO"s}); in TEST()
63 std::map<std::string, std::vector<std::string>> extensionMap; in TEST()
64 std::vector<std::string> compatibleSystem{"system-foo"s}, in TEST()
70 EXPECT_EQ(extensions, std::vector<std::string>{"foo"s}); in TEST()
75 std::map<std::string, std::vector<std::string>> extensionMap; in TEST()
76 std::vector<std::string> compatibleSystem, extensions{"foo"s}; in TEST()
81 EXPECT_EQ(extensions, std::vector<std::string>{"foo"s}); in TEST()
86 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST()
90 std::vector<std::string> compatibleSystem{"system-foo"s, "system"}, in TEST()
96 EXPECT_EQ(extensions, std::vector<std::string>{".FOO"s}); in TEST()
101 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST()
105 std::vector<std::string> compatibleSystem{"system-foo"s, "system-bar"}, in TEST()
111 EXPECT_EQ(extensions, std::vector<std::string>{".FOO"s}); in TEST()
116 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST()
120 std::vector<std::string> compatibleSystem{"system-foo"s, "system-bar"}, in TEST()
126 EXPECT_EQ(extensions, std::vector<std::string>{".FOO"s}); in TEST()
131 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST()
135 std::vector<std::string> compatibleSystem{"system-bar", "system-foo"s}, in TEST()
141 EXPECT_EQ(extensions, std::vector<std::string>{".BAR"s}); in TEST()
146 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST()
150 std::vector<std::string> compatibleSystem{"system-bar", "system-foo"s}, in TEST()
156 EXPECT_EQ(extensions, std::vector<std::string>{".BAR"s}); in TEST()
163 std::map<std::string, in TEST()
164 std::map<std::string, std::variant<std::vector<std::string>>>> in TEST()
166 {"foo"s, {{"bar"s, std::vector<std::string>{"foo"s}}}}, in TEST()
169 interfaces, std::move(callback)); in TEST()
177 std::vector<std::string> sys; in TEST()
182 std::map<std::string, in TEST()
183 std::map<std::string, std::variant<std::vector<std::string>>>> in TEST()
186 {{"Names"s, std::vector<std::string>{"foo"s}}}}, in TEST()
189 interfaces, std::move(callback)); in TEST()
192 EXPECT_EQ(sys, std::vector<std::string>{"foo"s}); in TEST()
199 std::map<std::string, in TEST()
200 std::map<std::string, std::variant<std::vector<std::string>>>> in TEST()
205 interfaces, std::move(callback)); in TEST()
212 std::map<std::string, in TEST()
213 std::map<std::string, std::variant<std::vector<std::string>>>> in TEST()
216 {{"Names"s, std::vector<std::string>{"foo"s}}}}, in TEST()
219 interfaces, std::function<void(std::vector<std::string>)>()); in TEST()
225 std::map<std::string, in TEST()
226 std::map<std::string, std::variant<std::vector<std::string>>>> in TEST()
228 {"foo"s, {{"Names"s, std::vector<std::string>{"foo"s}}}}, in TEST()
231 interfaces, std::function<void(std::vector<std::string>)>()); in TEST()
239 std::map<std::string, in TEST()
240 std::map<std::string, std::variant<std::vector<std::string>>>> in TEST()
243 interfaces, std::move(callback)); in TEST()
250 std::map<std::string, in TEST()
251 std::map<std::string, std::variant<std::vector<std::string>>>> in TEST()
254 interfaces, std::function<void(std::vector<std::string>)>()); in TEST()
260 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST()
261 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
264 std::filesystem::path linkPath = workdir / "link"; in TEST()
265 std::filesystem::path targetPath = workdir / "target"; in TEST()
266 std::ofstream link{linkPath}; in TEST()
269 std::filesystem::remove_all(workdir); in TEST()
275 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST()
276 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
281 std::ofstream link{linkPath}, target{targetPath}; in TEST()
284 std::filesystem::remove_all(workdir); in TEST()
290 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST()
291 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
292 std::error_code ec; in TEST()
293 std::filesystem::path callbackPath; in TEST()
299 std::filesystem::create_directory(targetPath); in TEST()
302 std::ofstream link{linkPath}, file{filePath}; in TEST()
305 std::filesystem::remove_all(workdir); in TEST()
312 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST()
313 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
314 std::error_code ec; in TEST()
315 std::filesystem::path callbackPath; in TEST()
324 std::filesystem::remove_all(workdir); in TEST()
331 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST()
332 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
342 std::vector<std::string> extensions; in TEST()
345 std::filesystem::remove_all(workdir); in TEST()
352 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST()
353 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
354 std::filesystem::path callbackPath, callbackLink; in TEST()
367 std::ofstream file{filePath}; in TEST()
368 std::vector<std::string> extensions{".foo"s}; in TEST()
371 std::filesystem::remove_all(workdir); in TEST()
379 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST()
380 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
381 std::filesystem::path callbackPath, callbackLink; in TEST()
392 std::ofstream file{filePath}; in TEST()
393 std::vector<std::string> extensions; in TEST()
396 std::filesystem::remove_all(workdir); in TEST()
403 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST()
404 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
406 std::error_code ec; in TEST()
408 std::filesystem::path callbackPath; in TEST()
417 std::vector<std::string> extensions; in TEST()
421 std::filesystem::remove_all(workdir); in TEST()
429 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST()
430 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
433 std::filesystem::path callbackPath; in TEST()
437 std::ofstream file{filePath}; in TEST()
439 std::vector<std::string> extensions{".foo"s}; in TEST()
443 std::filesystem::remove_all(workdir); in TEST()
450 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST()
451 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
458 std::vector<std::string> extensions; in TEST()
463 std::filesystem::remove_all(workdir); in TEST()