Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.struts.action
Class TestActionMessage  view TestActionMessage download TestActionMessage.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.struts.action.TestActionMessage
All Implemented Interfaces:
junit.framework.Test

public class TestActionMessage
extends junit.framework.TestCase

Unit tests for the org.apache.struts.action.ActionMessage class.

Version:
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $

Field Summary
protected  ActionMessage amWithNoValue
           
protected  ActionMessage amWithOneValue
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestActionMessage(java.lang.String theName)
          Defines the testcase name for JUnit.
 
Method Summary
static void main(java.lang.String[] theArgs)
          Start the tests.
 void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
           
 void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testActionMessageWithAStringValue()
           
 void testActionMessageWithNoValue()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Field Detail

amWithNoValue

protected ActionMessage amWithNoValue

amWithOneValue

protected ActionMessage amWithOneValue
Constructor Detail

TestActionMessage

public TestActionMessage(java.lang.String theName)
Defines the testcase name for JUnit.

Method Detail

main

public static void main(java.lang.String[] theArgs)
Start the tests.


suite

public static junit.framework.Test suite()

setUp

public void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

public void tearDown()
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testActionMessageWithNoValue

public void testActionMessageWithNoValue()

testActionMessageWithAStringValue

public void testActionMessageWithAStringValue()