[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-dev] 1.1 preview testing
|
All tests pass in my workspace when run from Eclipse
and when run using build/release/build.xml.
Neither failure pertains to shipping components.
Are you using build/release/build.xml?
(1) BuildModuleTests.testAllModulesCreation()
checks that every ../.classpath file can be parsed.
We read/test all ../.classpath files so we can add and
remove dependencies without changing build scripts.
Do you have non-AspectJ projects in your eclipse workspace
with .classpath files containing a path entry spanning lines?
grep org.eclipse.jdt.launching.JRE_CONTAINER */.classpath
That would cause this test to fail.
(2) HarnessSelectionTest.
[testTitleListFileSelectionPluralFailOnly
| testTitleListFileSelectionPlural]
It looks like there is an extra test skipped for
some reason particular to the IBM 1.3.1 VM. If you
enable HarnessSelectionTest.verbose, it should
print out the skip messages. The comments note that
..Fail.. is weak anyway since it skips for different
reasons under 1.4.
In any case, neither of these should hold up the
release.
Thanks -
Wes
George Harley1 wrote:
Hi,
FYI, I've just run the unit test suite against a snapshot of the latest
CVS HEAD (extract carried out around 9:45pm UK time) and found some
problems. Tests were carried out on Sun 131, IBM 131 and Sun 141 JVMs.
Results attached below.
Summary :-
1 error common across all JVM runs. Error is in BuildModuleTests
=======================================================
Test name : testAllModulesCreation
Error :
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Sun
java.lang.IllegalArgumentException:
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Sun
at
org.aspectj.internal.tools.build.XMLEntry.readAttributes(Module.java:632)
at org.aspectj.internal.tools.build.XMLEntry.acceptToken(Module.java:605)
at org.aspectj.internal.tools.build.XMLEntry.acceptTokens(Module.java:577)
at org.aspectj.internal.tools.build.Module.initClasspath(Module.java:367)
at org.aspectj.internal.tools.build.Module.init(Module.java:350)
at org.aspectj.internal.tools.build.Module.<init>(Module.java:212)
at org.aspectj.internal.tools.build.Modules.getModule(Modules.java:58)
at
org.aspectj.internal.build.ModulesTest.checkModule(ModulesTest.java:107)
at
org.aspectj.internal.build.ModulesTest.testAllModulesCreation(ModulesTest.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2 failures seen in IBM 131 JVM run only. Failures in
TestDriversModuleTests
================================================================
1) Test name : testTitleListFileSelectionPluralFailOnly
Failure : skips expected:<15> but was:<16>
junit.framework.AssertionFailedError: skips expected:<15> but was:<16>
at
org.aspectj.testing.drivers.HarnessSelectionTest.checkSelection(HarnessSelectionTest.java:346)
at
org.aspectj.testing.drivers.HarnessSelectionTest.testTitleListFileSelectionPluralFailOnly(HarnessSelectionTest.java:280)
2) Test name : testTitleListFileSelectionPlural
Failure : skips expected:<15> but was:<16>
junit.framework.AssertionFailedError: skips expected:<15> but was:<16>
at
org.aspectj.testing.drivers.HarnessSelectionTest.checkSelection(HarnessSelectionTest.java:346)
at
org.aspectj.testing.drivers.HarnessSelectionTest.testTitleListFileSelectionPlural(HarnessSelectionTest.java:269)
Best regards,
George
________________________________________
George C. Harley