(bug 35769) Convert mediawiki.Uri test suite to QUnit
authorTimo Tijhof <ttijhof@wikimedia.org>
Sat, 14 Apr 2012 07:35:18 +0000 (09:35 +0200)
committerTimo Tijhof <ttijhof@wikimedia.org>
Sat, 14 Apr 2012 07:48:21 +0000 (09:48 +0200)
commit226d32217a013608410e222a7270c9816ca0b170
treeb4ff681bcc079067403f37a41106869ef8f6a2e5
parent26eae98f7f7fc543088c2a36d070687571ab89b6
(bug 35769) Convert mediawiki.Uri test suite to QUnit

- Converted ./tests/jasmine/spec/mediawiki.Uri.spec.js
  to ./tests/qunit/suites/resources/mediawiki/mediawiki.Uri.test.js

- expect('').toContain('') doesn't exist in QUnit, changed to
  ok(''.indexOf('') >= 0), which is what Jasmine does internally.

- Some of the Jasmine expects()'s didn't have descriptions, added those
  while at it.

- Cleaned up the 1 test that was already in QUnit added in
  2d84f3191a9ebf18bcc1b833fd6b7d3666f91f8e.

- Cleaned up SpecRunner.html

Change-Id: Id7b498888e22576e8ff0636725191624add470d6
tests/jasmine/SpecRunner.html
tests/jasmine/spec/mediawiki.Uri.spec.js [deleted file]
tests/qunit/suites/resources/mediawiki/mediawiki.Uri.test.js