__init__.py |
|
140 |
instrumentation_parser.py |
An incremental parser for the output of Android instrumentation tests.
Example:
stream = adb.IterShell('am instrument -r ...')
parser = InstrumentationParser(stream)
for code, bundle in parser.IterStatus():
# do something with each instrumentation status
print('status:', code, bundle)
# do something with the final instrumentation result
code, bundle = parser.GetResult()
print('result:', code, bundle)
Args:
stream: a sequence of lines as produced by the raw output of an
instrumentation test (e.g. by |am instrument -r|).
|
3465 |
instrumentation_parser_test.py |
Unit tests for instrumentation.InstrumentationParser. |
4042 |
instrumentation_test_instance.py |
Generate test results from |statuses|.
Args:
result_code: The overall status code as an integer.
result_bundle: The summary bundle dump as a dict.
statuses: A list of 2-tuples containing:
- the status code as an integer
- the bundle dump as a dict mapping string keys to string values
Note that this is the same as the third item in the 3-tuple returned by
|_ParseAmInstrumentRawOutput|.
duration_ms: The duration of the test in milliseconds.
device_abi: The device_abi, which is needed for symbolization.
symbolizer: The symbolizer used to symbolize stack.
Returns:
A list containing an instance of InstrumentationTestResult for each test
parsed.
|
41637 |
instrumentation_test_instance_test.py |
Unit tests for instrumentation_test_instance. |
40768 |
json_perf_parser.py |
A helper module for parsing JSON objects from perf tests results. |
4355 |
render_test.html.jinja |
|
1109 |
test_result.py |
Result information for a single instrumentation test. |
1023 |