testlistjson on the test results server doesn't understand hierarchical results format
authorojan@chromium.org <ojan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Nov 2011 22:00:45 +0000 (22:00 +0000)
committerojan@chromium.org <ojan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Nov 2011 22:00:45 +0000 (22:00 +0000)
commit25f9734fc58b29836377cb2c697b1ac943b65819
tree886293c858c2c85152f015c45d15b20bd9098663
parentb70a4b9da0ffd9ad10624035db0cbc10855fca35
testlistjson on the test results server doesn't understand hierarchical results format
https://bugs.webkit.org/show_bug.cgi?id=73246

Reviewed by Tony Chang.

* TestResultServer/model/jsonresults.py:
(JsonResults._delete_results_and_times):
Instead of just getting the top-level keys, we now walk the tests tree and
delete the results and times values.

* TestResultServer/model/jsonresults_unittest.py:
Simplify the test harness to take in the same JSON format for the tests
that the actual results.json uses instead of something very similar but
needlessly different. This also allows for testing the broken case of
results and times values being at non-leaf level.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@101280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestResultServer/model/jsonresults.py
Tools/TestResultServer/model/jsonresults_unittest.py