Add unit tests for measurement-set.js and measurement-adapter.js
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Mar 2016 02:50:46 +0000 (02:50 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Mar 2016 02:50:46 +0000 (02:50 +0000)
commitdb87841e1e40e9d7cad07a9186f4181312f1313d
tree18442bd07efe4bfcd8dc2f5b514967643a12d48e
parent5289fd04f2c75fa708f392a83eaca27b64ee0efb
Add unit tests for measurement-set.js and measurement-adapter.js
https://bugs.webkit.org/show_bug.cgi?id=155673

Reviewed by Daniel Bates.

Add tests which were supposed to be added in r198462.

* unit-tests/measurement-adaptor-tests.js: Added.
* unit-tests/measurement-set-tests.js: Added.
(assert.notReached): Added.
(global.RemoteAPI.getJSON): Added.
(global.RemoteAPI.getJSONWithStatus): Added. A mock.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/unit-tests/measurement-adaptor-tests.js [new file with mode: 0644]
Websites/perf.webkit.org/unit-tests/measurement-set-tests.js [new file with mode: 0644]