| com.jcorporate.expresso.core.i18n.MessagesTest
MessagesTest | public class MessagesTest extends TestCase (Code) | | A test case to verify the functions of the Messages object,
designed to handle local-language message processing
author: Michael Nash version: $Revision: 1.2 $ $Date: 2004/11/17 20:48:22 $ |
Constructor Summary | |
public | MessagesTest(String name) Constructs a test case with the given name. |
Method Summary | |
public int | countTestCases() Counts the number of test cases executed by run(TestResult result). | protected void | setUp() Sets up the fixture, for example, open a network connection. | public static Test | suite() | protected void | tearDown() Tears down the fixture, for example, close a network connection. | public void | testComplexMessage() | public void | testSimpleMessage() |
MessagesTest | public MessagesTest(String name)(Code) | | Constructs a test case with the given name.
Parameters: name - |
countTestCases | public int countTestCases()(Code) | | Counts the number of test cases executed by run(TestResult result).
|
setUp | protected void setUp() throws Exception(Code) | | Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
|
suite | public static Test suite()(Code) | | Define the suite of tests that verify each function of the cache
|
tearDown | protected void tearDown() throws Exception(Code) | | Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.
|
testComplexMessage | public void testComplexMessage()(Code) | | Test messages with substitutions
|
testSimpleMessage | public void testSimpleMessage()(Code) | | Get a simple test message from the Messages object
|
|
|