2012-11-02 13:03:09 +08:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Jasmine Spec Runner</title>
|
|
|
|
|
|
|
|
<link rel="shortcut icon" type="image/png" href="lib/jasmine-1.2.0/jasmine_favicon.png">
|
|
|
|
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.2.0/jasmine.css">
|
|
|
|
<script type="text/javascript" src="lib/jasmine-1.2.0/jasmine.js"></script>
|
|
|
|
<script type="text/javascript" src="lib/jasmine-1.2.0/jasmine-html.js"></script>
|
|
|
|
|
2013-04-17 21:10:39 +08:00
|
|
|
<!-- include spec files here... -->
|
2012-11-02 13:03:09 +08:00
|
|
|
<script type="text/javascript" src="spec/SpecHelper.js"></script>
|
|
|
|
<script type="text/javascript" src="spec/PlayerSpec.js"></script>
|
|
|
|
|
2013-04-17 21:10:39 +08:00
|
|
|
<!-- include source files here... -->
|
2012-11-02 13:03:09 +08:00
|
|
|
<script type="text/javascript" src="src/Player.js"></script>
|
|
|
|
<script type="text/javascript" src="src/Song.js"></script>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
(function() {
|
|
|
|
var jasmineEnv = jasmine.getEnv();
|
|
|
|
jasmineEnv.updateInterval = 1000;
|
|
|
|
|
|
|
|
var htmlReporter = new jasmine.HtmlReporter();
|
|
|
|
|
|
|
|
jasmineEnv.addReporter(htmlReporter);
|
|
|
|
|
|
|
|
jasmineEnv.specFilter = function(spec) {
|
|
|
|
return htmlReporter.specFilter(spec);
|
|
|
|
};
|
|
|
|
|
|
|
|
var currentWindowOnload = window.onload;
|
|
|
|
|
|
|
|
window.onload = function() {
|
|
|
|
if (currentWindowOnload) {
|
|
|
|
currentWindowOnload();
|
|
|
|
}
|
|
|
|
execJasmine();
|
|
|
|
};
|
|
|
|
|
|
|
|
function execJasmine() {
|
|
|
|
jasmineEnv.execute();
|
|
|
|
}
|
|
|
|
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
</body>
|
|
|
|
</html>
|