-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test and remove testing parameters
- Loading branch information
Showing
2 changed files
with
34 additions
and
12 deletions.
There are no files selected for viewing
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
30 changes: 30 additions & 0 deletions
30
render-ws-java-client/src/test/java/org/janelia/render/client/TileReorderingClientTest.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package org.janelia.render.client; | ||
|
||
import org.janelia.render.client.parameter.CommandLineParameters; | ||
import org.junit.Test; | ||
|
||
/** | ||
* Tests the {@link TileReorderingClient} class. | ||
* | ||
* @author Michael Innerberger | ||
*/ | ||
public class TileReorderingClientTest { | ||
|
||
@Test | ||
public void testParameterParsing() throws Exception { | ||
CommandLineParameters.parseHelp(new TileReorderingClient.Parameters()); | ||
} | ||
|
||
public static void main(final String[] args) { | ||
|
||
final String[] effectiveArgs = args.length > 0 ? args : new String[] { | ||
"--baseDataUrl", "http://renderer-dev.int.janelia.org:8080/render-ws/v1", | ||
"--owner", "hess_wafer_53d", | ||
"--project", "slab_120_to_129", | ||
"--stack", "s127_m232_align_mi_ic_test1", | ||
"--targetStack", "s127_m232_align_mi_reordering_test_horizontal_scan" | ||
}; | ||
|
||
TileReorderingClient.main(effectiveArgs); | ||
} | ||
} |