Created
May 31, 2012 20:27
-
-
Save lfryc/2845977 to your computer and use it in GitHub Desktop.
The Pernament and Named assertions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // invokable from e.g. JavaScript unit tests by the name | |
| @NamedAssertion("named") | |
| public void Pernament extends ServerAssertion { | |
| } | |
| // will be invoked each time the lifecycle event happens | |
| // including push events | |
| // the assertion will be delivered to client on first possible moment | |
| @PernamentAssertion | |
| public void Pernament extends ServerAssertion { | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment