summaryrefslogtreecommitdiffstats
path: root/spec/index.html
blob: 2dd41b2e68c240cda540e7de470067750fddfc75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!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.3.1/jasmine_favicon.png">
  <link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.1/jasmine.css">
  
  <style type="text/css" media="screen">
    #drawing {
      width: 500px;
      height: 500px;
      position: fixed;
      z-index: -1;
    }
  </style>

</head>

<body>
</body>

<script type="text/javascript" src="lib/jasmine-1.3.1/jasmine.js"></script>
<script type="text/javascript" src="lib/jasmine-1.3.1/jasmine-html.js"></script>

<!-- include source files here... -->
<script src="../dist/svg.js" type="text/javascript" charset="utf-8"></script>

<!-- include spec files here... -->
<script type="text/javascript" src="spec/svg.js"></script>
<script type="text/javascript" src="spec/selector.js"></script>
<script type="text/javascript" src="spec/regex.js"></script>
<script type="text/javascript" src="spec/container.js"></script>
<script type="text/javascript" src="spec/element.js"></script>
<script type="text/javascript" src="spec/memory.js"></script>
<script type="text/javascript" src="spec/arrange.js"></script>
<script type="text/javascript" src="spec/bbox.js"></script>
<script type="text/javascript" src="spec/rect.js"></script>
<script type="text/javascript" src="spec/ellipse.js"></script>
<script type="text/javascript" src="spec/line.js"></script>
<script type="text/javascript" src="spec/polyline.js"></script>
<script type="text/javascript" src="spec/polygon.js"></script>
<script type="text/javascript" src="spec/path.js"></script>
<script type="text/javascript" src="spec/marker.js"></script>
<script type="text/javascript" src="spec/image.js"></script>
<script type="text/javascript" src="spec/text.js"></script>
<script type="text/javascript" src="spec/textpath.js"></script>
<script type="text/javascript" src="spec/doc.js"></script>
<script type="text/javascript" src="spec/defs.js"></script>
<script type="text/javascript" src="spec/group.js"></script>
<script type="text/javascript" src="spec/set.js"></script>
<script type="text/javascript" src="spec/gradient.js"></script>
<script type="text/javascript" src="spec/pattern.js"></script>
<script type="text/javascript" src="spec/use.js"></script>
<script type="text/javascript" src="spec/symbol.js"></script>
<script type="text/javascript" src="spec/mask.js"></script>
<script type="text/javascript" src="spec/clip.js"></script>
<script type="text/javascript" src="spec/color.js"></script>
<script type="text/javascript" src="spec/number.js"></script>
<script type="text/javascript" src="spec/array.js"></script>
<script type="text/javascript" src="spec/hyperlink.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>

<script type="text/javascript" src="spec/helper.js"></script>

</html>