Got standalone HTML test page working again.
This commit is contained in:
parent
34b479a1a4
commit
f9b3eff5ab
|
@ -8,36 +8,63 @@
|
||||||
<script type="text/javascript" src="../src/util.js"></script>
|
<script type="text/javascript" src="../src/util.js"></script>
|
||||||
<script type="text/javascript" src="../src/Env.js"></script>
|
<script type="text/javascript" src="../src/Env.js"></script>
|
||||||
<script type="text/javascript" src="../src/Reporter.js"></script>
|
<script type="text/javascript" src="../src/Reporter.js"></script>
|
||||||
|
<script type="text/javascript" src="../src/Block.js"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="../src/JsApiReporter.js"></script>
|
||||||
<script type="text/javascript" src="../src/Matchers.js"></script>
|
<script type="text/javascript" src="../src/Matchers.js"></script>
|
||||||
|
<script type="text/javascript" src="../src/mock-timeout.js"></script>
|
||||||
<script type="text/javascript" src="../src/MultiReporter.js"></script>
|
<script type="text/javascript" src="../src/MultiReporter.js"></script>
|
||||||
<script type="text/javascript" src="../src/NestedResults.js"></script>
|
<script type="text/javascript" src="../src/NestedResults.js"></script>
|
||||||
<script type="text/javascript" src="../src/PrettyPrinter.js"></script>
|
<script type="text/javascript" src="../src/PrettyPrinter.js"></script>
|
||||||
<script type="text/javascript" src="../src/Block.js"></script>
|
<script type="text/javascript" src="../src/Queue.js"></script>
|
||||||
<script type="text/javascript" src="../src/WaitsBlock.js"></script>
|
|
||||||
<script type="text/javascript" src="../src/WaitsForBlock.js"></script>
|
|
||||||
<script type="text/javascript" src="../src/Reporters.js"></script>
|
<script type="text/javascript" src="../src/Reporters.js"></script>
|
||||||
<script type="text/javascript" src="../src/Runner.js"></script>
|
<script type="text/javascript" src="../src/Runner.js"></script>
|
||||||
<script type="text/javascript" src="../src/Spec.js"></script>
|
<script type="text/javascript" src="../src/Spec.js"></script>
|
||||||
<script type="text/javascript" src="../src/Queue.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="../src/mock-timeout.js"></script>
|
<script type="text/javascript" src="../src/version.json"></script>
|
||||||
|
<script type="text/javascript" src="../src/WaitsBlock.js"></script>
|
||||||
|
<script type="text/javascript" src="../src/WaitsForBlock.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../lib/TrivialReporter.js"></script>
|
<script type="text/javascript" src="../lib/TrivialReporter.js"></script>
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
jasmine.include('suites/EnvSpec.js', true);
|
(function () {
|
||||||
jasmine.include('suites/ExceptionsSpec.js', true);
|
var suites = [
|
||||||
jasmine.include('suites/MatchersSpec.js', true);
|
'suites/SpySpec.js',
|
||||||
jasmine.include('suites/MultiReporterSpec.js', true);
|
'suites/JsApiReporterSpec.js',
|
||||||
jasmine.include('suites/NestedResultsSpec.js', true);
|
'suites/RunnerSpec.js',
|
||||||
jasmine.include('suites/PrettyPrintSpec.js', true);
|
'suites/EnvSpec.js',
|
||||||
jasmine.include('suites/ReporterSpec.js', true);
|
'suites/NestedResultsSpec.js',
|
||||||
jasmine.include('suites/RunnerSpec.js', true);
|
'suites/ExceptionsSpec.js',
|
||||||
jasmine.include('suites/SpecRunningSpec.js', true);
|
'suites/TrivialReporterSpec.js',
|
||||||
jasmine.include('suites/SpySpec.js', true);
|
'suites/MatchersSpec.js',
|
||||||
jasmine.include('suites/SuiteSpec.js', true);
|
'suites/ReporterSpec.js',
|
||||||
jasmine.include('suites/TrivialReporterSpec.js', true);
|
'suites/MultiReporterSpec.js',
|
||||||
|
'suites/PrettyPrintSpec.js',
|
||||||
|
'suites/SpecSpec.js',
|
||||||
|
'suites/SuiteSpec.js',
|
||||||
|
'suites/SpecRunningSpec.js',
|
||||||
|
];
|
||||||
|
for (var i = 0; i < suites.length; i++) {
|
||||||
|
jasmine.include(suites[i], true);
|
||||||
|
}
|
||||||
|
|
||||||
|
var jasmineEnv = jasmine.getEnv();
|
||||||
|
jasmineEnv.updateInterval = 1000;
|
||||||
|
|
||||||
|
var trivialReporter = new jasmine.TrivialReporter();
|
||||||
|
|
||||||
|
jasmineEnv.addReporter(trivialReporter);
|
||||||
|
|
||||||
|
jasmineEnv.specFilter = function(spec) {
|
||||||
|
return trivialReporter.specFilter(spec);
|
||||||
|
};
|
||||||
|
|
||||||
|
window.onload = function() {
|
||||||
|
jasmineEnv.execute();
|
||||||
|
};
|
||||||
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<link href="../lib/jasmine.css" rel="stylesheet"/>
|
<link href="../lib/jasmine.css" rel="stylesheet"/>
|
||||||
|
|
Loading…
Reference in New Issue