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] Created: (LANG-314) Tests fail to pass when building with
Maven 2
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
[jira] Updated: (LANG-314) Tests fail to pass when building with
Maven 2
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ 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
[jira] Closed: (LANG-314) Tests fail to pass when building with
Maven 2
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed LANG-314.
------------------------------
Resolution: Fixed
Fixed:
r501606 | bayard | 2007-01-30 14:26:38 -0800 (Tue, 30 Jan 2007) | 1 line
Changed paths:
M /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ClassUtilsTest.java
M /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enum/EnumTest.java
M /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enums/EnumTest.java
Applying my fix from LANG-314
> 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