org.ujac.util.test
Class BeanUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ujac.util.test.BeanUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class BeanUtilsTest
extends junit.framework.TestCase

Name: BeanUtilsTest
Description: Tests for the BeanUtils class.

Author:
lauerc

Nested Class Summary
 class BeanUtilsTest.TestBean
          Name: TestBean
Description: Test beans.
 
Constructor Summary
BeanUtilsTest()
           
 
Method Summary
protected  void setUp()
           
 void testBetween()
          Tests the between comparison.
 void testCompare()
          Tests the compare method.
 void testEquals()
          Tests the equals comparison.
 void testEqualsCaseInsensitive()
          Tests the equals comparison.
 void testGetProperty()
          Tests the getProperty method.
 void testSetProperty()
          Tests the setProperty method.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

BeanUtilsTest

public BeanUtilsTest()
Method Detail

setUp

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

testEquals

public void testEquals()
                throws Exception
Tests the equals comparison.

Throws:
Exception - In case something went wrong.

testEqualsCaseInsensitive

public void testEqualsCaseInsensitive()
                               throws Exception
Tests the equals comparison.

Throws:
Exception - In case something went wrong.

testCompare

public void testCompare()
                 throws Exception
Tests the compare method.

Throws:
Exception - In case something went wrong.

testBetween

public void testBetween()
                 throws Exception
Tests the between comparison.

Throws:
Exception - In case something went wrong.

testGetProperty

public void testGetProperty()
                     throws Exception
Tests the getProperty method.

Throws:
Exception - In case something went wrong.

testSetProperty

public void testSetProperty()
                     throws Exception
Tests the setProperty method.

Throws:
Exception - In case something went wrong.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.