[JBoss JIRA] (ARQ-814) Should support injection of EJBs (as CDI Beans) in Weld Embedded
by Heinz Huber (JIRA)
[ https://issues.jboss.org/browse/ARQ-814?page=com.atlassian.jira.plugin.sy... ]
Heinz Huber commented on ARQ-814:
---------------------------------
*Jump start the issue*
What's the status of this issue?
> Should support injection of EJBs (as CDI Beans) in Weld Embedded
> ----------------------------------------------------------------
>
> Key: ARQ-814
> URL: https://issues.jboss.org/browse/ARQ-814
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Weld Containers
> Affects Versions: weld_1.0.0.CR3
> Reporter: Anthony O.
> Assignee: Marko Lukša
> Attachments: EJBTest.java
>
>
> As seen in [this post on the Arquillian forum|https://community.jboss.org/message/723563], we cannot test that simple class as an NPE is thrown from {{org.jboss.arquillian.container.weld.ee.embedded_1_1.mock.MockEjBServices}} which seems to be a copy of Weld code as [Aslak Knutsen|https://community.jboss.org/people/aslak] said.
> {code}
> @RunWith(Arquillian.class)
> public class EJBTest {
> @Deployment
> public static JavaArchive createTestArchive() {
> return ShrinkWrap
> .create(JavaArchive.class, "test.jar")
> .addAsManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
> }
> @Stateless
> public static class SomeService {
> public String someMethod() {
> return "test";
> }
> }
> @Inject
> SomeService someService;
> @Test
> public void testStatelessCall() {
> Assert.assertEquals("test", someService.someMethod());
> }
> }
> {code}
--
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
13 years, 3 months
[JBoss JIRA] (ARQ-1027) Support CommandService Protocol SPI via Warp Protocol
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQ-1027?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated ARQ-1027:
----------------------------
Fix Version/s: warp_1.0.0.tracking
(was: warp_1.0.0.Alpha2)
> Support CommandService Protocol SPI via Warp Protocol
> -----------------------------------------------------
>
> Key: ARQ-1027
> URL: https://issues.jboss.org/browse/ARQ-1027
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Warp
> Affects Versions: warp_1.0.0.Alpha1
> Reporter: Curtis McMillen
> Assignee: Lukáš Fryč
> Fix For: warp_1.0.0.tracking
>
> Attachments: stacktrace.txt
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> It seems there is a problem with running Warp tests if arquillian-jacoco is on the classpath.
> When WarpFilter fires the AfterSuite event, the writeCoverageData observer in arquillian-jacoco is executing which ultimately leads to a NPE coming from servlet protocol. The full stacktrace is attached.
> You can reproduce by simply adding the following dependencies to the pom for warp in arquillian-showcase and then running the BasicJSFUnitTestCase.
> {code:xml}
> <dependency>
> <groupId>org.jboss.arquillian.extension</groupId>
> <artifactId>arquillian-jacoco</artifactId>
> <version>1.0.0.Alpha3</version>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>org.jacoco</groupId>
> <artifactId>org.jacoco.core</artifactId>
> <version>0.5.7.201204190339</version>
> <scope>test</scope>
> </dependency>
> {code}
> Removing these dependencies isn't really an option because I have other arquillian tests not using Warp that I want code coverage on. I tried using alternative annotated with @Specializes thinking I could basically disable the observer in arquillian-jacoco simply by including a different beans.xml in the deployment of my Warp tests. This however fails with "WELD-000047 Specializing bean must extend another bean" which I'm thinking is due to https://issues.jboss.org/browse/WELD-1113.
> Any ideas for getting this to work?
--
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
13 years, 3 months
[JBoss JIRA] (ARQGRA-230) Override a toString method in BooleanConditionWrapper
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-230?page=com.atlassian.jira.plugin... ]
Lukáš Fryč edited comment on ARQGRA-230 at 1/2/13 1:16 PM:
-----------------------------------------------------------
Hey Jan, if we don't have time to improve it in scope of Alpha3, could you please create request for improvement and resolve this?
Note that Alpha3 code-freeze is Fri Han 4th.
was (Author: lfryc):
Hey Jan, if we don't have time to improve it in scope of Alpha3, could you please create request for improvement and resolve this?
> Override a toString method in BooleanConditionWrapper
> -----------------------------------------------------
>
> Key: ARQGRA-230
> URL: https://issues.jboss.org/browse/ARQGRA-230
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Jiří Štefek
> Assignee: Jan Papousek
> Priority: Trivial
> Fix For: 2.0.0.Alpha3
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> It would be great if BooleanConditionWrapper had its own toString() method, so the logs from selenium could be more readable than:
> {code}org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for org.jboss.arquillian.graphene.condition.BooleanConditionWrapper@198de25e{code}
--
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
13 years, 3 months
[JBoss JIRA] (ARQGRA-230) Override a toString method in BooleanConditionWrapper
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-230?page=com.atlassian.jira.plugin... ]
Lukáš Fryč edited comment on ARQGRA-230 at 1/2/13 1:16 PM:
-----------------------------------------------------------
Hey Jan, if we don't have time to improve it in scope of Alpha3, could you please create request for improvement and resolve this?
Note that Alpha3 code-freeze is Fri Jan 4th.
was (Author: lfryc):
Hey Jan, if we don't have time to improve it in scope of Alpha3, could you please create request for improvement and resolve this?
Note that Alpha3 code-freeze is Fri Han 4th.
> Override a toString method in BooleanConditionWrapper
> -----------------------------------------------------
>
> Key: ARQGRA-230
> URL: https://issues.jboss.org/browse/ARQGRA-230
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Jiří Štefek
> Assignee: Jan Papousek
> Priority: Trivial
> Fix For: 2.0.0.Alpha3
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> It would be great if BooleanConditionWrapper had its own toString() method, so the logs from selenium could be more readable than:
> {code}org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for org.jboss.arquillian.graphene.condition.BooleanConditionWrapper@198de25e{code}
--
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
13 years, 3 months
[JBoss JIRA] (ARQGRA-230) Override a toString method in BooleanConditionWrapper
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-230?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-230:
-----------------------------------
Hey Jan, if we don't have time to improve it in scope of Alpha3, could you please create request for improvement and resolve this?
> Override a toString method in BooleanConditionWrapper
> -----------------------------------------------------
>
> Key: ARQGRA-230
> URL: https://issues.jboss.org/browse/ARQGRA-230
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Jiří Štefek
> Assignee: Jan Papousek
> Priority: Trivial
> Fix For: 2.0.0.Alpha3
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> It would be great if BooleanConditionWrapper had its own toString() method, so the logs from selenium could be more readable than:
> {code}org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for org.jboss.arquillian.graphene.condition.BooleanConditionWrapper@198de25e{code}
--
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
13 years, 3 months