Advertisement
Guest User

Untitled

a guest
Feb 20th, 2012
1,301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. test{
  2. onOutput{desc,event->
  3. switch(event.destination){
  4. case TestOutputEvent.Destination.StdOut:
  5. println event.message
  6. break
  7. case TestOutputEvent.Destination.StdErr:
  8. System.err.println event.message
  9. break
  10. }
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement