You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Sommers, Elizabeth" <So...@Pragmatics.com> on 2007/07/18 19:43:10 UTC

failing test in maven-plugin-testing-tools-1.0.-alpha-2

We have found this project to be extremely helpful, but are now having problems moving a plugin-project to a new machine.  While trying to figure out why our project doesn't work (it is having problems with it-build-target) we found that one of the unit tests fails consistently.  The failure is below.

Are there any secrets we should know about this package in order to make it work consistently with our plugin development?

Thanks so much
Liz Sommers
sommerse@pragmatics.com


ProjectToolsTest
	junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertTrue(Assert.java:27)
	at org.apache.maven.shared.test.plugin.ProjectToolTest.testPackageProjectArtifact_ShouldPopulateWithCorrectArtifactAndMetadata(ProjectToolTest.java:80)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)