Commit efa794f8 authored by keunyoung's avatar keunyoung
Browse files

change mechanism to report performance results

- For device side, use Instrumentation.sendStatus instead of exception
- Because of it, all tests need Instrumentation, and PtsAndroidTestCase is
  actually an ActivityInstrumentationTestCase with DummyActicity.
- In TF side, the result is passed as a test metrics.
- Host side tests uses static HashMap to store the result and retrieve it
  as the current stack does not have test metrics in host side.
- Key used is device_serial#class_name#method_name to make the storing unique to
  individual test case, and should be safe for concurrent runs

Change-Id: I254d72f2250d751f8e1e676e6dfe28837b4cd507
parent d173bbcb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment