[JBoss JIRA] Created: (ARQ-313) ARQ should support Multi-module (Multiple WAR deployments) testing
by Lincoln Baxter III (JIRA)
ARQ should support Multi-module (Multiple WAR deployments) testing
------------------------------------------------------------------
Key: ARQ-313
URL: https://jira.jboss.org/browse/ARQ-313
Project: Arquillian
Issue Type: Feature Request
Components: Packaging Enricher SPI
Reporter: Lincoln Baxter III
It would be useful if you could return multiple deployments, potentially as a list of archives, and then run tests either AS_CLIENT that would interact against all deployments (however the container handles them,) or run with one deployment as the primary and run tests in IN_CONTAINER from the perspective of that WAR.
This would effectively allow testing of multi-module WAR deployments or large-scale applications that are broken up under different ServletContexts.
--
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
13 years, 9 months
[JBoss JIRA] Created: (ARQ-192) Install OSGi bundles in memory
by Thomas Diesler (JIRA)
Install OSGi bundles in memory
------------------------------
Key: ARQ-192
URL: https://jira.jboss.org/browse/ARQ-192
Project: Arquillian
Issue Type: Task
Reporter: Thomas Diesler
Currently the OSGiDeploymentPackager transforms a JavaArchive into a VF
private VirtualFile toVirtualFile(Archive<?> archive) throws IOException, MalformedURLException
{
// [TODO] Can this be done in memory?
ZipExporter exporter = archive.as(ZipExporter.class);
String archiveName = archive.getName();
int dotIndex = archiveName.lastIndexOf(".");
if (dotIndex > 0)
archiveName = archiveName.substring(0, dotIndex);
File target = File.createTempFile(archiveName + "-", ".jar");
exporter.exportZip(target, true);
target.deleteOnExit();
return AbstractVFS.getRoot(target.toURI().toURL());
}
We should be able to install the Archive directly and in-memory
--
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
13 years, 9 months
[JBoss JIRA] Created: (ARQ-164) NPE in DeployableTestBuilder
by Jesper Pedersen (JIRA)
NPE in DeployableTestBuilder
----------------------------
Key: ARQ-164
URL: https://jira.jboss.org/browse/ARQ-164
Project: Arquillian
Issue Type: Bug
Components: Deployable Containers SPI
Affects Versions: 1.0.0.Alpha2
Reporter: Jesper Pedersen
I get:
java.lang.NullPointerException
at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:82)
at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:71)
at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:68)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
Any component that uses a SPI implementation should guard against null values - if there is a non-null requirement of course - and throw an IllegalArgumentException with a descriptive error message.
--
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
13 years, 9 months
[JBoss JIRA] Created: (ARQ-281) NPE when JBOSS_HOME isn't set
by Pete Muir (JIRA)
NPE when JBOSS_HOME isn't set
-----------------------------
Key: ARQ-281
URL: https://jira.jboss.org/browse/ARQ-281
Project: Arquillian
Issue Type: Bug
Components: JBoss Containers
Affects Versions: 1.0.0.Alpha3
Reporter: Pete Muir
org.jboss.arquillian.impl.event.FiredEventException: java.lang.NullPointerException
at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:68)
at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115)
at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:62)
at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:89)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:32)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:25)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:41)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:31)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.NullPointerException
at org.jboss.jbossas.servermanager.ServerManager.getJavaEndorsedDirs(ServerManager.java:260)
at org.jboss.jbossas.servermanager.ServerController.getEndorsedDirsProperty(ServerController.java:212)
at org.jboss.jbossas.servermanager.ServerController.getStartCommandLine(ServerController.java:191)
at org.jboss.jbossas.servermanager.ServerController.startServer(ServerController.java:101)
at org.jboss.jbossas.servermanager.ServerManager.startServer(ServerManager.java:163)
at org.jboss.arquillian.container.jbossas.managed_6.JBossASLocalContainer.start(JBossASLocalContainer.java:84)
at org.jboss.arquillian.impl.handler.ContainerStarter.callback(ContainerStarter.java:52)
at org.jboss.arquillian.impl.handler.ContainerStarter.callback(ContainerStarter.java:41)
at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)
... 21 more
--
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
13 years, 9 months
[JBoss JIRA] Created: (ARQ-309) Allow configuration to specify an OpenEJB configuration resources (openejb.xml)
by Dan Allen (JIRA)
Allow configuration to specify an OpenEJB configuration resources (openejb.xml)
-------------------------------------------------------------------------------
Key: ARQ-309
URL: https://jira.jboss.org/browse/ARQ-309
Project: Arquillian
Issue Type: Feature Request
Components: OpenEJB Containers
Affects Versions: 1.0.0.Alpha4
Reporter: Dan Allen
Priority: Minor
Implement the feature described in the OpenEJB FAQ for supplying a custom configuration file.
http://openejb.apache.org/faq.html
Create an openejb.xml file in any directory* that gets added to your test classpath. Then in your test case do this:
protected void setUp() throws Exception {
Properties properties = new Properties();
properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
URL config = this.getClass().getClassLoader().getResource("openejb.xml");
properties.setProperty("openejb.configuration", config.toExternalForm());
initialContext = new InitialContext(properties);
}
* The name of this file could be an Arquillian container configuration property.
--
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
13 years, 9 months