Fix jasmine runners to work better with requirejs and join all specs in one
Change-Id: Id6b1de7c0bf87efa564db496c5dc4fb001f31c18
diff --git a/dev/js/runner/all.html b/dev/js/runner/all.html
new file mode 100644
index 0000000..78e2f19
--- /dev/null
+++ b/dev/js/runner/all.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Spec Runner for Kalamar</title>
+ <link rel="shortcut icon" type="image/png" href="../lib/jasmine-2.1.1/jasmine_favicon.png">
+ <link rel="stylesheet" href="../lib/jasmine-2.1.1/jasmine.css">
+ <script src="../lib/require.js"></script>
+ <!--
+ <script src="../lib/jasmine-2.1.1/jasmine.js"></script>
+ <script src="../lib/jasmine-2.1.1/jasmine-html.js"></script>
+ <script src="../lib/jasmine-2.1.1/boot.js"></script>
+ -->
+ <script>
+ require.config({
+ baseUrl: "../src",
+ paths: {
+ "lib" : "../lib",
+ "spec" : "../spec",
+ "jlib" : "lib/jasmine-2.1.1",
+ "jasmine" : ['../lib/jasmine-2.1.1/jasmine'],
+ "jasmine-html": ['../lib/jasmine-2.1.1/jasmine-html'],
+ "jasmine-boot": ['../lib/jasmine-2.1.1/boot']
+ },
+ shim : {
+ 'jasmine-html' : {
+ deps : ['jasmine']
+ },
+ 'jasmine-boot' : {
+ deps : ['jasmine','jasmine-html']
+ }
+ }
+ });
+
+ require(['jasmine-boot'], function () {
+ require([
+ 'spec/matchSpec',
+ 'spec/hintSpec',
+ 'spec/buttongroupSpec',
+ 'spec/datepickerSpec',
+ 'spec/menuSpec',
+ 'spec/selectMenuSpec',
+ 'spec/panelSpec',
+ 'spec/pluginSpec',
+ 'spec/queryCreatorSpec',
+ 'spec/statSpec',
+ //'spec/vcSpec'
+ ],
+ function () {
+ window.onload();
+ });
+ });
+ </script>
+ </head>
+ <body></body>
+</html>