Skip to content

Commit

Permalink
Test harness in place
Browse files Browse the repository at this point in the history
  • Loading branch information
gdovicak committed Jan 15, 2014
1 parent 3d8e77e commit 853dc5f
Show file tree
Hide file tree
Showing 11 changed files with 3,876 additions and 0 deletions.
50 changes: 50 additions & 0 deletions SpecRunner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!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="jasmine-1.3.1/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="jasmine-1.3.1/jasmine.css">
<script type="text/javascript" src="jasmine-1.3.1/jasmine.js"></script>
<script type="text/javascript" src="jasmine-1.3.1/jasmine-html.js"></script>
<script type="text/javascript" src="jquery.min.js"></script>

<!-- include source files here... -->
<script type="text/javascript" src="spec/OrgUserRoleSpec.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>
Binary file added jasmine-1.3.1/.DS_Store
Binary file not shown.
Loading

0 comments on commit 853dc5f

Please sign in to comment.