(tmp_path)
| 164 | assert isinstance(constant, Constant) |
| 165 | |
| 166 | def testVulkanObject(tmp_path): |
| 167 | SetOutputDirectory(tmp_path) |
| 168 | SetOutputFileName("test_vulkan_object_out.txt") |
| 169 | SetTargetApiName('vulkan') |
| 170 | SetMergedApiNames(None) |
| 171 | |
| 172 | generator = MyGenerator() |
| 173 | base_options = BaseGeneratorOptions() |
| 174 | reg = Registry(generator, base_options) |
| 175 | |
| 176 | xml_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'xml', 'vk.xml')) |
| 177 | tree = ElementTree.parse(xml_path) |
| 178 | reg.loadElementTree(tree) |
| 179 | reg.apiGen() |
| 180 | |
| 181 | def testVulkanObjectWithVideo(tmp_path): |
| 182 | SetOutputDirectory(tmp_path) |
nothing calls this directly
no test coverage detected