Created
March 28, 2011 12:19
-
-
Save tonit/890368 to your computer and use it in GitHub Desktop.
How to make a test probe. Entry API (PlumbingContext) will change prior 2.0 final.
This file contains 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
private TestProbeProvider makeProbe() throws IOException | |
{ | |
TestProbeBuilder probe = new PlumbingContext().createProbe(); | |
probe.addTests( | |
SingleTestProbe.class, | |
getAllMethods( SingleTestProbe.class ) | |
); | |
return probe.build(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment