com.mtp.gui.widget
Class IntegerTextFieldTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.mtp.gui.widget.IntegerTextFieldTest
All Implemented Interfaces:
Test

public class IntegerTextFieldTest
extends TestCase


Constructor Summary
IntegerTextFieldTest(String name)
           
 
Method Summary
static Test suite()
           
 void testDefaultConstructor()
           
 void testDefaultIntegerModelConstructor()
           
 void testSetNullTextMakesValueNegativeOne()
           
 void testUpdateModelValueUpdatesText()
           
 void testUpdateTextUpdatesModelValue()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerTextFieldTest

public IntegerTextFieldTest(String name)
Method Detail

suite

public static Test suite()

testDefaultConstructor

public void testDefaultConstructor()
                            throws Exception
Exception

testDefaultIntegerModelConstructor

public void testDefaultIntegerModelConstructor()
                                        throws Exception
Exception

testUpdateModelValueUpdatesText

public void testUpdateModelValueUpdatesText()
                                     throws Exception
Exception

testUpdateTextUpdatesModelValue

public void testUpdateTextUpdatesModelValue()
                                     throws Exception
Exception

testSetNullTextMakesValueNegativeOne

public void testSetNullTextMakesValueNegativeOne()
                                          throws Exception
Exception


Copyright © 2002 Matthew Pekar. All Rights Reserved.