[
https://jira.jboss.org/browse/ARQ-295?page=com.atlassian.jira.plugin.syst...
]
Thomas Diesler resolved ARQ-295.
--------------------------------
Fix Version/s: 1.0.0.Beta1
Resolution: Done
Done
public void testArtifactFromRepository() throws Exception
{
// This must be some artifact that surely gets pulled in the local repo by
// 'mvn -pl containers/osgi-embedded/ -am clean install' but is not part of
the test classpath
// Mockito is currently used by arquillian-protocol-osgi, but not
arquillian-osgi-embedded.
String groupId = "org.mockito";
String artifactId = "mockito-all";
String version = "1.8.3";
String classPath = System.getProperty("java.class.path");
assertFalse("java.class.path does not contain " + artifactId,
classPath.contains(artifactId));
URL artifactURL = ArquillianHelper.getArtifactURL(groupId, artifactId, version);
assertNotNull("artifactURL not null: " + artifactId, artifactURL);
}
OSGi testsuite depends on arquillian-protocol-local artifact in local
mvn repo
------------------------------------------------------------------------------
Key: ARQ-295
URL:
https://jira.jboss.org/browse/ARQ-295
Project: Arquillian
Issue Type: Bug
Components: OSGi Containers
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: 1.0.0.Beta1
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.532 sec <<<
FAILURE!
testArtifactFromRepository(org.jboss.arquillian.container.osgi.arq198.ARQ198TestCase)
Time elapsed: 0.09 sec <<< FAILURE!
java.lang.AssertionError: artifactURL not null: arquillian-protocol-local
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at
org.jboss.arquillian.container.osgi.arq198.ARQ198TestCase.testArtifactFromRepository(ARQ198TestCase.java:72)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira