diff --git a/build.xml b/build.xml index 1151ff7ca..a3e2404cd 100644 --- a/build.xml +++ b/build.xml @@ -206,6 +206,10 @@ + + + + diff --git a/extensions/build.xml b/extensions/build.xml index 1b7fa19ad..c2378e31e 100644 --- a/extensions/build.xml +++ b/extensions/build.xml @@ -22,4 +22,9 @@ + + + + + diff --git a/extensions/jython/build.xml b/extensions/jython/build.xml index 4b4f151b0..3c609f15e 100644 --- a/extensions/jython/build.xml +++ b/extensions/jython/build.xml @@ -5,8 +5,8 @@ | OpenRefine Extension Jython Build File | +--> - - + + @@ -27,12 +27,14 @@ + + @@ -40,6 +42,14 @@ + + + + + + + + @@ -48,7 +58,23 @@ + + + + + + + + + + + + + + + + @@ -60,7 +86,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/jython/tests/conf/tests.xml b/extensions/jython/tests/conf/tests.xml new file mode 100644 index 000000000..86ba31ab2 --- /dev/null +++ b/extensions/jython/tests/conf/tests.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/extensions/jython/tests/com/google/refine/jython/JythonEvaluableTest.java b/extensions/jython/tests/src/com/google/refine/jython/JythonEvaluableTest.java similarity index 100% rename from extensions/jython/tests/com/google/refine/jython/JythonEvaluableTest.java rename to extensions/jython/tests/src/com/google/refine/jython/JythonEvaluableTest.java diff --git a/extensions/jython/tests/src/tests.log4j.properties b/extensions/jython/tests/src/tests.log4j.properties new file mode 100644 index 000000000..ce3509f30 --- /dev/null +++ b/extensions/jython/tests/src/tests.log4j.properties @@ -0,0 +1,4 @@ +log4j.rootLogger=ERROR, console + +log4j.appender.console=org.apache.log4j.ConsoleAppender +log4j.appender.console.layout=com.google.refine.logging.IndentingLayout diff --git a/refine b/refine index 4f0f68fa0..798152ab6 100755 --- a/refine +++ b/refine @@ -66,6 +66,7 @@ and is one of test ................................ Run all OpenRefine tests server_test ......................... Run only the server tests ui_test ............................. Run only the UI tests + extensions_test ..................... Run only the extensions tests broker .............................. Run OpenRefine Broker @@ -591,6 +592,7 @@ mac_dist() { test() { server_test $1 ui_test $1 + extensions_test $1 } ui_test() { @@ -635,6 +637,10 @@ server_test() { ant server_test } +extensions_test() { + ant extensions_test +} + run() { FORK=$1 @@ -1018,6 +1024,8 @@ case "$ACTION" in ui_tests) ui_test $1;; server_test) server_test $1;; server_tests) server_test $1;; + extensions_test) extensions_test $1;; + extensions_tests) extensions_test $1;; findbugs) findbugs;; pmd) pmd;; cpd) cpd;;