[JBoss JIRA] (ARQGRA-433) FieldAccessValidatorEnricher checks access to fields uniformly
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-433?page=com.atlassian.jira.plugin... ]
Karel Piwko commented on ARQGRA-433:
------------------------------------
At the first place, why is Graphene Enricher touching injection points it does not control?
> FieldAccessValidatorEnricher checks access to fields uniformly
> --------------------------------------------------------------
>
> Key: ARQGRA-433
> URL: https://issues.jboss.org/browse/ARQGRA-433
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.2.Final
> Reporter: Stefan Miklosovic
> Priority: Optional
>
> I have this test
> {code}
> @Rule
> public ExpectedException expectedException = ExpectedException.none();
> @Test
> @InSequence(2)
> @ReportMessage("This method should pass.")
> public void testWithExpectedExceptionRule() {
> expectedException.expect(RuntimeException.class);
> throw new RuntimeException("this exception is expected");
> }
> {code}
> Logger writes this out:
> WARNING: Public field 'expectedException' found in org.arquillian.droidium.devconf.AeroGearTestCase. Direct access to fields outside of the declaring class is not allowed.
> Apr 01, 2014 11:50:27 AM org.jboss.arquillian.graphene.enricher.FieldAccessValidatorEnricher checkFieldValidity
> However that @Rule field _has to be_ public
> {quote}
> A field must be public, not static, and a subtype of TestRule
> {quote}
> So in this case validation does not make sense.
--
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
10 years, 9 months
[JBoss JIRA] (ARQ-1741) Injector might throw unchecked TypeNotPresentException
by Karel Piwko (JIRA)
Karel Piwko created ARQ-1741:
--------------------------------
Summary: Injector might throw unchecked TypeNotPresentException
Key: ARQ-1741
URL: https://issues.jboss.org/browse/ARQ-1741
Project: Arquillian
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: Base Implementation
Affects Versions: 1.1.4.Final
Reporter: Karel Piwko
Priority: Minor
*When*:
I call Injector.get().inject()
*And*:
Service to be injected is not on classpath
*Then*:
Arquillian throws TypeNotPresentException. This is fine, however it should be in API so when looking into code this is more obvious.
--
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
10 years, 9 months
[JBoss JIRA] (ARQ-1740) Allow Asciidoctor reporter to generate standard AsciiDoc
by Stefan Miklosovic (JIRA)
[ https://issues.jboss.org/browse/ARQ-1740?page=com.atlassian.jira.plugin.s... ]
Stefan Miklosovic updated ARQ-1740:
-----------------------------------
Affects Version/s: recorder_1.0.0.Alpha2
> Allow Asciidoctor reporter to generate standard AsciiDoc
> --------------------------------------------------------
>
> Key: ARQ-1740
> URL: https://issues.jboss.org/browse/ARQ-1740
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Recorder
> Affects Versions: recorder_1.0.0.Alpha2
> Reporter: Alex Soto
> Assignee: Alex Soto
> Priority: Minor
>
> Allow Asciidoctor reporter to generate standard AsciiDoc. Currently Asciidoctor reporter generates AsciiDoc files that can only be converted by Asciidoctor.
> If user tries to convert AsciiDoc file using python implementation an exception will be thrown. Although probably most users will use Asciidoctor, it will be interesting to add an option so if user are still using python implementation the reporter generates an AsciiDoc report fully compatible with python implementation.
--
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
10 years, 9 months
[JBoss JIRA] (ARQ-1740) Allow Asciidoctor reporter to generate standard AsciiDoc
by Alex Soto (JIRA)
[ https://issues.jboss.org/browse/ARQ-1740?page=com.atlassian.jira.plugin.s... ]
Alex Soto reassigned ARQ-1740:
------------------------------
Assignee: Alex Soto
> Allow Asciidoctor reporter to generate standard AsciiDoc
> --------------------------------------------------------
>
> Key: ARQ-1740
> URL: https://issues.jboss.org/browse/ARQ-1740
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Recorder
> Reporter: Alex Soto
> Assignee: Alex Soto
> Priority: Minor
>
> Allow Asciidoctor reporter to generate standard AsciiDoc. Currently Asciidoctor reporter generates AsciiDoc files that can only be converted by Asciidoctor.
> If user tries to convert AsciiDoc file using python implementation an exception will be thrown. Although probably most users will use Asciidoctor, it will be interesting to add an option so if user are still using python implementation the reporter generates an AsciiDoc report fully compatible with python implementation.
--
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
10 years, 9 months