$ ant
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Buildfile: /Users/dalvarez/Code/JSCover/build.xml
clean:
dirsetup:
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/reports
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/dist
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/reports/test
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/reports/spec
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/reports/checkstyle
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/reports/coverage/int
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/reports/coverage/all
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/classes/main
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/classes/instrumented
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/classes/test-unit
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/classes/test-integration
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/classes/test-acceptance
compile:
[javac] Compiling 27 source files to /Users/dalvarez/Code/JSCover/target/classes/main
[javac] Note: /Users/dalvarez/Code/JSCover/src/main/java/jscover/server/NanoHTTPD.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /Users/dalvarez/Code/JSCover/src/main/java/jscover/server/NanoHTTPD.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 13 files to /Users/dalvarez/Code/JSCover/target/classes/main
compile-tests:
[javac] Compiling 25 source files to /Users/dalvarez/Code/JSCover/target/classes/test-unit
[copy] Copying 6 files to /Users/dalvarez/Code/JSCover/target/classes/test-unit
compile-integration-tests:
[javac] Compiling 4 source files to /Users/dalvarez/Code/JSCover/target/classes/test-integration
[copy] Copying 136 files to /Users/dalvarez/Code/JSCover/target/classes/test-integration
cobertura-setup:
[cobertura-instrument] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[cobertura-instrument] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura-instrument] Instrumenting 25 files to /Users/dalvarez/Code/JSCover/target/classes/instrumented
[cobertura-instrument] Cobertura: Saved information on 25 classes.
[cobertura-instrument] Instrument time: 225ms
[copy] Copying 149 files to /Users/dalvarez/Code/JSCover/target/classes/instrumented
run-tests:
[delete] Deleting directory /Users/dalvarez/Code/JSCover/target/reports/test
[mkdir] Created dir: /Users/dalvarez/Code/JSCover/target/reports/test
[junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[junit] Testsuite: jscover.ConfigurationTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.058 sec
[junit]
[junit] Testsuite: jscover.MainInstanceTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.274 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] Usage: java -jar jscover.jar -ws [OPTION]...
[junit] Run a server for instrumenting JavaScript with code coverage information.
[junit]
[junit] Options:
[junit] --document-root=DIR serve content from DIR (default: current directory)
[junit] --no-instrument=URL do not instrument URL
[junit] --report-dir=DIR store report to DIR (default: current directory)
[junit] --port=PORT use PORT for TCP port (default: 8080)
[junit] --proxy run as a proxy
[junit] --js-version=VERSION JavaScript version 1.0, 1.2, ..., 1.8 (default: 1.3)
[junit] -h, --help display this help and exit
[junit]
[junit] Usage: java -jar jscover.jar -ws [OPTION]...
[junit] Run a server for instrumenting JavaScript with code coverage information.
[junit]
[junit] Options:
[junit] --document-root=DIR serve content from DIR (default: current directory)
[junit] --no-instrument=URL do not instrument URL
[junit] --report-dir=DIR store report to DIR (default: current directory)
[junit] --port=PORT use PORT for TCP port (default: 8080)
[junit] --proxy run as a proxy
[junit] --js-version=VERSION JavaScript version 1.0, 1.2, ..., 1.8 (default: 1.3)
[junit] -h, --help display this help and exit
[junit]
[junit] ------------- ---------------- ---------------
[junit] Testsuite: jscover.MainParsingTest
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.019 sec
[junit]
[junit] Testsuite: jscover.filesystem.ConfigurationForFSTest
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] Source directory 'unknown' is invalid
[junit] Source directory 'build.xml' is invalid
[junit] ------------- ---------------- ---------------
[junit] Testsuite: jscover.format.PlainFormatterTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.009 sec
[junit]
[junit] Testsuite: jscover.instrument.InstrumenterServiceTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.04 sec
[junit]
[junit] Testsuite: jscover.instrument.InstrumenterTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
[junit]
[junit] Testsuite: jscover.instrument.LineCountNodeVisitorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
[junit]
[junit] Testsuite: jscover.instrument.StatementBuilderTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.005 sec
[junit]
[junit] Testsuite: jscover.json.JSONDataMergerTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
[junit]
[junit] Testsuite: jscover.json.JSONDataSaverTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
[junit]
[junit] Testsuite: jscover.server.ConfigurationForServerTest
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
[junit]
[junit] Testsuite: jscover.server.HttpRequestTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.009 sec
[junit]
[junit] Testsuite: jscover.server.InstrumentingRequestHandlerTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
[junit]
[junit] Testsuite: jscover.server.WebServerTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.022 sec
[junit]
[junit] Testsuite: jscover.util.FileScannerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
[junit]
[junit] Testsuite: jscover.util.IoServiceTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.013 sec
[junit]
[junit] Testsuite: jscover.util.IoUtilsTest
[junit] Tests run: 24, Failures: 0, Errors: 0, Time elapsed: 0.106 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] java.io.IOException: Ouch!
[junit] at jscover.util.IoUtils.closeQuietly(IoUtils.java:354)
[junit] at jscover.util.IoUtilsTest.shouldCloseStreamQuietly(IoUtilsTest.java:370)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
[junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
[junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
[junit] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
[junit] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
[junit] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
[junit] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
[junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
[junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
[junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
[junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
[junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
[junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
[junit] at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
[junit] at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
[junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:879)
[junit] ------------- ---------------- ---------------
[junit] Testsuite: jscover.instrument.InMemoryCoverageTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
[junit]
[junit] Testsuite: jscover.instrument.InstrumentAndHighlightRegressionTest
[junit] Tests run: 45, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] Test javascript-function-chain.js failed
[junit] Test javascript-getter-setter.js errored
[junit] Test javascript-iso-8859-1.js failed
[junit] ------------- ---------------- ---------------
[junit] Testsuite: jscover.instrument.InstrumenterIntegrationTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.005 sec
[junit]
[junit] Testsuite: jscover.instrument.ParseTreeInstrumenterIntegrationTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.028 sec
[junit]
[junit] Flushing results...
[junit] Flushing results done
[junit] Cobertura: Loaded information on 25 classes.
[junit] Cobertura: Saved information on 25 classes.
Trying to override old definition of task cobertura-instrument
Trying to override old definition of task cobertura-merge
Trying to override old definition of task cobertura-check
Trying to override old definition of task cobertura-report
report-if-failed:
coverage-report:
[cobertura-report] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[cobertura-report] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura-report] Cobertura: Loaded information on 25 classes.
[cobertura-report] Report time: 465ms
coverage-check:
[cobertura-check] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[cobertura-check] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura-check] Cobertura: Loaded information on 25 classes.
[cobertura-check] All checks passed.
junit:
compile-acceptance-tests:
[javac] Compiling 3 source files to /Users/dalvarez/Code/JSCover/target/classes/test-acceptance
BUILD FAILED
/Users/dalvarez/Code/JSCover/build.xml:167: /Users/dalvarez/Code/htmlunit-2.10/lib does not exist.
Total time: 6 seconds