|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.puremvc.java.patterns.command.SimpleCommandTest
public class SimpleCommandTest
Test the PureMVC SimpleCommand class.
SimpleCommandTestVO
,
SimpleCommandTestCommand
Constructor Summary | |
---|---|
SimpleCommandTest()
|
Method Summary | |
---|---|
void |
testSimpleCommandExecute()
Tests the execute method of a SimpleCommand . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleCommandTest()
Method Detail |
---|
public void testSimpleCommandExecute()
execute
method of a SimpleCommand
.
This test creates a new Notification
, adding a
SimpleCommandTestVO
as the body.
It then creates a SimpleCommandTestCommand
and invokes
its execute
method, passing in the note.
Success is determined by evaluating a property on the object that was passed on the Notification body, which will be modified by the SimpleCommand
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |