Skip to content

Commit

Permalink
Close GH-850: Use qunitjs through npm.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlap authored and heff committed Dec 2, 2013
1 parent 3248bc1 commit 75b2171
Show file tree
Hide file tree
Showing 38 changed files with 12 additions and 5,253 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = function(grunt) {
},
tests: {
src: ['build/files/combined.video.js', 'build/compiler/goog.base.js', 'src/js/exports.js', 'test/unit/*.js', '!test/unit/api.js'],
externs: ['src/js/media/flash.externs.js', 'test/qunit/qunit-externs.js'],
externs: ['src/js/media/flash.externs.js', 'test/qunit-externs.js'],
dest: 'build/files/test.minified.video.js'
}
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"grunt-contrib-less": "~0.6.4",
"grunt-karma": "~0.4.4",
"karma-qunit": "~0.0.2",
"videojs-doc-generator": "0.0.1"
"videojs-doc-generator": "0.0.1",
"qunitjs": "~1.12.0"
},
"testling": {
"browsers": [
Expand Down
5 changes: 3 additions & 2 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<!--<![endif]-->

<!-- QUnit -->
<link rel="stylesheet" href="../test/qunit/qunit/qunit.css" />
<script src="../test/qunit/qunit/qunit.js"></script>
<link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css" />
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>

<!-- Video.js CSS -->
<link rel="stylesheet" href="../build/files/video-js.css" type="text/css">
Expand Down Expand Up @@ -67,6 +67,7 @@
<div>
<h1 id="qunit-header">Video.js Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"></div>
Expand Down
5 changes: 3 additions & 2 deletions test/minified-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Video.js Test Suite</title>

<!-- QUnit -->
<link rel="stylesheet" href="../test/qunit/qunit/qunit.css" />
<script src="../test/qunit/qunit/qunit.js"></script>
<link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css" />
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>

<!-- Video.js CSS -->
<link rel="stylesheet" href="../build/files/video-js.css" type="text/css">
Expand Down Expand Up @@ -38,6 +38,7 @@
<div>
<h1 id="qunit-header">Video.js Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"></div>
Expand Down
5 changes: 3 additions & 2 deletions test/minified.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Video.js Test Suite</title>

<!-- QUnit -->
<link rel="stylesheet" href="../test/qunit/qunit/qunit.css" />
<script src="../test/qunit/qunit/qunit.js"></script>
<link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css" />
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>

<!-- Video.js CSS -->
<link rel="stylesheet" href="../build/files/video-js.css" type="text/css">
Expand All @@ -22,6 +22,7 @@
<div>
<h1 id="qunit-header">Video.js Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"></div>
Expand Down
File renamed without changes.
7 changes: 0 additions & 7 deletions test/qunit/.gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions test/qunit/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions test/qunit/addons/canvas/README.md

This file was deleted.

76 changes: 0 additions & 76 deletions test/qunit/addons/canvas/canvas-test.js

This file was deleted.

19 changes: 0 additions & 19 deletions test/qunit/addons/canvas/canvas.html

This file was deleted.

6 changes: 0 additions & 6 deletions test/qunit/addons/canvas/qunit-canvas.js

This file was deleted.

17 changes: 0 additions & 17 deletions test/qunit/addons/close-enough/README.md

This file was deleted.

37 changes: 0 additions & 37 deletions test/qunit/addons/close-enough/close-enough-test.js

This file was deleted.

18 changes: 0 additions & 18 deletions test/qunit/addons/close-enough/close-enough.html

This file was deleted.

32 changes: 0 additions & 32 deletions test/qunit/addons/close-enough/qunit-close-enough.js

This file was deleted.

7 changes: 0 additions & 7 deletions test/qunit/addons/composite/README.md

This file was deleted.

33 changes: 0 additions & 33 deletions test/qunit/addons/composite/composite-demo-test.html

This file was deleted.

Loading

0 comments on commit 75b2171

Please sign in to comment.