mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-19 12:15:52 +00:00
* assert is handled specially by the type checker so we don't want to have duplicate self.check / assert * The original reason for TestCase.check was to print the assertion message but this can be handled by checking for the AssertionError exception
15 lines
347 B
Python
15 lines
347 B
Python
import renderdoc as rd
|
|
import rdtest
|
|
|
|
|
|
class VK_Empty_Capture(rdtest.TestCase):
|
|
demos_test_name = 'VK_Empty_Capture'
|
|
demos_frame_cap = 100
|
|
|
|
def check_capture(self):
|
|
actions = self.controller.GetRootActions()
|
|
|
|
assert len(actions) == 1
|
|
assert 'End' in actions[0].customName
|
|
assert actions[0].eventId == 1
|