This repository has been archived by the owner on Nov 16, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit of FuncUnit, a single unit test, and a null app
- Loading branch information
Dan Mosedale
committed
Aug 24, 2011
1 parent
685cc65
commit ed62705
Showing
15 changed files
with
24,304 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/sh | ||
# This file is a batch script that invokes loader | ||
# ex: documentjs/doc cookbook/cookbook.html | ||
|
||
# Absolute path to this script. /home/user/bin/foo.sh | ||
|
||
TARGET_FILE=$0 | ||
|
||
cd `dirname $TARGET_FILE` | ||
TARGET_FILE=`basename $TARGET_FILE` | ||
|
||
PHYS_DIR=`pwd -P` | ||
SCRIPT=$PHYS_DIR/$TARGET_FILE | ||
|
||
# Absolute path this script is in. /home/user/bin | ||
BASE=`dirname $SCRIPT`/ | ||
|
||
# Keeps the executing directory as the JMVC root. | ||
cd $BASE.. | ||
|
||
# classpath | ||
CP=$BASE../funcunit/java/selenium-java-client-driver.jar:$BASE../steal/rhino/js.jar | ||
|
||
# load the run.js file | ||
LOADPATH=${BASE}scripts/run.js | ||
|
||
# call js.bat | ||
. $BASE../steal/rhino/loader $1 $2 $3 $4 $5 $6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@echo off | ||
:: this file is a batch script that invokes loader.bat | ||
:: ex: funcunit/envjs cookbook/qunit.html | ||
|
||
:: relative path to this script | ||
set BASE=%~dps0 | ||
set CMD=%0 | ||
|
||
:: classpath | ||
SET CP=%BASE%java/selenium-java-client-driver.jar;%BASE%../steal/rhino/js.jar | ||
|
||
:: load the run.js file | ||
SET LOADPATH=%BASE%scripts/run.js | ||
|
||
:: call js.bat | ||
CALL %BASE%../steal/rhino/loader.bat %1 %2 %3 %4 %5 %6 | ||
|
||
:: report errors to CI/build wrapper(s) | ||
if errorlevel 1 exit 1 |
Oops, something went wrong.