I think we'll need to do some more work, to either accept multiple
exceptions by the test, or make the expected exception dynamic based
on JDK, since that seems to be the issue.  My change was to get it
working on my workstation, which is a limited approach!

On 5/28/05, Brian K. Wallace <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> [EMAIL PROTECTED] wrote:
> | To whom it may engage...
> <snip>
> I looked at this and the problem here is with a change in revision 1.7
> (Howard) of TestXmlResourceProcessor changing the exception class from
> UnknownHostException.class to ConnectException.class. I was going to
> attach a patch for it, but figured there were larger issues requiring
> this change.
> [log states: Fix some tests that failed to compile or work]
> 
> I do find it 'interesting', however, that Gump doesn't attach the log of
> the test that actually failed. Here's the snippet from that (the only
> reported) failure:
> 
> ~    [junit] Testcase:
> testMissingURLResource(org.apache.hivemind.parse.TestXmlResourceProcessor):
> FAILED
> ~    [junit] expected:<class java.net.ConnectException> but was:<class
> java.net.UnknownHostException>
> ~    [junit] junit.framework.AssertionFailedError: expected:<class
> java.net.ConnectException> but was:<class java.net.UnknownHostException>
> ~    [junit]    at
> org.apache.hivemind.parse.TestXmlResourceProcessor.testMissingURLResource(TestXmlResourceProcessor.java:52)
> 
> Brian
> 
> |
> | Full details are available at:
> |
> http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind/index.html
> |
> | That said, some information snippets are provided here.
> |
> | The following annotations (debug/informational/warning/error messages)
> were provided:
> |  -DEBUG- Sole output [hivemind-28052005.jar] identifier set to project
> name
> |  -INFO- Failed with reason build failed
> |  -DEBUG- Extracted fallback artifacts from Gump Repository
> |
> |
> |
> | The following work was performed:
> |
> http://vmgump.apache.org/gump/public/jakarta-hivemind/jakarta-hivemind/gump_work/build_jakarta-hivemind_jakarta-hivemind.html
> | Work Name: build_jakarta-hivemind_jakarta-hivemind (Type: Build)
> | Work ended in a state of : Failed
> | Elapsed: 40 secs
> | Command Line: java -Djava.awt.headless=true -Dant.build.clonevm=true
> -
> -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
> org.apache.tools.ant.Main
> - -Dgump.merge=/x1/gump/public/gump/work/merge.xml
> - -Dbuild.sysclasspath=only -Ddownload-warning-marker-displayed=true
> - -Djunit-available=true -Djavacc.home=/usr/local/gump/packages/javacc-3.1
> - -Dproject.version=28052005
> | [Working Directory:
> /usr/local/gump/public/workspace/jakarta-hivemind/framework]
> | CLASSPATH:
> /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-hivemind/hivebuild/target/classes:/usr/local/gump/public/workspace/jakarta-hivemind/framework/target/classes:/usr/local/gump/public/workspace/jakarta-hivemind/framework/target/test-classes:/usr/local/gump/public/workspace/jakarta-hivemind/framework/src/descriptor:/usr/local/gump/public/workspace/jakarta-hivemind/framework/src/test:/usr/local/gump/public/workspace/jakarta-hivemind/framework/src/test-data:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspa
> ce/jakarta-commons/logging/dist/commons-logging.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api.jar:/usr/local/gump/packages/easymock1.1/easymock.jar:/usr/local/gump/packages/easymockclassextension1.1/easymockclassextension.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-28052005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/javacc-3.1/bin/lib/javacc.jar:/usr/local/gump/public/workspace/javassist/javassist.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-28052005.jar:/usr/local/gump/packages/asm-1.5.2/lib/asm-analysis-1.5.2.jar:/usr/local/gump/packages/asm-1.5.2/lib/asm-xml-1.5.2.jar:/usr/local/gump/packages/asm-1.5.2/lib/asm-attrs-1.5.2.jar:/usr/local/gump/packages/asm-1.5.2/lib/asm-1.5.2.jar:/usr/local/gump/packages/asm-1.5.2/lib/kasm-1.5.2.jar:/usr/local/gump/packages/asm-1.5.2/lib/asm-tree-1.5.2.jar:/usr/loca
> l/gump/packages/asm-1.5.2/lib/asm-util-1.5.2.jar:/usr/local/gump/public/workspace/db-ojb/lib/cglib-2.1.jar
> | ---------------------------------------------
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestBodyBuilder
> |     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestClasspathResource
> |     [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestConstructorUtils
> |     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestContextResource
> |     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestEventListenerList
> |     [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestFileResource
> |     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.014 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestIdUtils
> |     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.005 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestInstanceCreationUtils
> |     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.018 sec
> |
> |     [junit] Testsuite:
> org.apache.hivemind.util.TestLocalizedContextResourceFinder
> |     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.005 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestLocalizedNameGenerator
> |     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.004 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestPropertyUtils
> |     [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 0.112 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestShutdownCoordinator
> |     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.172 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestStringUtils
> |     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.01 sec
> |
> |     [junit] Testsuite: org.apache.hivemind.util.TestToStringBuilder
> |     [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
> |
> |     [junit] Tests FAILED
> |
> | BUILD FAILED
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (MingW32)
> 
> iD8DBQFCmDrYaCoPKRow/gARAjG5AKDOF8sV49vygyh2yZ2FeP8p20P6vACfTu3/
> z5iQXVXWV/KdXIXJs18sPTk=
> =0WFz
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to