registry test update

This commit is contained in:
guybedford
2014-05-19 14:49:41 -07:00
parent 82565e7343
commit 158e202d3a
6 changed files with 322 additions and 52 deletions
+286 -36
View File
@@ -1,39 +1,289 @@
System.paths['tests/*'] = 'tests/*.js';
System.paths['npm:*'] = 'jspm_packages/npm/*.js';
System.paths['github:*'] = 'jspm_packages/github/*.js';
System.map = {
'mocha': 'npm:mocha@^1.17.1',
'text': 'github:systemjs/plugin-text@master',
'bootstrap': 'github:twbs/bootstrap@^3.1.1',
'css': 'github:systemjs/plugin-css@master',
'jquery': 'npm:jquery@^2.1.0',
'd3': 'github:mbostock/d3@^3.4.1',
'angular': 'github:angular/bower-angular@^1.2.13',
'npm:mocha@1.17.1': {
'css': 'github:systemjs/plugin-css@master'
},
'github:jspm/nodelibs@0.0.2': {
'inherits': 'npm:inherits@^2.0.1',
'ieee754': 'npm:ieee754@^1.1.1',
'Base64': 'npm:Base64@^0.2.0',
'base64-js': 'npm:base64-js@^0.0.4'
System.config({
"paths": {
"tests/*": "tests/*.js",
"npm:*": "jspm_packages/npm/*.js",
"github:*": "jspm_packages/github/*.js"
}
};
});
System.versions = {
'github:angular/bower-angular': '1.2.13',
'npm:mocha': '1.17.1',
'github:systemjs/plugin-css': 'master',
'github:systemjs/plugin-text': 'master',
'github:twbs/bootstrap': '3.1.1',
'npm:jquery': '2.1.0',
'github:jspm/nodelibs': '0.0.2',
'npm:inherits': '2.0.1',
'npm:ieee754': '1.1.2',
'npm:Base64': '0.2.0',
'npm:base64-js': '0.0.4',
'github:mbostock/d3': '3.4.1'
};
System.config({
"map": {
"npm:voxel-demo": "npm:voxel-demo@^0.0.1",
"css": "github:systemjs/plugin-css@master",
"mocha": "npm:mocha@^1.17.1",
"text": "github:systemjs/plugin-text@master",
"jquery": "github:components/jquery@^2.1.0",
"npm:voxel-demo@0.0.1": {
"gl-vao": "npm:gl-vao@0.0",
"gl-buffer": "npm:gl-buffer@0.1",
"gl-tile-map": "npm:gl-tile-map@0.3",
"gl-now": "npm:gl-now@0.0",
"gl-matrix": "npm:gl-matrix@2.0",
"ndarray-fill": "npm:ndarray-fill@0.1",
"ndarray": "npm:ndarray@1.0",
"ao-shader": "npm:ao-shader@0.2",
"ao-mesher": "npm:ao-mesher@0.2",
"ndarray-ops": "npm:ndarray-ops@1.1",
"gl-shader": "npm:gl-shader@0.0.6"
},
"d3": "github:mbostock/d3@^3.4.6",
"npm:ao-mesher@0.2.10": {
"ndarray": "npm:ndarray@^1.0.1",
"greedy-mesher": "npm:greedy-mesher@1.0",
"typedarray-pool": "npm:typedarray-pool@^0.1.1",
"cwise-compiler": "npm:cwise-compiler@0.1"
},
"angular": "github:angular/bower-angular@^1.2.13",
"npm:gl-tile-map@0.3.0": {
"ndarray": "npm:ndarray@^1.0.3",
"webglew": "npm:webglew@0.0",
"gl-texture2d": "npm:gl-texture2d@^0.1.2",
"tile-mip-map": "npm:tile-mip-map@0.2"
},
"npm:webglew@0.0.0": {},
"npm:tile-mip-map@0.2.1": {
"ndarray": "npm:ndarray@^1.0.3",
"ndarray-ops": "npm:ndarray-ops@1.1",
"ndarray-downsample2x": "npm:ndarray-downsample2x@0.1"
},
"npm:ndarray-fill@0.1.0": {
"cwise": "npm:cwise@^0.3.2"
},
"npm:gl-vao@0.0.3": {
"webglew": "npm:webglew@0.0"
},
"npm:gl-buffer@0.1.2": {
"ndarray-ops": "npm:ndarray-ops@^1.1.0",
"typedarray-pool": "npm:typedarray-pool@^0.1.1",
"ndarray": "npm:ndarray@^1.0.10"
},
"npm:ndarray@1.0.14": {
"iota-array": "npm:iota-array@1"
},
"npm:mocha@1.19.0": {
"css": "github:systemjs/plugin-css@master"
},
"bootstrap": "github:twbs/bootstrap@^3.1.1",
"npm:gl-now@0.0.4": {
"webglew": "npm:webglew@0.0",
"game-shell": "npm:game-shell@^0.1.3"
},
"npm:ao-shader@0.2.3": {
"gl-shader": "npm:gl-shader@^0.0.5",
"brfs": "npm:brfs@^0.0.5"
},
"npm:ndarray-ops@1.1.1": {
"cwise-compiler": "npm:cwise-compiler@0.0"
},
"npm:gl-shader@0.0.6": {
"uniq": "npm:uniq@^0.0.2",
"glsl-exports": "npm:glsl-exports@0.0"
},
"npm:gl-matrix@2.0.0": {},
"npm:gl-texture2d@0.1.12": {
"webglew": "npm:webglew@^0.0.0",
"ndarray": "npm:ndarray@^1.0.10",
"ndarray-ops": "npm:ndarray-ops@^1.1.0",
"cwise-compiler": "npm:cwise-compiler@0.1",
"typedarray-pool": "npm:typedarray-pool@1",
"bit-twiddle": "npm:bit-twiddle@^0.0.2"
},
"npm:iota-array@1.0.0": {},
"npm:cwise@0.3.4": {
"cwise-compiler": "npm:cwise-compiler@0.0",
"cwise-parser": "npm:cwise-parser@^0.0.1"
},
"npm:gl-shader@0.0.5": {
"uniq": "npm:uniq@^0.0.2",
"glsl-exports": "npm:glsl-exports@0.0"
},
"npm:typedarray-pool@0.1.2": {
"dup": "npm:dup@0.0",
"bit-twiddle": "npm:bit-twiddle@^0.0.2"
},
"npm:greedy-mesher@1.0.2": {
"typedarray-pool": "npm:typedarray-pool@1",
"iota-array": "npm:iota-array@1",
"uniq": "npm:uniq@1"
},
"npm:uniq@0.0.2": {},
"npm:cwise-compiler@0.0.0": {
"uniq": "npm:uniq@^0.0.2"
},
"npm:cwise-compiler@0.1.0": {
"uniq": "npm:uniq@^0.0.2"
},
"npm:glsl-exports@0.0.0": {
"glsl-parser": "npm:glsl-parser@^0.0.5",
"through": "npm:through@^2.3.4",
"glsl-tokenizer": "npm:glsl-tokenizer@^0.0.8"
},
"npm:game-shell@0.1.4": {
"uniq": "npm:uniq@^0.0.2",
"iota-array": "npm:iota-array@0.0",
"lower-bound": "npm:lower-bound@^0.0.1",
"invert-hash": "npm:invert-hash@0.0",
"domready": "npm:domready@^0.2.11",
"vkey": "npm:vkey@^0.0.2"
},
"npm:brfs@0.0.5": {
"through": "npm:through@2.2",
"falafel": "npm:falafel@^0.1.6",
"escodegen": "npm:escodegen@0.0.17"
},
"npm:typedarray-pool@1.0.1": {
"bit-twiddle": "npm:bit-twiddle@1",
"dup": "npm:dup@1"
},
"npm:ndarray-downsample2x@0.1.1": {
"ndarray-ops": "npm:ndarray-ops@1.1",
"cwise": "npm:cwise@^0.3.3",
"ndarray-scratch": "npm:ndarray-scratch@^0.0.1",
"ndarray-fft": "npm:ndarray-fft@0.1"
},
"npm:bit-twiddle@0.0.2": {},
"npm:uniq@1.0.0": {},
"npm:dup@0.0.0": {},
"npm:cwise-parser@0.0.1": {
"uniq": "npm:uniq@^0.0.2",
"esprima": "npm:esprima@^1.0.3"
},
"npm:iota-array@0.0.1": {},
"npm:bit-twiddle@1.0.1": {},
"npm:dup@1.0.0": {},
"npm:glsl-parser@0.0.5": {
"glsl-tokenizer": "npm:glsl-tokenizer@^0.0.2",
"through": "npm:through@^1.1.2"
},
"npm:lower-bound@0.0.1": {},
"npm:through@2.3.4": {},
"npm:glsl-tokenizer@0.0.8": {
"through": "npm:through@^2.3.4"
},
"npm:vkey@0.0.2": {},
"npm:invert-hash@0.0.0": {},
"npm:ndarray-scratch@0.0.1": {
"ndarray": "npm:ndarray@^1.0.3",
"typedarray-pool": "npm:typedarray-pool@^0.1.1"
},
"npm:ndarray-fft@0.1.0": {
"bit-twiddle": "npm:bit-twiddle@^0.0.2",
"ndarray": "npm:ndarray@1.0",
"ndarray-ops": "npm:ndarray-ops@1.1",
"cwise": "npm:cwise@^0.3.2",
"typedarray-pool": "npm:typedarray-pool@^0.1.1"
},
"npm:domready@0.2.13": {},
"npm:through@2.2.7": {},
"npm:falafel@0.1.6": {
"esprima": "npm:esprima@^1.0.2"
},
"npm:glsl-tokenizer@0.0.2": {},
"npm:through@1.1.2": {},
"npm:escodegen@0.0.17": {
"esprima": "npm:esprima@^1.0.2",
"estraverse": "npm:estraverse@^0.0.4"
},
"npm:estraverse@0.0.4": {},
"github:jspm/nodelibs@0.0.2": {
"Base64": "npm:Base64@0.2",
"inherits": "npm:inherits@^2.0.1",
"ieee754": "npm:ieee754@^1.1.1",
"base64-js": "npm:base64-js@^0.0.4",
"json": "github:systemjs/plugin-json@master"
},
"npm:esprima@1.2.2": {},
"npm:base64-js@0.0.4": {},
"npm:inherits@2.0.1": {},
"npm:ieee754@1.1.3": {},
"npm:Base64@0.2.1": {}
}
});
System.config({
"versions": {
"npm:voxel-demo": "0.0.1",
"github:systemjs/plugin-css": "master",
"npm:mocha": "1.19.0",
"github:systemjs/plugin-text": "master",
"github:components/jquery": "2.1.0",
"npm:gl-vao": "0.0.3",
"npm:gl-buffer": "0.1.2",
"npm:gl-tile-map": "0.3.0",
"npm:gl-now": "0.0.4",
"npm:gl-matrix": "2.0.0",
"github:mbostock/d3": "3.4.8",
"npm:ndarray-fill": "0.1.0",
"npm:ndarray": "1.0.14",
"npm:ao-shader": "0.2.3",
"npm:ao-mesher": "0.2.10",
"npm:ndarray-ops": "1.1.1",
"npm:gl-shader": [
"0.0.6",
"0.0.5"
],
"github:jspm/nodelibs": "0.0.2",
"npm:webglew": "0.0.0",
"npm:gl-texture2d": "0.1.12",
"npm:tile-mip-map": "0.2.1",
"npm:cwise": "0.3.4",
"npm:iota-array": [
"1.0.0",
"0.0.1"
],
"npm:typedarray-pool": [
"0.1.2",
"1.0.1"
],
"github:angular/bower-angular": "1.2.16",
"npm:greedy-mesher": "1.0.2",
"npm:game-shell": "0.1.4",
"npm:cwise-compiler": [
"0.0.0",
"0.1.0"
],
"github:twbs/bootstrap": "3.1.1",
"npm:uniq": [
"0.0.2",
"1.0.0"
],
"npm:brfs": "0.0.5",
"npm:glsl-exports": "0.0.0",
"npm:ndarray-downsample2x": "0.1.1",
"npm:bit-twiddle": [
"0.0.2",
"1.0.1"
],
"npm:dup": [
"0.0.0",
"1.0.0"
],
"npm:cwise-parser": "0.0.1",
"npm:glsl-parser": "0.0.5",
"npm:through": [
"1.1.2",
"2.2.7",
"2.3.4"
],
"npm:glsl-tokenizer": [
"0.0.8",
"0.0.2"
],
"npm:lower-bound": "0.0.1",
"npm:invert-hash": "0.0.0",
"npm:domready": "0.2.13",
"npm:vkey": "0.0.2",
"npm:falafel": "0.1.6",
"npm:ndarray-scratch": "0.0.1",
"npm:ndarray-fft": "0.1.0",
"npm:escodegen": "0.0.17",
"npm:esprima": "1.2.2",
"npm:estraverse": "0.0.4",
"npm:Base64": "0.2.1",
"npm:inherits": "2.0.1",
"npm:ieee754": "1.1.3",
"npm:base64-js": "0.0.4",
"github:systemjs/plugin-json": "master"
}
});
+7 -6
View File
@@ -7,12 +7,13 @@
"configFile": "config.js",
"registry": "jspm",
"dependencies": {
"mocha": "^1.17.1",
"text": "master",
"bootstrap": "^3.1.1",
"css": "master",
"npm:voxel-demo": "^0.0.1",
"jquery": "^2.1.0",
"d3": "^3.4.1",
"angular": "^1.2.13"
"text": "master",
"mocha": "^1.17.1",
"d3": "^3.4.6",
"css": "master",
"angular": "^1.2.13",
"bootstrap": "^3.1.1"
}
}
+14 -6
View File
@@ -1,5 +1,6 @@
<!doctype html>
<script src="jspm_packages/system@0.4.js"></script>
<script src="../../es6-module-loader/dist/es6-module-loader.js"></script>
<script src="../../systemjs/dist/system.js"></script>
<script src="config.js"></script>
<body>
@@ -8,8 +9,15 @@
</body>
<script>
System.import('mocha').then(function(mocha) {
System.import('tests/tests').then(function(suites) {
System.import('npm:voxel-demo').catch(function(e) {
setTimeout(function() {
throw e;
});
});
System.import('mocha').
then(function(mocha) {
return System.import('tests/tests').then(function(suites) {
mocha.setup('tdd');
for (var s in suites) {
suite(s, function() {
@@ -22,12 +30,12 @@
});
}
mocha.run();
})
.catch(function(e) {
});
}).
catch(function(e) {
setTimeout(function() {
throw e;
}, 1);
});
});
</script>
+1
View File
@@ -8,4 +8,5 @@ exports['modal test'] = function(done) {
done();
});
$('#sandbox .btn').click();
done();
}
+2 -2
View File
@@ -1,6 +1,6 @@
// exports['Angular'] = require('tests/angular');
exports['Angular'] = require('tests/angular');
exports['Bootstrap'] = require('tests/bootstrap');
exports['jQuery'] = require('tests/jquery');
exports['d3'] = require('tests/d3');
exports['angular'] = require('tests/angular');
exports['voxel-demo'] = require('tests/voxel-demo');
+10
View File
@@ -0,0 +1,10 @@
exports['voxel demo'] = function(done) {
System.import('npm:voxel-demo').then(function() {
done();
}).
catch(function(e) {
setTimeout(function() {
throw e;
});
});
}