Leaflet/spec/runner.html

66 lines
2.1 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2010-09-02 21:14:25 +08:00
<html>
<head>
2012-06-30 18:13:02 +08:00
<title>Jasmine Spec Runner</title>
2012-02-26 00:57:28 +08:00
<link rel="stylesheet" type="text/css" href="jasmine/jasmine.css">
<script type="text/javascript" src="jasmine/jasmine.js"></script>
<script type="text/javascript" src="jasmine/jasmine-html.js"></script>
<!-- source files -->
2012-02-26 00:57:28 +08:00
2012-06-30 18:13:02 +08:00
<script type="text/javascript">
L = 'test'; //to test L#noConflict later
</script>
2012-02-26 00:57:28 +08:00
2012-06-30 18:13:02 +08:00
<script type="text/javascript" src="../debug/leaflet-include.js"></script>
2012-02-26 00:57:28 +08:00
2010-09-15 21:46:27 +08:00
<!-- spec files -->
2012-02-26 00:57:28 +08:00
2012-06-30 18:13:02 +08:00
<script type="text/javascript" src="suites/SpecHelper.js"></script>
<script type="text/javascript" src="suites/LeafletSpec.js"></script>
2012-02-26 00:57:28 +08:00
2012-06-30 18:13:02 +08:00
<!-- /core -->
<script type="text/javascript" src="suites/core/UtilSpec.js"></script>
<script type="text/javascript" src="suites/core/ClassSpec.js"></script>
<script type="text/javascript" src="suites/core/EventsSpec.js"></script>
2010-09-02 21:14:25 +08:00
2012-06-30 18:13:02 +08:00
<!-- /geometry -->
<script type="text/javascript" src="suites/geometry/PointSpec.js"></script>
<script type="text/javascript" src="suites/geometry/BoundsSpec.js"></script>
<script type="text/javascript" src="suites/geometry/TransformationSpec.js"></script>
2010-09-07 00:06:38 +08:00
2012-06-30 18:13:02 +08:00
<!-- /geo -->
<script type="text/javascript" src="suites/geo/LatLngSpec.js"></script>
<script type="text/javascript" src="suites/geo/LatLngBoundsSpec.js"></script>
<script type="text/javascript" src="suites/geo/ProjectionSpec.js"></script>
2012-06-30 18:13:02 +08:00
<!-- /dom -->
<script type="text/javascript" src="suites/dom/DomEventSpec.js"></script>
<script type="text/javascript" src="suites/dom/DomUtilSpec.js"></script>
2012-06-30 18:13:02 +08:00
<!-- /layer -->
<script type="text/javascript" src="suites/layer/TileLayerSpec.js"></script>
<script type="text/javascript" src="suites/layer/vector/PolylineGeometrySpec.js"></script>
2012-02-26 00:57:28 +08:00
2012-06-30 18:13:02 +08:00
<!-- /map -->
<script type="text/javascript" src="suites/map/MapSpec.js"></script>
2010-09-02 21:14:25 +08:00
</head>
<body>
2012-06-30 18:13:02 +08:00
<script type="text/javascript">
(function() {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 1000;
2010-09-02 21:14:25 +08:00
2012-06-30 18:13:02 +08:00
var htmlReporter = new jasmine.HtmlReporter();
jasmineEnv.addReporter(htmlReporter);
2010-09-02 21:14:25 +08:00
2012-06-30 18:13:02 +08:00
jasmineEnv.specFilter = function(spec) {
return htmlReporter.specFilter(spec);
};
jasmineEnv.execute();
})();
</script>
2010-09-02 21:14:25 +08:00
</body>
</html>