[JBoss JIRA] (ARQGRA-433) FieldAccessValidatorEnricher checks access to fields uniformly
by Stefan Miklosovic (JIRA)
Stefan Miklosovic created ARQGRA-433:
----------------------------------------
Summary: 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-1739) Add possibility to make photo of yourself via device camera
by Stefan Miklosovic (JIRA)
Stefan Miklosovic created ARQ-1739:
--------------------------------------
Summary: Add possibility to make photo of yourself via device camera
Key: ARQ-1739
URL: https://issues.jboss.org/browse/ARQ-1739
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Droidium
Affects Versions: droidium_1.0.0.Alpha5
Reporter: Stefan Miklosovic
Priority: Optional
You could take photo of yourself in a test / test camera functionality
https://coderwall.com/p/3-tgjg
Could be implemented as
{code}
@Test
public void takeCameraImage(@ArquillianResource AndroidDevice device)
{
device.takeCameraPhoto();
}
{code}
This could be integrated to reporter so you will see these taken photos directly in report as well.
--
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-1713) Not possible to set Google API level
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1713?page=com.atlassian.jira.plugin.s... ]
Karel Piwko closed ARQ-1713.
----------------------------
> Not possible to set Google API level
> ------------------------------------
>
> Key: ARQ-1713
> URL: https://issues.jboss.org/browse/ARQ-1713
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Droidium
> Affects Versions: droidium_1.0.0.Alpha4
> Reporter: Karel Piwko
> Assignee: Stefan Miklosovic
> Priority: Blocker
> Fix For: droidium_1.0.0.Alpha5
>
>
> *When*:
> I want to setup a google API as target, for instance to run VM capable to work with GCM.
> *Then*:
> I can use apiLevel property, but this expects only integer and concatenes it with android-.
> So, it is not possible to set that at all.
> *Additional information*:
> We need a more flexible way how to set that. I'm proposing removing *apiLevel* property and replace it with *target*
> So, definitions would look like:
> * apiLevel=19 => target=android-19
> * target=Google Inc.:Google APIs:19
--
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-1534) There is no way how to set server port of Android Debug Bridge
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1534?page=com.atlassian.jira.plugin.s... ]
Karel Piwko closed ARQ-1534.
----------------------------
> There is no way how to set server port of Android Debug Bridge
> --------------------------------------------------------------
>
> Key: ARQ-1534
> URL: https://issues.jboss.org/browse/ARQ-1534
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Droidium
> Affects Versions: droidium_1.0.0.Alpha2
> Reporter: Karel Piwko
> Assignee: Stefan Miklosovic
> Fix For: droidium_1.0.0.Alpha5
>
>
> *Given*:
> I have Android tooling installed in Eclipse/JBDS.
> *When:*
> I use Droidium in tests fro IDE.
> *Expect*:
> No having any errors in DDMS output in IDE.
> *Additional information*:
> It looks like that the problem is that Droidium does not allow to set android bridge server port and hence DDMS is already connected to given port. This leads to various errors logged, as DDMS is not prepared to handle external process changing it's environment on the fly.
> See AndroidDebugBridge.determineAndValidateAdbPort() method for more details. While Drodium allows you to change adbPort for running emulator, it always runs the bridge on default port 5037.
> We need a way how to change this server port in Droidium configuration.
--
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