Package org.apache.struts.faces.util
Class MessagesMapTestCase
java.lang.Object
org.apache.struts.faces.util.MessagesMapTestCase
Unit tests for
MessagesMap.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.struts.faces.util.MessagesMapTheMessagesMapinstance to be tested.protected MessageResourcesTheMessageResourcesinstance containing the messages used for testing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()Set up instance variables required by this test case.voidtearDown()Tear down instance variables required by this test case.voidTest thecontainsKey()method.voidtestGet()Test theget()method.voidTest a pristine instance, and all unsupported methods.
-
Field Details
-
map
protected org.apache.struts.faces.util.MessagesMap mapTheMessagesMapinstance to be tested. -
resources
TheMessageResourcesinstance containing the messages used for testing.
-
-
Constructor Details
-
MessagesMapTestCase
public MessagesMapTestCase()
-
-
Method Details
-
setUp
Set up instance variables required by this test case. -
tearDown
Tear down instance variables required by this test case. -
testContainsKey
Test thecontainsKey()method. -
testGet
Test theget()method. -
testPristine
Test a pristine instance, and all unsupported methods.
-