Skip to content

Commit

Permalink
Add separate tests for persistant and wait flags
Browse files Browse the repository at this point in the history
  • Loading branch information
bacecek committed Apr 8, 2024
1 parent 790af29 commit b79853e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests/adbe_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,12 @@ def test_debug_app_clear():
_assert_success('debug-app clear')


def test_debug_app_set_fail():
_assert_fail('debug-app set %s' % _TEST_NON_EXISTANT_APP_ID)
def test_debug_app_set_wait():
_assert_success('debug-app set %s -w' % _TEST_APP_ID)


def test_debug_app_set_persistant():
_assert_success('debug-app set %s -p' % _TEST_APP_ID)


def _assert_fail(sub_cmd):
Expand Down Expand Up @@ -568,7 +572,8 @@ def main():
test_location()
test_debug_app_set()
test_debug_app_clear()
test_debug_app_set_fail()
test_debug_app_set_wait()
test_debug_app_set_persistant()
# TODO: Add a test for screen record after figuring out how to perform ^C while it is running.


Expand Down

0 comments on commit b79853e

Please sign in to comment.