Home
last modified time | relevance | path

Searched refs:parse_optional_args (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/startop/scripts/app_startup/
Dapp_startup_runner_test.py108 def parse_optional_args(str): function
135 assert parse_optional_args("--output filename.csv") == mad(output='filename.csv')
136 assert parse_optional_args("-o filename.csv") == mad(output='filename.csv')
138 assert parse_optional_args("--timeout 123") == mad(timeout=123)
139 assert parse_optional_args("-t 456") == mad(timeout=456)
141 assert parse_optional_args("--loop-count 123") == mad(loop_count=123)
142 assert parse_optional_args("-lc 456") == mad(loop_count=456)
144 assert parse_optional_args("--inodes bar") == mad(inodes="bar")
145 assert parse_optional_args("-in baz") == mad(inodes="baz")