[arquillian-issues] [JBoss JIRA] (ARQ-1139) Warp: support for travelling assertions

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon Oct 8 08:04:03 EDT 2012


Lukáš Fryč created ARQ-1139:
-------------------------------

             Summary: Warp: support for travelling assertions
                 Key: ARQ-1139
                 URL: https://issues.jboss.org/browse/ARQ-1139
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Extension - Warp
    Affects Versions: warp_1.0.0.Alpha1
            Reporter: Lukáš Fryč


{code:java}
@Travelling
SomeObject obj;

@Test
public void should() {  
  Warp.execute(new ClientAction() {
    public void action() {
      page.doAction();
    }
  }).verify(new ServerAssertion() {
    public void do() {
      obj.get(); // detect outside of anonymous class call, replace with callback to client for the value ? 
    }
  });
}
{code}

copied from https://gist.github.com/3621257

--
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



More information about the arquillian-issues mailing list