[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
13 years, 3 months
[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
13 years, 3 months
[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
13 years, 3 months