Created
May 29, 2013 22:31
-
-
Save burtonator/5674363 to your computer and use it in GitHub Desktop.
powerset testing...
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
public void test1() throws Exception { | |
List<Long> delayOptions = Longs.asList( 0, 1000 ); | |
List<Boolean> chunkOptions = Booleans.asList( true, false ); | |
for( long delay : delayOptions ) { | |
for ( boolean chunked : chunkOptions ) { | |
log.info( "Testing with options: delay=%s, chunked=%s", delay, chunked ); | |
new Tester() | |
.setChunked(chunked) | |
.setDelay( delay ) | |
.doTest(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment