• Home
  • Raw
  • Download

Lines Matching full:env

36     FrameworkEnvironment env{};  in TEST()  local
37env.add_icd(TestICDDetails(TEST_ICD_PATH_EXPORT_NONE).set_discovery_type(ManifestDiscoveryType::en… in TEST()
39 InstWrapper inst{env.vulkan_functions}; in TEST()
42 ASSERT_EQ(env.get_test_icd(0).called_vk_icd_gipa, CalledICDGIPA::vk_gipa); in TEST()
48 FrameworkEnvironment env{}; in TEST() local
49env.add_icd(TestICDDetails(TEST_ICD_PATH_EXPORT_ICD_GIPA).set_discovery_type(ManifestDiscoveryType… in TEST()
51 InstWrapper inst{env.vulkan_functions}; in TEST()
54 ASSERT_EQ(env.get_test_icd(0).called_vk_icd_gipa, CalledICDGIPA::vk_icd_gipa); in TEST()
59 FrameworkEnvironment env{}; in TEST() local
60 env.add_icd( in TEST()
63 InstWrapper inst{env.vulkan_functions}; in TEST()
69 FrameworkEnvironment env{}; in TEST() local
70env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2).set_discovery_type(ManifestDiscoveryType::env_… in TEST()
72 InstWrapper inst{env.vulkan_functions}; in TEST()
75 ASSERT_EQ(env.get_test_icd(0).called_vk_icd_gipa, CalledICDGIPA::vk_icd_gipa); in TEST()
80 FrameworkEnvironment env{}; in TEST() local
81 env.add_icd(TestICDDetails(widen(TEST_ICD_PATH_VERSION_2_UNICODE)) in TEST()
85 InstWrapper inst{env.vulkan_functions}; in TEST()
88 ASSERT_EQ(env.get_test_icd(0).called_vk_icd_gipa, CalledICDGIPA::vk_icd_gipa); in TEST()
93 FrameworkEnvironment env{}; in TEST() local
94env.add_icd(TestICDDetails(TEST_ICD_PATH_EXPORT_NONE).set_discovery_type(ManifestDiscoveryType::en… in TEST()
95 env.get_test_icd(0).add_physical_device("pd0"); in TEST()
97 InstWrapper inst1{env.vulkan_functions}; in TEST()
98 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
101env.debug_log.find("Ignoring override VK_ICD_FILENAMES, VK_DRIVER_FILES, and VK_ADD_DRIVER_FILES d… in TEST()
109env.add_icd(TestICDDetails(TEST_ICD_PATH_EXPORT_NONE).set_discovery_type(ManifestDiscoveryType::en… in TEST()
114 env.debug_log.clear(); in TEST()
116 InstWrapper inst2{env.vulkan_functions}; in TEST()
117 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
124 env.debug_log.clear(); in TEST()
126 env.platform_shim->set_elevated_privilege(true); in TEST()
128 InstWrapper inst3{env.vulkan_functions}; in TEST()
129 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
132 EXPECT_TRUE(env.debug_log.find("vkCreateInstance: Found no drivers!")); in TEST()
134 env.platform_shim->set_elevated_privilege(false); in TEST()
139 FrameworkEnvironment env{}; in TEST() local
140env.add_icd(TestICDDetails(TEST_ICD_PATH_EXPORT_NONE).set_discovery_type(ManifestDiscoveryType::en… in TEST()
141 env.get_test_icd(0).add_physical_device("pd0"); in TEST()
143 InstWrapper inst1{env.vulkan_functions}; in TEST()
144 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
147env.debug_log.find("Ignoring override VK_ICD_FILENAMES, VK_DRIVER_FILES, and VK_ADD_DRIVER_FILES d… in TEST()
155env.add_icd(TestICDDetails(TEST_ICD_PATH_EXPORT_NONE).set_discovery_type(ManifestDiscoveryType::en… in TEST()
160 env.debug_log.clear(); in TEST()
162 InstWrapper inst2{env.vulkan_functions}; in TEST()
163 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
170 env.debug_log.clear(); in TEST()
172 env.platform_shim->set_elevated_privilege(true); in TEST()
174 InstWrapper inst3{env.vulkan_functions}; in TEST()
175 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
178 EXPECT_TRUE(env.debug_log.find("vkCreateInstance: Found no drivers!")); in TEST()
180 env.platform_shim->set_elevated_privilege(false); in TEST()
186 FrameworkEnvironment env{}; in TEST() local
187env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device("physica… in TEST()
190 InstWrapper inst{env.vulkan_functions}; in TEST()
213 FrameworkEnvironment env{}; in TEST() local
214env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device("physica… in TEST()
216 InstWrapper inst{env.vulkan_functions}; in TEST()
217 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
226 check_paths(env.debug_log, ManifestCategory::icd); in TEST()
227 check_paths(env.debug_log, ManifestCategory::implicit_layer); in TEST()
228 check_paths(env.debug_log, ManifestCategory::explicit_layer); in TEST()
237 FrameworkEnvironment env{}; in TEST() local
238env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device("physica… in TEST()
240 InstWrapper inst{env.vulkan_functions}; in TEST()
241 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
248 FrameworkEnvironment env{}; in TEST() local
249env.add_icd(TestICDDetails(TEST_ICD_PATH_EXPORT_NONE).set_discovery_type(ManifestDiscoveryType::ad… in TEST()
250 env.get_test_icd(0).physical_devices.emplace_back("pd0"); in TEST()
252 InstWrapper inst1{env.vulkan_functions}; in TEST()
253 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
261 env.platform_shim->set_elevated_privilege(true); in TEST()
263 InstWrapper inst2{env.vulkan_functions}; in TEST()
264 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
267 EXPECT_TRUE(env.debug_log.find("vkCreateInstance: Found no drivers!")); in TEST()
269 env.platform_shim->set_elevated_privilege(false); in TEST()
274 FrameworkEnvironment env{}; in TEST() local
277env.add_icd(TestICDDetails(TEST_ICD_PATH_EXPORT_NONE).set_discovery_type(ManifestDiscoveryType::en… in TEST()
278 env.get_test_icd(0).add_physical_device("pd0").add_physical_device("pd1"); in TEST()
280env.add_icd(TestICDDetails(TEST_ICD_PATH_EXPORT_NONE).set_discovery_type(ManifestDiscoveryType::ad… in TEST()
281 env.get_test_icd(0).add_physical_device("pd2"); in TEST()
283 InstWrapper inst{env.vulkan_functions}; in TEST()
296 FrameworkEnvironment env{}; in TEST() local
297env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device("physica… in TEST()
298env.platform_shim->redirect_path("/tmp/carol", env.get_folder(ManifestLocation::explicit_layer_env… in TEST()
301 env.add_explicit_layer( in TEST()
315 InstWrapper inst1{env.vulkan_functions}; in TEST()
317 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
321 EXPECT_TRUE(env.debug_log.find("/tmp/carol")); in TEST()
322 EXPECT_TRUE(env.debug_log.find("/tandy")); in TEST()
323 EXPECT_TRUE(env.debug_log.find((HOME / "/ with spaces/"))); in TEST()
325 env.debug_log.clear(); in TEST()
327 env.platform_shim->set_elevated_privilege(true); in TEST()
329 InstWrapper inst2{env.vulkan_functions}; in TEST()
331 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
334 EXPECT_FALSE(env.debug_log.find("/tmp/carol")); in TEST()
336 env.platform_shim->set_elevated_privilege(false); in TEST()
341 FrameworkEnvironment env{}; in TEST() local
342env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device("physica… in TEST()
343env.platform_shim->redirect_path("/tmp/carol", env.get_folder(ManifestLocation::explicit_layer_add… in TEST()
346 env.add_explicit_layer( in TEST()
361 InstWrapper inst1{env.vulkan_functions}; in TEST()
363 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
367 EXPECT_TRUE(env.debug_log.find("/tmp/carol")); in TEST()
368 EXPECT_TRUE(env.debug_log.find("/tandy")); in TEST()
369 EXPECT_TRUE(env.debug_log.find((HOME / "/ with spaces/"))); in TEST()
371 env.debug_log.clear(); in TEST()
373 env.platform_shim->set_elevated_privilege(true); in TEST()
375 InstWrapper inst2{env.vulkan_functions}; in TEST()
377 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
380 EXPECT_FALSE(env.debug_log.find("/tmp/carol")); in TEST()
382 env.platform_shim->set_elevated_privilege(false); in TEST()
387 FrameworkEnvironment env{}; in TEST() local
388env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device("physica… in TEST()
389env.platform_shim->redirect_path("/tmp/carol", env.get_folder(ManifestLocation::implicit_layer_env… in TEST()
392env.add_implicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
407 InstWrapper inst1{env.vulkan_functions}; in TEST()
408 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
415 EXPECT_TRUE(env.debug_log.find("/tmp/carol")); in TEST()
416 EXPECT_TRUE(env.debug_log.find("/tandy")); in TEST()
417 EXPECT_TRUE(env.debug_log.find((HOME / "/ with spaces/"))); in TEST()
419 env.debug_log.clear(); in TEST()
421 env.platform_shim->set_elevated_privilege(true); in TEST()
423 InstWrapper inst2{env.vulkan_functions}; in TEST()
424 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
430 EXPECT_FALSE(env.debug_log.find("/tmp/carol")); in TEST()
432 env.platform_shim->set_elevated_privilege(false); in TEST()
437 FrameworkEnvironment env{}; in TEST() local
438env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device("physica… in TEST()
439env.platform_shim->redirect_path("/tmp/carol", env.get_folder(ManifestLocation::implicit_layer_add… in TEST()
442env.add_implicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
458 InstWrapper inst1{env.vulkan_functions}; in TEST()
459 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
466 EXPECT_TRUE(env.debug_log.find("/tmp/carol")); in TEST()
467 EXPECT_TRUE(env.debug_log.find("/tandy")); in TEST()
468 EXPECT_TRUE(env.debug_log.find((HOME / "/ with spaces/"))); in TEST()
470 env.debug_log.clear(); in TEST()
472 env.platform_shim->set_elevated_privilege(true); in TEST()
474 InstWrapper inst2{env.vulkan_functions}; in TEST()
475 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
481 EXPECT_FALSE(env.debug_log.find("/tmp/carol")); in TEST()
483 env.platform_shim->set_elevated_privilege(false); in TEST()
490 FrameworkEnvironment env{}; in TEST() local
493env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_6).set_disable_icd_inc(true).set_json_name("ABC_I… in TEST()
494env.add_icd(TestICDDetails{TEST_ICD_PATH_VERSION_6, VK_API_VERSION_1_2}.set_disable_icd_inc(true).… in TEST()
495env.add_icd(TestICDDetails{TEST_ICD_PATH_VERSION_6, VK_API_VERSION_1_3}.set_disable_icd_inc(true).… in TEST()
497 InstWrapper inst1{env.vulkan_functions}; in TEST()
498 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
501 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
502 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
503 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
504 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
505 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
506 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
507 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
508 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
509 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
512 env.debug_log.clear(); in TEST()
515 InstWrapper inst2{env.vulkan_functions}; in TEST()
516 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
519 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
520 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
521 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
522 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
523 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected b… in TEST()
524 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
525 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
526 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected b… in TEST()
527 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
530 env.debug_log.clear(); in TEST()
533 InstWrapper inst3{env.vulkan_functions}; in TEST()
534 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
537 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
538 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
539 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
540 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
541 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected b… in TEST()
542 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
543 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
544 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected b… in TEST()
545 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
548 env.debug_log.clear(); in TEST()
551 InstWrapper inst4{env.vulkan_functions}; in TEST()
552 FillDebugUtilsCreateDetails(inst4.create_info, env.debug_log); in TEST()
555 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
556 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
557 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
558 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
559 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected b… in TEST()
560 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
561 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
562 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected b… in TEST()
563 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
566 env.debug_log.clear(); in TEST()
569 InstWrapper inst5{env.vulkan_functions}; in TEST()
570 FillDebugUtilsCreateDetails(inst5.create_info, env.debug_log); in TEST()
573 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
574 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
575 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
576 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
577 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
578 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
579 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
580 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected b… in TEST()
581 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
584 env.debug_log.clear(); in TEST()
587 InstWrapper inst6{env.vulkan_functions}; in TEST()
588 FillDebugUtilsCreateDetails(inst6.create_info, env.debug_log); in TEST()
591 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
592 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
593 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
594 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
595 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
596 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
597 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
598 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
599 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
602 env.debug_log.clear(); in TEST()
605 InstWrapper inst7{env.vulkan_functions}; in TEST()
606 FillDebugUtilsCreateDetails(inst7.create_info, env.debug_log); in TEST()
609 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
610 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
611 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
612 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
613 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
614 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
615 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
616 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
617 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
620 env.debug_log.clear(); in TEST()
623 InstWrapper inst8{env.vulkan_functions}; in TEST()
624 FillDebugUtilsCreateDetails(inst8.create_info, env.debug_log); in TEST()
627 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
628 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected b… in TEST()
629 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
630 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
631 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected b… in TEST()
632 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
633 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
634 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected b… in TEST()
635 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
640 FrameworkEnvironment env{}; in TEST() local
643env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_6).set_disable_icd_inc(true).set_json_name("ABC_I… in TEST()
644env.add_icd(TestICDDetails{TEST_ICD_PATH_VERSION_6, VK_API_VERSION_1_2}.set_disable_icd_inc(true).… in TEST()
645env.add_icd(TestICDDetails{TEST_ICD_PATH_VERSION_6, VK_API_VERSION_1_3}.set_disable_icd_inc(true).… in TEST()
647 InstWrapper inst1{env.vulkan_functions}; in TEST()
648 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
651 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
652 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
653 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
654 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
655 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
656 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
657 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
658 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
659 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
662 env.debug_log.clear(); in TEST()
665 InstWrapper inst2{env.vulkan_functions}; in TEST()
666 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
669 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
670 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
671 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disable… in TEST()
672 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
673 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
674 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
675 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
676 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
677 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
680 env.debug_log.clear(); in TEST()
683 InstWrapper inst3{env.vulkan_functions}; in TEST()
684 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
687 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
688 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
689 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disable… in TEST()
690 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
691 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
692 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
693 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
694 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
695 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
698 env.debug_log.clear(); in TEST()
701 InstWrapper inst4{env.vulkan_functions}; in TEST()
702 FillDebugUtilsCreateDetails(inst4.create_info, env.debug_log); in TEST()
705 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
706 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
707 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disable… in TEST()
708 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
709 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
710 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
711 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
712 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
713 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
716 env.debug_log.clear(); in TEST()
719 InstWrapper inst5{env.vulkan_functions}; in TEST()
720 FillDebugUtilsCreateDetails(inst5.create_info, env.debug_log); in TEST()
723 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
724 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
725 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disable… in TEST()
726 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
727 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
728 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disable… in TEST()
729 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
730 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
731 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
734 env.debug_log.clear(); in TEST()
737 InstWrapper inst6{env.vulkan_functions}; in TEST()
738 FillDebugUtilsCreateDetails(inst6.create_info, env.debug_log); in TEST()
741 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
742 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
743 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disable… in TEST()
744 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
745 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
746 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disable… in TEST()
747 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
748 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
749 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disable… in TEST()
752 env.debug_log.clear(); in TEST()
755 InstWrapper inst7{env.vulkan_functions}; in TEST()
756 FillDebugUtilsCreateDetails(inst7.create_info, env.debug_log); in TEST()
759 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
760 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
761 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disable… in TEST()
762 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
763 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
764 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disable… in TEST()
765 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
766 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
767 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disable… in TEST()
773 FrameworkEnvironment env{}; in TEST() local
777env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_6).set_disable_icd_inc(true).set_json_name("ABC_I… in TEST()
778env.add_icd(TestICDDetails{TEST_ICD_PATH_VERSION_6, VK_API_VERSION_1_2}.set_disable_icd_inc(true).… in TEST()
779env.add_icd(TestICDDetails{TEST_ICD_PATH_VERSION_6, VK_API_VERSION_1_3}.set_disable_icd_inc(true).… in TEST()
781 InstWrapper inst1{env.vulkan_functions}; in TEST()
782 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
785 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
786 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
787 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
788 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
789 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
790 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
791 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
792 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
793 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
796 env.debug_log.clear(); in TEST()
800 InstWrapper inst2{env.vulkan_functions}; in TEST()
801 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
804 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
805 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
806 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disable… in TEST()
807 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
808 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
809 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
810 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
811 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected b… in TEST()
812 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()
815 env.debug_log.clear(); in TEST()
819 InstWrapper inst3{env.vulkan_functions}; in TEST()
820 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
823 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
824 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
825 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
826 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
827 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
828 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
829 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
830 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
831 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disable… in TEST()
834 env.debug_log.clear(); in TEST()
838 InstWrapper inst4{env.vulkan_functions}; in TEST()
839 FillDebugUtilsCreateDetails(inst4.create_info, env.debug_log); in TEST()
842 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST()
843 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because not selected … in TEST()
844 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("ABC_ICD.json", "ignored because it was disabl… in TEST()
845 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST()
846 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because not selected … in TEST()
847 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("BCD_ICD.json", "ignored because it was disabl… in TEST()
848 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST()
849 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because not selected … in TEST()
850 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("CDE_ICD.json", "ignored because it was disabl… in TEST()