org.jboss.test.util.test.propertyeditor
Class PropertyEditorsUnitTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.test.util.test.propertyeditor.PropertyEditorsUnitTestCase
All Implemented Interfaces:
junit.framework.Test

public class PropertyEditorsUnitTestCase
extends junit.framework.TestCase

Unit tests for the custom JBoss property editors

Version:
$Revision: 43534 $
Author:
Scott.Stark@jboss.org, Dimitris.Andreadis@jboss.org, Ales.Justin@jboss.org
See Also:
PropertyEditors

Constructor Summary
PropertyEditorsUnitTestCase(String name)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testDateEditor()
           
 void testDocumentElementEditors()
          Tests the DOM Document and Element editors.
 void testEditorSearchPath()
           
 void testJavaLangEditors()
          The mechanism for mapping java.lang.* variants of the primative types misses editors for java.lang.Boolean and java.lang.Integer.
 void testJBossEditors()
          Test custom JBoss property editors.
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyEditorsUnitTestCase

public PropertyEditorsUnitTestCase(String name)
Method Detail

setUp

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

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testEditorSearchPath

public void testEditorSearchPath()
                          throws Exception
Throws:
Exception

testJavaLangEditors

public void testJavaLangEditors()
                         throws Exception
The mechanism for mapping java.lang.* variants of the primative types misses editors for java.lang.Boolean and java.lang.Integer. Here we test the java.lang.* variants we expect editors for.

Throws:
Exception

testJBossEditors

public void testJBossEditors()
                      throws Exception
Test custom JBoss property editors.

Throws:
Exception

testDateEditor

public void testDateEditor()
                    throws Exception
Throws:
Exception

testDocumentElementEditors

public void testDocumentElementEditors()
Tests the DOM Document and Element editors.



Copyright © 2009 JBoss Inc.. All Rights Reserved.