org.jopendocument.util.convertor
Class NumberConvertorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jopendocument.util.convertor.NumberConvertorTest
All Implemented Interfaces:
junit.framework.Test

public class NumberConvertorTest
extends junit.framework.TestCase


Constructor Summary
NumberConvertorTest()
           
 
Method Summary
static Map<Class<? extends Number>,Number> getMaxValues()
           
static Map<Class<? extends Number>,Number> getMinValues()
           
static boolean isFloat(Number n)
           
 void testConvert()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumberConvertorTest

public NumberConvertorTest()
Method Detail

getMinValues

public static Map<Class<? extends Number>,Number> getMinValues()
                                                        throws IllegalAccessException,
                                                               NoSuchFieldException
Throws:
IllegalAccessException
NoSuchFieldException

getMaxValues

public static Map<Class<? extends Number>,Number> getMaxValues()
                                                        throws IllegalAccessException,
                                                               NoSuchFieldException
Throws:
IllegalAccessException
NoSuchFieldException

isFloat

public static boolean isFloat(Number n)

testConvert

public void testConvert()
                 throws Exception
Throws:
Exception


Copyright © 2010 jOpenDocument All Rights Reserved.