On 2010-03-15, Petar Tahchiev <paranoia...@gmail.com> wrote:

> If you want to test it you can checkout the source of the book from here:

> https://junitbook.svn.sourceforge.net/svnroot/junitbook/trunk/junitbook2/

> and go to chapter 6 and execute ant test.

Did that with Java6 on Windows, Ant 1.8.1, empty CLASSPATH, empty
~/.ant/lib or similar dirs.  I ran

ant -lib MY-INSTALLATION-OF-IVY-2.1.jar test

...
test:
    [mkdir] Created dir: c:\OSS\junitbook2\ch06-stubs\target\junit-reports
    [junit] Running com.manning.junitbook.ch06.stubs.TestWebClient
    [junit] Testsuite: com.manning.junitbook.ch06.stubs.TestWebClient
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,594 sec
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,594 sec
    [junit] ------------- Standard Error -----------------
    [junit] 2010-03-26 12:35:39.389::INFO:  Logging to STDERR via org.mortbay.lo
g.StdErrLog
    [junit] 2010-03-26 12:35:39.405::INFO:  jetty-7.0.0.pre5
    [junit] 2010-03-26 12:35:39.608::INFO:  Started selectchannelconnec...@0.0.0
.0:8080
    [junit] ------------- ---------------- ---------------
    [junit]
    [junit] Testcase: testGetContentOk took 0,093 sec
    [junit] Testcase: testGetContentError took 0 sec
    [junit] Testcase: testGetContentNotFound took 0 sec
    [junit] 2010-03-26 12:35:40.827::INFO:  Shutdown hook executing
    [junit] 2010-03-26 12:35:40.827::INFO:  Shutdown hook complete
    [junit] Running com.manning.junitbook.ch06.stubs.TestWebClient1
    [junit] Testsuite: com.manning.junitbook.ch06.stubs.TestWebClient1
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,156 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,156 sec
    [junit]
    [junit] Testcase: testGetContentOk took 0,093 sec
    [junit] Running com.manning.junitbook.ch06.stubs.TestWebClientSkeleton
    [junit] Testsuite: com.manning.junitbook.ch06.stubs.TestWebClientSkeleton
    [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0,062 sec
    [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0,062 sec
    [junit]

BUILD SUCCESSFUL
Total time: 1 minute 24 seconds

No error message.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to