(tmp_path)
| 179 | reg.apiGen() |
| 180 | |
| 181 | def testVulkanObjectWithVideo(tmp_path): |
| 182 | SetOutputDirectory(tmp_path) |
| 183 | SetOutputFileName("test_vulkan_object_with_video_out.txt") |
| 184 | SetTargetApiName('vulkan') |
| 185 | SetMergedApiNames(None) |
| 186 | |
| 187 | generator = MyGenerator() |
| 188 | base_options = BaseGeneratorOptions( |
| 189 | videoXmlPath = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'xml', 'video.xml'))) |
| 190 | reg = Registry(generator, base_options) |
| 191 | |
| 192 | xml_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'xml', 'vk.xml')) |
| 193 | tree = ElementTree.parse(xml_path) |
| 194 | reg.loadElementTree(tree) |
| 195 | |
| 196 | reg.apiGen() |
| 197 | |
| 198 | |
| 199 | def testVulkanObjectSC(tmp_path): |
nothing calls this directly
no test coverage detected