https://bugzilla.redhat.com/show_bug.cgi?id=1078967
Mikolaj Izdebski <mizdebsk(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|NeedsTestCase |Upstream, VerifiedUpstream
--- Comment #3 from Mikolaj Izdebski <mizdebsk(a)redhat.com> ---
Fix and unit test commited upstream.
Fix:
https://github.com/mizdebsk/xmvn/commit/c89394ded6f51aa53a1490cfba75084ad...
Test:
https://github.com/mizdebsk/xmvn/commit/ea5bb3291632df508c1ada40d31fd9c48...
Verified upstream.
Without the fix:
Running org.fedoraproject.xmvn.mojo.DirectoryInstallationTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.229 sec <<<
FAILURE! - in org.fedoraproject.xmvn.mojo.DirectoryInstallationTest
testDirectoryAsProjectFile(org.fedoraproject.xmvn.mojo.DirectoryInstallationTest)
Time elapsed: 0.149 sec <<< FAILURE!
java.lang.AssertionError:
Unexpected method call
Deployer.deploy(org.fedoraproject.xmvn.deployer.DeploymentRequest@ac12c78e):
Deployer.deploy(isA(org.fedoraproject.xmvn.deployer.DeploymentRequest)):
expected: 1, actual: 2
at
org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:44)
at
org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:94)
at com.sun.proxy.$Proxy10.deploy(Unknown Source)
at
org.fedoraproject.xmvn.mojo.InstallMojo.deployArtifact(InstallMojo.java:153)
at org.fedoraproject.xmvn.mojo.InstallMojo.execute(InstallMojo.java:185)
at
org.fedoraproject.xmvn.mojo.DirectoryInstallationTest.testDirectoryAsProjectFile(DirectoryInstallationTest.java:100)
With the fix:
Running org.fedoraproject.xmvn.mojo.DirectoryInstallationTest
[main] INFO org.fedoraproject.xmvn.mojo.InstallMojo - Skipping installation of
artifact /tmp/xmvn-test6026120378042784621: artifact file is not a regular file
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.189 sec - in
org.fedoraproject.xmvn.mojo.DirectoryInstallationTest
Artifact file which is a directory is skipped with a message printed.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=aiStJO03OC&a=cc_unsubscribe