|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
jigcell.compare.tests.TransformTests
public class TransformTests
A collection of tests to exercise the included transforms.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Constructor Summary | |
|---|---|
TransformTests(java.lang.String name)
Creates a new transform test. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Starts a new test suite run. |
protected static void |
setExtremaTestTransformBadMaxMin(ExtremaTestTransform transform,
java.lang.String value)
Sets the maximum and minimum values expecting failure. |
static junit.framework.Test |
suite()
All of the tests in this test. |
void |
testBoxTransformContainer()
Test for data passing through. |
void |
testConstantTransform()
Test for data passing through. |
void |
testExtremaTestTransform1()
Test for extrema testing empty input. |
void |
testExtremaTestTransform2()
Test for extrema testing numeric input. |
void |
testExtremaTestTransform3()
Test for extrema testing invalid input. |
void |
testExtremaTestTransform4()
Test for extrema testing numeric input with a minimum that will fail. |
void |
testExtremaTestTransform5()
Test for extrema testing numeric input with a minimum that will pass. |
void |
testExtremaTestTransform6()
Test for extrema testing numeric input with a maximum that will fail. |
void |
testExtremaTestTransform7()
Test for extrema testing numeric input with a maximum that will pass. |
void |
testExtremaTestTransform8()
Test for extrema testing with a minimum and maximum that will pass. |
void |
testExtremaTestTransform9()
Test for setting invalid minimums and maximums. |
void |
testFileTransforms1()
Test for marking as runnable. |
void |
testFileTransforms2()
Test for persisting data. |
void |
testInputTransform1()
Test for enabling result name control. |
void |
testInputTransform2()
Test for setting the result name. |
void |
testInputTransform3()
Test for setting the runnable state. |
void |
testInputTransform4()
Test for passing data through. |
void |
testScriptEvaluationTransform1()
Test for evaluating an empty script. |
void |
testScriptEvaluationTransform2()
Test for evaluating a simple script. |
void |
testScriptEvaluationTransform3()
Test for setting the Comparator option. |
void |
testScriptEvaluationTransform4()
Test for class import resolution. |
void |
testScriptEvaluationTransform5()
Test for a script with no input. |
void |
testScriptEvaluationTransform6()
Test for a script with simple input. |
void |
testScriptEvaluationTransform7()
Test for using math in a script. |
void |
testScriptEvaluationTransform8()
Test for defining functions in a script. |
void |
testScriptEvaluationTransform9()
Test for passing object data through a script. |
void |
testSelectColumnsTransform1()
Test for selecting no columns. |
void |
testSelectColumnsTransform2()
Test for selecting one column. |
void |
testSelectColumnsTransform3()
Test for selecting multiple columns. |
void |
testSelectColumnsTransform4()
Test for selecting repeating and out of order columns. |
void |
testTransformEvaluationTransform1()
Test finding a target transform. |
void |
testTransformEvaluationTransform2()
Test finding a target transform when multiple transforms to choose from. |
void |
testTransformEvaluationTransform3()
Test finding a target transform when multiple transforms to choose from. |
void |
testTransformEvaluationTransform4()
Test for runnable state. |
void |
testTransformEvaluationTransform5()
Test for failing when no transforms exists. |
void |
testTransformEvaluationTransform6()
Test for failing when no transform with target name exists. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TransformTests(java.lang.String name)
name - Test name| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - Program argumentspublic static junit.framework.Test suite()
protected static void setExtremaTestTransformBadMaxMin(ExtremaTestTransform transform,
java.lang.String value)
transform - Transformvalue - Value
public void testBoxTransformContainer()
throws java.lang.Exception
java.lang.Exception
public void testConstantTransform()
throws java.lang.Exception
java.lang.Exception
public void testExtremaTestTransform1()
throws java.lang.Exception
java.lang.Exception
public void testExtremaTestTransform2()
throws java.lang.Exception
java.lang.Exception
public void testExtremaTestTransform3()
throws java.lang.Exception
java.lang.Exception
public void testExtremaTestTransform4()
throws java.lang.Exception
java.lang.Exception
public void testExtremaTestTransform5()
throws java.lang.Exception
java.lang.Exception
public void testExtremaTestTransform6()
throws java.lang.Exception
java.lang.Exception
public void testExtremaTestTransform7()
throws java.lang.Exception
java.lang.Exception
public void testExtremaTestTransform8()
throws java.lang.Exception
java.lang.Exception
public void testExtremaTestTransform9()
throws java.lang.Exception
java.lang.Exception
public void testFileTransforms1()
throws java.lang.Exception
java.lang.Exception
public void testFileTransforms2()
throws java.lang.Exception
java.lang.Exception
public void testInputTransform1()
throws java.lang.Exception
java.lang.Exception
public void testInputTransform2()
throws java.lang.Exception
java.lang.Exception
public void testInputTransform3()
throws java.lang.Exception
java.lang.Exception
public void testInputTransform4()
throws java.lang.Exception
java.lang.Exception
public void testScriptEvaluationTransform1()
throws java.lang.Exception
java.lang.Exception
public void testScriptEvaluationTransform2()
throws java.lang.Exception
java.lang.Exception
public void testScriptEvaluationTransform3()
throws java.lang.Exception
java.lang.Exception
public void testScriptEvaluationTransform4()
throws java.lang.Exception
java.lang.Exception
public void testScriptEvaluationTransform5()
throws java.lang.Exception
java.lang.Exception
public void testScriptEvaluationTransform6()
throws java.lang.Exception
java.lang.Exception
public void testScriptEvaluationTransform7()
throws java.lang.Exception
java.lang.Exception
public void testScriptEvaluationTransform8()
throws java.lang.Exception
java.lang.Exception
public void testScriptEvaluationTransform9()
throws java.lang.Exception
java.lang.Exception
public void testSelectColumnsTransform1()
throws java.lang.Exception
java.lang.Exception
public void testSelectColumnsTransform2()
throws java.lang.Exception
java.lang.Exception
public void testSelectColumnsTransform3()
throws java.lang.Exception
java.lang.Exception
public void testSelectColumnsTransform4()
throws java.lang.Exception
java.lang.Exception
public void testTransformEvaluationTransform1()
throws java.lang.Exception
java.lang.Exception
public void testTransformEvaluationTransform2()
throws java.lang.Exception
java.lang.Exception
public void testTransformEvaluationTransform3()
throws java.lang.Exception
java.lang.Exception
public void testTransformEvaluationTransform4()
throws java.lang.Exception
java.lang.Exception
public void testTransformEvaluationTransform5()
throws java.lang.Exception
java.lang.Exception
public void testTransformEvaluationTransform6()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||