History log of /frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/CrashedDummyResult.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8a6def02473ee4fbffcd1b34173daf751d316202 17-Sep-2010 Steve Block <steveblock@google.com> Update DumpRenderTree2 to handle failing tests where no meaningful diff is available

Currently, DumpRenderTree2 asigns the following result codes
{PASS, FAIL_RESULT_DIFFERS, FAIL_NO_EXPECTED_RESULT, FAIL_TIMED_OUT,
FAIL_CRASHED}

This is not strictly correct, as a test may fail for any of three
reasons - crashing, timing out, or the the result not being as
expected. Therefore, it's possible for a test to fail even if the
result is as expected.

This patch updates AbstractResult to handle each of the three reasons
for failure separately. We then test all three to determine if the
test has passed.

This allows us to correctly report whether or not the result differs
from expected for a failing test.

Change-Id: I7adcfe72c4dd0bd3de2e1b868d9807be6eb5bddf
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/CrashedDummyResult.java
01c1f9d9e9e7ab3a40a9bf27195a434eb0c9bb9b 02-Sep-2010 Maksymilian Osowski <maxosowski@google.com> The results now show which expected result was used.

Bug: 2889857
Change-Id: If2b7e6e6a22ddb5db6c6a50a358e8f263914e6c0
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/CrashedDummyResult.java
23a0ee4758da5e2d24ec6c9e8a63c127463a096f 04-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added crash-detection mechanism.

Change-Id: Idb6501e94ffae5948de84241e46a618bc56554dd
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/CrashedDummyResult.java