org.springframework.richclient.command.config
Class CommandButtonLabelInfoTests

Show UML class diagram
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.richclient.command.config.CommandButtonLabelInfoTests
All Implemented Interfaces:
junit.framework.Test

public class CommandButtonLabelInfoTests
extends junit.framework.TestCase

Author:
Peter De Bruycker, Kevin Stembridge

Constructor Summary
CommandButtonLabelInfoTests()
          Creates a new LabelInfoTests.
 
Method Summary
static void pass()
           
protected  void setUp()
           
 void testConfigureJButton()
           
 void testConfigureJMenuItem()
           
 void testConfigureNull()
           
 void testConstructorLabelInfo()
           
 void testConstructorLabelInfoNoAccelerator()
           
 void testConstructorNullAsLabelInfo()
           
 void testConstructorText()
           
 void testCreateButtonLabelInfo()
           
 void testCreateButtonLabelInfoInvalidAccelerator()
           
 void testCreateButtonLabelInfoNoAccelerator()
           
 void testInvalidSyntax()
          Confirms that exceptions are thrown for label descriptors that violate the syntax rules.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

CommandButtonLabelInfoTests

public CommandButtonLabelInfoTests()
Creates a new LabelInfoTests.

Method Detail

pass

public static void pass()

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.setUp()

testConstructorLabelInfo

public void testConstructorLabelInfo()

testConstructorLabelInfoNoAccelerator

public void testConstructorLabelInfoNoAccelerator()

testConstructorText

public void testConstructorText()

testConstructorNullAsLabelInfo

public void testConstructorNullAsLabelInfo()

testConfigureNull

public void testConfigureNull()

testConfigureJButton

public void testConfigureJButton()

testConfigureJMenuItem

public void testConfigureJMenuItem()

testCreateButtonLabelInfoNoAccelerator

public void testCreateButtonLabelInfoNoAccelerator()

testCreateButtonLabelInfo

public void testCreateButtonLabelInfo()

testCreateButtonLabelInfoInvalidAccelerator

public void testCreateButtonLabelInfoInvalidAccelerator()

testInvalidSyntax

public void testInvalidSyntax()
Confirms that exceptions are thrown for label descriptors that violate the syntax rules.



Copyright © 2004-2009 The Spring Framework. All Rights Reserved.