|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.springframework.richclient.test.SpringRichTestCase
org.springframework.richclient.command.support.ButtonTests
public class ButtonTests
Field Summary |
---|
Fields inherited from class org.springframework.richclient.test.SpringRichTestCase |
---|
applicationServices, logger |
Constructor Summary | |
---|---|
ButtonTests()
|
Method Summary | |
---|---|
void |
enableTest(org.springframework.richclient.command.AbstractCommand command,
Object[] buttons,
boolean enable)
|
void |
enableTests(org.springframework.richclient.command.AbstractCommand command,
Object[] buttons)
|
protected void |
registerAdditionalServices(org.springframework.richclient.application.support.DefaultApplicationServices applicationServices)
May be implemented in subclasses that need to register services with the global application services instance. |
void |
testAdditionalConditionToEnable()
Tests if a command subclass can use an additional condition when enable is enabled or not |
void |
testAdditionalConditionToVisible()
Tests if a command subclass can use an additional condition when visible is enabled or not |
void |
testButtonEnabling()
|
void |
testButtonVisible()
|
void |
testMultipleFaceDescriptorsEnabling()
|
void |
visibleTest(org.springframework.richclient.command.AbstractCommand command,
Object[] buttons,
boolean visible)
|
void |
visibleTests(org.springframework.richclient.command.AbstractCommand command,
Object[] buttons)
|
Methods inherited from class org.springframework.richclient.test.SpringRichTestCase |
---|
createApplicationContext, createApplicationLifecycleAdvisor, doSetUp, doTearDown, getApplicationServices, registerBasicServices, setUp, tearDown |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ButtonTests()
Method Detail |
---|
protected void registerAdditionalServices(org.springframework.richclient.application.support.DefaultApplicationServices applicationServices)
registerAdditionalServices
in class SpringRichTestCase
public void testButtonEnabling()
public void enableTests(org.springframework.richclient.command.AbstractCommand command, Object[] buttons)
public void enableTest(org.springframework.richclient.command.AbstractCommand command, Object[] buttons, boolean enable)
public void testButtonVisible()
public void visibleTests(org.springframework.richclient.command.AbstractCommand command, Object[] buttons)
public void visibleTest(org.springframework.richclient.command.AbstractCommand command, Object[] buttons, boolean visible)
public void testMultipleFaceDescriptorsEnabling()
public void testAdditionalConditionToEnable() throws Exception
Exception
public void testAdditionalConditionToVisible() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |