You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2007/01/30 23:26:33 UTC
[jira] Updated: (LANG-314) Tests fail to pass when building with
Maven 2
[ https://issues.apache.org/jira/browse/LANG-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell updated LANG-314:
-------------------------------
Attachment: Lang314-fix.patch
Fix for the two broken tests. No one else uses the public method in ClassUtilsTest, so it was deleted and a simpler method of creating a second classloader created.
> Tests fail to pass when building with Maven 2
> ---------------------------------------------
>
> Key: LANG-314
> URL: https://issues.apache.org/jira/browse/LANG-314
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: Nightly Builds
> Reporter: Henri Yandell
> Fix For: 2.3
>
> Attachments: Lang314-fix.patch
>
>
> Tests run: 75, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec <<< FAILURE!
> testColorEnumEqualsWithDifferentClassLoaders(org.apache.commons.lang.enums.EnumTest) Time elapsed: 0.001 sec <<< FAILURE!
> junit.framework.AssertionFailedError: ClassUtilsTest= org.apache.maven.surefire.booter.IsolatedClassLoader@32e13d System=sun.misc.Launcher$AppClassLoader@a9c85c
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.commons.lang.ClassUtilsTest.newSystemClassLoader(ClassUtilsTest.java:522)
> at org.apache.commons.lang.enums.EnumTest.testWithDifferentClassLoaders(EnumTest.java:457)
> at org.apache.commons.lang.enums.EnumTest.testColorEnumEqualsWithDifferentClassLoaders(EnumTest.java:446)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org