diff options
| author | Igor Minar | 2012-10-18 03:13:04 -0700 | 
|---|---|---|
| committer | Igor Minar | 2012-10-18 03:29:12 -0700 | 
| commit | 49ed63d26a813126bd8955fa8df59d963070a986 (patch) | |
| tree | bf87ba2338a0270d3aea1beb51549c3788d282eb | |
| parent | 6ff26856682a6b6b6d07b09fb05a5ea30d5ad1cc (diff) | |
| download | angular.js-49ed63d26a813126bd8955fa8df59d963070a986.tar.bz2 | |
chore(jstd): remove JsTestDriver from our repo
Testacular FTW!
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | gen_jstd_configs.js | 47 | ||||
| -rwxr-xr-x | java | 2 | ||||
| -rw-r--r-- | lib/jstestdriver/JsTestDriver.jar | bin | 4290405 -> 0 bytes | |||
| -rw-r--r-- | lib/jstestdriver/coverage.jar | bin | 2231359 -> 0 bytes | |||
| -rw-r--r-- | lib/jstestdriver/version.txt | 1 | ||||
| -rwxr-xr-x | link-docs.sh | 17 | ||||
| -rwxr-xr-x | server-coverage.sh | 1 | ||||
| -rwxr-xr-x | server-scenario.sh | 3 | ||||
| -rwxr-xr-x | server.sh | 4 | ||||
| -rwxr-xr-x | test-coverage.sh | 4 | ||||
| -rwxr-xr-x | test-jquery.sh | 4 | ||||
| -rwxr-xr-x | test-modules.sh | 4 | ||||
| -rwxr-xr-x | test-perf.sh | 9 | ||||
| -rwxr-xr-x | test-reset.sh | 4 | ||||
| -rwxr-xr-x | test-scenario.sh | 3 | ||||
| -rwxr-xr-x | test.sh | 4 | ||||
| -rw-r--r-- | watchr.rb | 8 | 
18 files changed, 0 insertions, 116 deletions
| @@ -10,6 +10,5 @@ performance/temp*.html  *~  angular.js.tmproj  node_modules -jsTestDriver*.conf  angular.xcodeproj  .idea diff --git a/gen_jstd_configs.js b/gen_jstd_configs.js deleted file mode 100755 index 842cfe21..00000000 --- a/gen_jstd_configs.js +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env node -/* This file reads in list of files from angularFiles.js and generate various jstd config files */ - -var fs = require('fs'), -    angularSrc, -    angularScenario; - -fs.readFile('angularFiles.js', function(err, data) { -  eval(data.toString()); -  var prefix = 'server: http://localhost:9876\n\n', -      prefixScenario = 'server: http://localhost:9877\n\n'; - -  angularSrc = angularFiles.angularSrc.join('\n- '); -  angularScenario = angularFiles.angularScenario.join('\n- '); - -  fs.writeFile('./jsTestDriver.conf', prefix + combine(angularFiles.jstd, -      angularFiles.jstdExclude)); - -  fs.writeFile('./jsTestDriver-modules.conf', prefix + combine(angularFiles.jstdModules)); - -  fs.writeFile('./jsTestDriver-scenario.conf', prefixScenario + -      combine(angularFiles.jstdScenario) + -      '\n\nproxy:\n- {matcher: "*", server: "http://localhost:8000"}'); - -  fs.writeFile('./jsTestDriver-perf.conf', prefix + combine(angularFiles.jstdPerf, -      angularFiles.jstdPerfExclude)); - -  fs.writeFile('./jsTestDriver-jquery.conf', prefix + combine(angularFiles.jstdJquery, -      angularFiles.jstdJqueryExclude)); - -  fs.writeFile('./jsTestDriver-coverage.conf', prefix + -      combine(angularFiles.jstd, angularFiles.jstdExclude) + -      '\n\nplugin:\n- name: "coverage"\n' + -      'jar: "lib/jstestdriver/coverage.jar"\n' + -      'module: "com.google.jstestdriver.coverage.CoverageModule"'); -}); - -function combine(load, exclude) { -  var fileList = 'load:\n- ' + load.join('\n- '); -  if (exclude) fileList += ('\n\nexclude:\n- ' + exclude.join('\n- ')); - -  //Replace placeholders for src list before returning -  return fileList.replace(/@(.*)/g, function(all, alias) { -    return angularFiles[alias].join('\n- '); -  }); -} - @@ -1,2 +0,0 @@ -#!/bin/sh -/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java $@ diff --git a/lib/jstestdriver/JsTestDriver.jar b/lib/jstestdriver/JsTestDriver.jarBinary files differ deleted file mode 100644 index 9de7cf64..00000000 --- a/lib/jstestdriver/JsTestDriver.jar +++ /dev/null diff --git a/lib/jstestdriver/coverage.jar b/lib/jstestdriver/coverage.jarBinary files differ deleted file mode 100644 index 2925bcb0..00000000 --- a/lib/jstestdriver/coverage.jar +++ /dev/null diff --git a/lib/jstestdriver/version.txt b/lib/jstestdriver/version.txt deleted file mode 100644 index 29e8faac..00000000 --- a/lib/jstestdriver/version.txt +++ /dev/null @@ -1 +0,0 @@ -1.3.3d diff --git a/link-docs.sh b/link-docs.sh deleted file mode 100755 index 2d39f496..00000000 --- a/link-docs.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -./gen_docs.sh - -rm build/docs/index.html -rm -rf build/docs/css -rm -rf build/docs/js -rm -rf build/docs/img -rm -rf build/docs/examples - -cd build/docs - -ln -s ../../docs/src/templates/index.html -ln -s ../../docs/src/templates/css -ln -s ../../docs/src/templates/js -ln -s ../../docs/img -ln -s ../../docs/examples diff --git a/server-coverage.sh b/server-coverage.sh deleted file mode 100755 index 30ba51ef..00000000 --- a/server-coverage.sh +++ /dev/null @@ -1 +0,0 @@ -java -jar lib/jstestdriver/JsTestDriver.jar --port 9876 --browserTimeout 20000 --config jsTestDriver-coverage.conf diff --git a/server-scenario.sh b/server-scenario.sh deleted file mode 100755 index 3f7c42d6..00000000 --- a/server-scenario.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -java -jar lib/jstestdriver/JsTestDriver.jar --port 9877 --browserTimeout 90000 --config jsTestDriver-scenario.conf diff --git a/server.sh b/server.sh deleted file mode 100755 index a9b9bfd6..00000000 --- a/server.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -node gen_jstd_configs.js -java -jar lib/jstestdriver/JsTestDriver.jar --port 9876 --browserTimeout 90000 diff --git a/test-coverage.sh b/test-coverage.sh deleted file mode 100755 index 5616f138..00000000 --- a/test-coverage.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -java -Xmx1g -jar lib/jstestdriver/JsTestDriver.jar --config jsTestDriver-coverage.conf --testOutput=tmp/lcov --tests all $@ -genhtml -o tmp/coverage-html/ tmp/lcov/jsTestDriver.conf-coverage.dat -echo "done! check out tmp/coverage-html/index.html" diff --git a/test-jquery.sh b/test-jquery.sh deleted file mode 100755 index b79dfadc..00000000 --- a/test-jquery.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -if [ ! -e test.dissable ]; then -  java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-jquery.conf $@ -fi diff --git a/test-modules.sh b/test-modules.sh deleted file mode 100755 index 58693336..00000000 --- a/test-modules.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -if [ ! -e test.dissable ]; then -  java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-modules.conf $@ -fi diff --git a/test-perf.sh b/test-perf.sh deleted file mode 100755 index 21ef066d..00000000 --- a/test-perf.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -norecompile=$1 - -if [[ $norecompile = "" ]]; then -  rake compile -fi - -java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-perf.conf $@ diff --git a/test-reset.sh b/test-reset.sh deleted file mode 100755 index 41822fd4..00000000 --- a/test-reset.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -tests=$1 - -java -jar lib/jstestdriver/JsTestDriver.jar --tests all --reset diff --git a/test-scenario.sh b/test-scenario.sh deleted file mode 100755 index e2c89c19..00000000 --- a/test-scenario.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -java -jar lib/jstestdriver/JsTestDriver.jar --tests "all" --config jsTestDriver-scenario.conf --reset diff --git a/test.sh b/test.sh deleted file mode 100755 index 1936c965..00000000 --- a/test.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -if [ ! -e test.dissable ]; then -  java -jar lib/jstestdriver/JsTestDriver.jar --tests all $@ -fi diff --git a/watchr.rb b/watchr.rb deleted file mode 100644 index c746d7bb..00000000 --- a/watchr.rb +++ /dev/null @@ -1,8 +0,0 @@ -# config file for watchr http://github.com/mynyml/watchr -# install: gem install watchr -# run: watch watchr.rb -# note: make sure that you have jstd server running (server.sh) and a browser captured - -watch( '(src|test|example)/' )  do -   system 'echo "\n\ntest run started @ `date`"; ./test.sh ' -end | 
