[JBoss JIRA] Created: (ARQ-563) @ArquillianResource in TestNG based tests causes test body not to be evaluated
by Karel Piwko (JIRA)
@ArquillianResource in TestNG based tests causes test body not to be evaluated
------------------------------------------------------------------------------
Key: ARQ-563
URL: https://issues.jboss.org/browse/ARQ-563
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Test Protocol SPIs and Implementation
Affects Versions: 1.0.0.CR4
Environment: Surefire 2.7.2, 2.9
TestNG 5.14.6, 5.14.9
AS 7.0.1 web
Reporter: Karel Piwko
Priority: Blocker
Suppose following test case:
{code}
public class LowercaseConverterTest extends Arquillian {
@Inject
private LowercaseConverter lowercaseConverter;
@Deployment
public static JavaArchive createTestArchive() {
return ShrinkWrap
.create(JavaArchive.class, "test.jar")
.addClasses(LowercaseConverter.class)
.addAsManifestResource(EmptyAsset.INSTANCE,
ArchivePaths.create("beans.xml"));
}
@Test
public void testConvertToLowercase() {
Assert.assertEquals("martin",
lowercaseConverter.convertToLowercase("Martin"));
}
}
{code}
However, if @ArquillianResource is used for a field injection, such as:
{code}
@ArquillianResource URL field;
{code}
than test body is no longer executed and *all tests are reported as passed* even an obvious failure like:
{code}
@Test
public void testConvertToLowercase() {
Assert.fail();
Assert.assertEquals("karel",
lowercaseConverter.convertToLowercase("Martin"));
}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (ARQ-1115) Introduce Portal depchain
by Ken Finnigan (JIRA)
Ken Finnigan created ARQ-1115:
---------------------------------
Summary: Introduce Portal depchain
Key: ARQ-1115
URL: https://issues.jboss.org/browse/ARQ-1115
Project: Arquillian
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Extension - Portal
Affects Versions: portal_1.0.0.Alpha1
Reporter: Ken Finnigan
Assignee: Ken Finnigan
Fix For: portal_1.0.0.next
This depchain should be called just arquillian-portal and should bring in api, impl-base and spi.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (ARQ-1117) Support Portal URL for specific portlet or several on a page
by Ken Finnigan (JIRA)
Ken Finnigan created ARQ-1117:
---------------------------------
Summary: Support Portal URL for specific portlet or several on a page
Key: ARQ-1117
URL: https://issues.jboss.org/browse/ARQ-1117
Project: Arquillian
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: Extension - Portal
Reporter: Ken Finnigan
Assignee: Ken Finnigan
Fix For: portal_1.0.0.next
Add support for retrieving the URL of a single portlet:
@PortalURL("MyPortlet")
or multiple portlets on a page:
@PortalURL({"MyPortlet", "YourPortlet"})
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (ARQ-1116) Change references of portal container to portlet container
by Ken Finnigan (JIRA)
Ken Finnigan created ARQ-1116:
---------------------------------
Summary: Change references of portal container to portlet container
Key: ARQ-1116
URL: https://issues.jboss.org/browse/ARQ-1116
Project: Arquillian
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Extension - Portal
Affects Versions: portal_1.0.0.Alpha1
Reporter: Ken Finnigan
Assignee: Ken Finnigan
Fix For: portal_1.0.0.next
Renamed PortalContainerDeploymentProvider to be PortletContainerDeploymentProvider.
Also rename text, where appropriate, to refer to portlet container instead of portal container, as the latter is a GateIn specific term and has no meaning in terms of portlet spec
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months