com.mtp.model
Class IntegerDocumentTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.mtp.model.IntegerDocumentTest
All Implemented Interfaces:
Test

public class IntegerDocumentTest
extends TestCase


Constructor Summary
IntegerDocumentTest(String name)
           
 
Method Summary
static Test suite()
           
 void testGetValue()
           
 void testGetValueNullStringReturnsNegativeOne()
           
 void testOnlyIntCharsAllowed()
           
 
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

IntegerDocumentTest

public IntegerDocumentTest(String name)
Method Detail

suite

public static Test suite()

testOnlyIntCharsAllowed

public void testOnlyIntCharsAllowed()
                             throws BadLocationException
BadLocationException

testGetValue

public void testGetValue()
                  throws BadLocationException
BadLocationException

testGetValueNullStringReturnsNegativeOne

public void testGetValueNullStringReturnsNegativeOne()
                                              throws BadLocationException
BadLocationException


Copyright © 2002 Matthew Pekar. All Rights Reserved.