Fixed bootstrap tests
This commit is contained in:
parent
853f47e4aa
commit
ff5e1d337a
@ -5,7 +5,7 @@
|
|||||||
<title>Jasmine Tests</title>
|
<title>Jasmine Tests</title>
|
||||||
|
|
||||||
<script type="text/javascript" src="lib/json2.js"></script>
|
<script type="text/javascript" src="lib/json2.js"></script>
|
||||||
<script type="text/javascript" src="lib/mock-timeout.js"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript" src="../src/base.js"></script>
|
<script type="text/javascript" src="../src/base.js"></script>
|
||||||
<script type="text/javascript" src="../src/util.js"></script>
|
<script type="text/javascript" src="../src/util.js"></script>
|
||||||
@ -20,6 +20,7 @@
|
|||||||
<script type="text/javascript" src="../src/Spec.js"></script>
|
<script type="text/javascript" src="../src/Spec.js"></script>
|
||||||
<script type="text/javascript" src="../src/Suite.js"></script>
|
<script type="text/javascript" src="../src/Suite.js"></script>
|
||||||
<script type="text/javascript" src="../lib/json_reporter.js"></script>
|
<script type="text/javascript" src="../lib/json_reporter.js"></script>
|
||||||
|
<script type="text/javascript" src="lib/mock-timeout.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="bootstrap.js"></script>
|
<script type="text/javascript" src="bootstrap.js"></script>
|
||||||
|
|
||||||
|
19
spec/bootstrap.js
vendored
19
spec/bootstrap.js
vendored
@ -54,6 +54,7 @@ Reporter.prototype.summary = function () {
|
|||||||
var reporter = new Reporter();
|
var reporter = new Reporter();
|
||||||
|
|
||||||
function runSuite(filename) {
|
function runSuite(filename) {
|
||||||
|
console.log(filename);
|
||||||
var suite = jasmine.include(filename);
|
var suite = jasmine.include(filename);
|
||||||
suite.execute();
|
suite.execute();
|
||||||
emitSuiteResults(filename, suite);
|
emitSuiteResults(filename, suite);
|
||||||
@ -167,15 +168,15 @@ var testResultsAliasing = function () {
|
|||||||
var runTests = function () {
|
var runTests = function () {
|
||||||
document.getElementById('spinner').style.display = "";
|
document.getElementById('spinner').style.display = "";
|
||||||
|
|
||||||
runSuite('PrettyPrintTest.js');
|
runSuite('suites/PrettyPrintTest.js');
|
||||||
runSuite('MatchersTest.js');
|
runSuite('suites/MatchersTest.js');
|
||||||
runSuite('SpecRunningTest.js');
|
runSuite('suites/SpecRunningTest.js');
|
||||||
runSuite('NestedResultsTest.js');
|
runSuite('suites/NestedResultsTest.js');
|
||||||
runSuite('ReporterTest.js');
|
runSuite('suites/ReporterTest.js');
|
||||||
runSuite('RunnerTest.js');
|
runSuite('suites/RunnerTest.js');
|
||||||
runSuite('JsonReporterTest.js');
|
runSuite('suites/JsonReporterTest.js');
|
||||||
runSuite('SpyTest.js');
|
runSuite('suites/SpyTest.js');
|
||||||
runSuite('ExceptionsTest.js');
|
runSuite('suites/ExceptionsTest.js');
|
||||||
|
|
||||||
// testResultsAliasing(); // this appears to do nothing.
|
// testResultsAliasing(); // this appears to do nothing.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user