org.eclipse.birt.report.tests.model.api.util
Class ParameterValidationUtilTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.eclipse.birt.report.tests.model.BaseTestCase
              extended byorg.eclipse.birt.report.tests.model.api.util.ParameterValidationUtilTest
All Implemented Interfaces:
junit.framework.Test

public class ParameterValidationUtilTest
extends BaseTestCase

Tests the ParameterUtil.


Field Summary
 
Fields inherited from class org.eclipse.birt.report.tests.model.BaseTestCase
design, designHandle, GOLDEN_FOLDER, INPUT_FOLDER, OUTPUT_FOLDER, PLUGIN_NAME, PLUGIN_PATH, PLUGINLOC, ROM_DEF_NAME, sessionHandle, TEST_FOLDER, TEST_LOCALE
 
Constructor Summary
ParameterValidationUtilTest(java.lang.String name)
           
 
Method Summary
protected  void setUp()
           
 void testBoolean()
          Tests the validation of the boolean type.
 void testDateTime()
           
 void testGetDisplayValue()
           
 void testNumber()
          Tests the validation of the float and decimal type.
 void testString()
          Tests the validation of the string type.
 
Methods inherited from class org.eclipse.birt.report.tests.model.BaseTestCase
compareErrors, compareTextFile, compareTextFileAsResource, createDesign, createDesign, dumpErrors, getClassFolder, getFullQualifiedClassName, openDesign, openDesign, openDesign, openDesign, openDesignAsResource, openDesignAsResource, printSemanticError, printSemanticErrors, printSyntaxError, saveAs, saveAsInTempDir, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterValidationUtilTest

public ParameterValidationUtilTest(java.lang.String name)
Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class BaseTestCase
Throws:
java.lang.Exception

testBoolean

public void testBoolean()
                 throws java.lang.Exception
Tests the validation of the boolean type.

Throws:
java.lang.Exception

testNumber

public void testNumber()
                throws java.lang.Exception
Tests the validation of the float and decimal type.

Throws:
java.lang.Exception

testDateTime

public void testDateTime()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testString

public void testString()
                throws java.lang.Exception
Tests the validation of the string type.

Throws:
java.lang.Exception

testGetDisplayValue

public void testGetDisplayValue()