Package wsh.opt.test
Class ArrayVect1Test
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- wsh.opt.test.ArrayVect1Test
-
- All Implemented Interfaces:
junit.framework.Test
public class ArrayVect1Test extends junit.framework.TestCase
Wrap wsh.opt.ArrayVect1 for junit testing. (junit.jar must be in CLASSPATH)
-
-
Constructor Summary
Constructors Constructor Description ArrayVect1Test(java.lang.String name)
Standard constructor calls TestCase(name) constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Run all tests with text gui if this class main is invokedprotected void
setUp()
static junit.framework.Test
suite()
This automatically generates a suite of all "test" methodsprotected void
tearDown()
void
testAll()
Run unit tests.-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Method Detail
-
testAll
public void testAll() throws java.lang.Exception
Run unit tests.- Throws:
java.lang.Exception
- any test failure
-
setUp
protected void setUp() throws java.lang.Exception
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
tearDown
protected void tearDown() throws java.lang.Exception
- Overrides:
tearDown
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
suite
public static junit.framework.Test suite()
This automatically generates a suite of all "test" methods- Returns:
- junit test
-
main
public static void main(java.lang.String[] args)
Run all tests with text gui if this class main is invoked- Parameters:
args
- command-line arguments
-
-