Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lfryc/3621257 to your computer and use it in GitHub Desktop.
Save lfryc/3621257 to your computer and use it in GitHub Desktop.
Warp rewrite Anonymous ServerAssertions to 'real' classes and transfer to Container. Rewrite 'external' references to client callback
@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 ?
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment