| |
|
| com.mycompany.myproject.tests.MyFunctionTests
MyFunctionTests | public class MyFunctionTests extends TestCase (Code) | | Implementation of the MyFunction tests.
version: $Revision$ $Date$ |
Constructor Summary | |
public | MyFunctionTests(String name) Constructs a new MyFunctionTests test suite with
the specified name. |
Method Summary | |
public static void | main(String args) Executes just this test. | protected void | setUp() | public static Test | suite() Returns a test suite with all test cases defined by this class. | protected void | tearDown() | public void | testMyFunctionExample1() Tests the MyFunction function by executing the example 1. | public void | testMyFunctionExample2() Tests the MyFunction function by executing the example 2. | public void | testMyFunctionExample3() Tests the MyFunction function by executing the example 3. |
MyFunctionTests | public MyFunctionTests(String name)(Code) | | Constructs a new MyFunctionTests test suite with
the specified name. The name will be passed to the superconstructor.
Parameters: name - the name for this test suite. |
main | public static void main(String args)(Code) | | Executes just this test.
|
suite | public static Test suite()(Code) | | Returns a test suite with all test cases defined by this class.
the test suite, never null . |
testMyFunctionExample1 | public void testMyFunctionExample1() throws Exception(Code) | | Tests the MyFunction function by executing the example 1.
Description: Missing parameter : lastName
throws: Exception - if an unexpected error occurs. |
testMyFunctionExample2 | public void testMyFunctionExample2() throws Exception(Code) | | Tests the MyFunction function by executing the example 2.
Description: The name does not contain any vowels.
throws: Exception - if an unexpected error occurs. |
testMyFunctionExample3 | public void testMyFunctionExample3() throws Exception(Code) | | Tests the MyFunction function by executing the example 3.
Description: Message returned.
throws: Exception - if an unexpected error occurs. |
|
|
|