[JBoss JIRA] Created: (ARQ-304) String based properties cannot be loaded through System properties
by Karel Piwko (JIRA)
String based properties cannot be loaded through System properties
------------------------------------------------------------------
Key: ARQ-304
URL: https://jira.jboss.org/browse/ARQ-304
Project: Arquillian
Issue Type: Bug
Components: Extension - Selenium
Reporter: Karel Piwko
Assignee: Karel Piwko
Priority: Minor
Fix For: 1.0.0.Beta1
Selenium cannot load String based properties in configuration due to missing handler for String based properties.
Caused by: java.lang.IllegalArgumentException: Unable to convert value org.openqa.selenium.firefox.FirefoxDriverto a class: java.lang.String
at org.jboss.arquillian.selenium.SeleniumExtensionConfiguration$SystemPropertyConfiguration.convert(SeleniumExtensionConfiguration.java:439)
at org.jboss.arquillian.selenium.SeleniumExtensionConfiguration$SystemPropertyConfiguration.get(SeleniumExtensionConfiguration.java:387)
at org.jboss.arquillian.selenium.SeleniumExtensionConfiguration.getWebdriverImplementation(SeleniumExtensionConfiguration.java:346)
at org.jboss.arquillian.selenium.instantiator.WebDriverInstantiator.create(WebDriverInstantiator.java:62)
at org.jboss.arquillian.selenium.instantiator.WebDriverInstantiator.create(WebDriverInstantiator.java:38)
at org.jboss.arquillian.selenium.event.SeleniumStartupHandler.prepareContext(SeleniumStartupHandler.java:86)
at org.jboss.arquillian.selenium.event.SeleniumStartupHandler.callback(SeleniumStartupHandler.java:60)
at org.jboss.arquillian.selenium.event.SeleniumStartupHandler.callback(SeleniumStartupHandler.java:48)
at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)
--
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
15 years
[JBoss JIRA] Created: (ARQ-352) ArquillianDescriptor should support configuration of extensions
by Karel Piwko (JIRA)
ArquillianDescriptor should support configuration of extensions
---------------------------------------------------------------
Key: ARQ-352
URL: https://issues.jboss.org/browse/ARQ-352
Project: Arquillian
Issue Type: Bug
Affects Versions: 1.0.0.Beta1
Reporter: Karel Piwko
Assignee: Karel Piwko
Fix For: 1.0.0.Beta1
ArquillianDescriptor should provide a way how to configure extensions. This should be done in the same manner as for containers, protocols and groups.
E.g.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<arquillian>
<extension qualifier="selenium">
<configuration>
<property name="speed">5000</property>
</configuration>
</extension>
</arquillian>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (ARQ-372) The @EJB annotation does not work in a TestCase that extends abstract class
by Leopold Odenthal (JIRA)
The @EJB annotation does not work in a TestCase that extends abstract class
---------------------------------------------------------------------------
Key: ARQ-372
URL: https://issues.jboss.org/browse/ARQ-372
Project: Arquillian
Issue Type: Bug
Components: Runtime Enricher SPI
Affects Versions: 1.0.0.Alpha4
Environment: Arquillian Version 1.0.0 Alpha4
openejb 3.1
junit 4.8.2
Reporter: Leopold Odenthal
The Problem is within a abstract class that contains @EJB annotation.
When a testcase extens that abstract class the Beans will not be injected.
Here is a example code:
@RunWith(Arquillian.class)
public abstract class AbstractTestContext
{
@EJB
protected BeanOne beanOne;
@EJB
protected BeanTwo beanTwo;
@Deployment
public static JavaArchive getContextDeployment()
{
return ShrinkWrap.create(JavaArchive.class, "test.jar")
.addPackages(true, RootClass.class.getPackage())
.addManifestResource("persistence.xml");
}
}
public class MyTest extends AbstractTestContext
{
@Test
public void testBeanOne()
{
Assert.assertNotNull(beanOne);
}
@Test
public void testBeanOne()
{
Assert.assertNotNull(beanOne);
}
}
After searching the Arquillian code i found the code for my problem in the TestEnricher API.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (ARQ-380) Core should support AroundInvoke style handlers of Events
by Aslak Knutsen (JIRA)
Core should support AroundInvoke style handlers of Events
---------------------------------------------------------
Key: ARQ-380
URL: https://issues.jboss.org/browse/ARQ-380
Project: Arquillian
Issue Type: Feature Request
Components: Base Implementation
Affects Versions: 1.0.0.Alpha4
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
Fix For: 1.0.0.Beta1
Core needs to support registration of Interceptors of Events, not only Event handlers. This will allow for more controlled AroundInvoke operations, like Context Activations/Deactivation.
{code}
public void around(@Observes EventContext<EventType> context)
{
try
{
// do something before
context.proceed(); // continue down the interceptor chain and eventually the handler list
}
finally
{
// do something after
}
}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (ARQ-349) Create a Protocol processor SPI for modifying the Protocol create final deployment
by Aslak Knutsen (JIRA)
Create a Protocol processor SPI for modifying the Protocol create final deployment
----------------------------------------------------------------------------------
Key: ARQ-349
URL: https://issues.jboss.org/browse/ARQ-349
Project: Arquillian
Issue Type: Feature Request
Components: Packaging Enricher SPI
Reporter: Aslak Knutsen
In some cases we need to modify the Protocol generated Deployment.
In the case of CDI, it's BeanManagers are hierarchical, a BeanManager created for a ejb-jar in a ear is not visible to a war unless the war also contains a beans.xml. When using the Servlet Protocol, a war is added without a beans.xml since the protocol it self is unaware of CDI, and Beans are never injected into the testcase.
DeploymentProcessor.process(TestClass relevant class, TestDeployment auxAndApplicationArchives, Archive<?> finalDeployment);
https://issues.jboss.org/browse/WELD-709
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years