qunit: Implement suppressWarnings/restoreWarnings
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 7 Apr 2014 18:43:19 +0000 (11:43 -0700)
committerKrinkle <krinklemail@gmail.com>
Tue, 8 Apr 2014 01:02:47 +0000 (01:02 +0000)
commit4c66b7fb91a1edd89001b5acc816430fe07773ef
tree0aaca9c742ab799a0b79d03d0f1bd4a6f31f4def
parent768c1872435a94ec936c982dd72cb0074b7ea6fc
qunit: Implement suppressWarnings/restoreWarnings

There are various tests triggering deprecation warnings because
they are testing deprecated functionality, on purpose.

Surpress these so that the logs aren't filled with false
positives in Jenkins.

Change-Id: I4bb546781a0c89999b2e5df7715abf492a44856d
tests/qunit/data/testrunner.js
tests/qunit/suites/resources/mediawiki.api/mediawiki.api.test.js
tests/qunit/suites/resources/mediawiki/mediawiki.test.js