sk.baka.tools
Class JavaUtilsTest

java.lang.Object
  extended by sk.baka.tools.JavaUtilsTest

public class JavaUtilsTest
extends Object

Tests the JavaUtils class.

Author:
Martin Vysny

Constructor Summary
JavaUtilsTest()
           
 
Method Summary
 void collectionIsNotAPrimitiveArray()
           
 void getExistingResource()
           
 void getNonexistentResource()
           
 void isUtilityClass()
           
 void loadPropertyFileClosesStream()
           
 void loadPropertyFileFromFilesystem()
           
 void loadPropertyFileFromResource()
           
 void objectArrayIsNotAPrimitiveArray()
           
 void testBeanAreNotEqual()
           
 void testBeanEqualityForDifferentClasses()
           
 void testBeanEquals()
           
 void testBeanEqualsNPE()
           
 void testBeanPropertyAccessorFailedRead()
           
 void testBeanPropertyAccessorFailedWrite()
           
 void testBeanPropertyAccessorRead()
           
 void testBeanPropertyAccessorWrite()
           
 void testBeanPropertyAccessorWrite1()
           
 void testBeanPropertyEnumerator()
           
 void testBlankArray()
           
 void testBlankCollection()
           
 void testBlankIterable()
           
 void testCloneDate()
           
 void testEmptyByteArray()
           
 void testEmptyCollection()
           
 void testEmptyIterable()
           
 void testEnumClasses()
           
 void testEquals()
           
 void testGetStacktrace()
           
 void testNonBlankIterables()
           
 void testNonEnumClasses()
           
 void testNotBlankByteArray()
           
 void testNotBlankCollection()
           
 void testNotEmptyByteArray()
           
 void testNotEmptyCollection()
           
 void testNotEmptyIterable()
           
 void testPrimitiveArrays()
           
 void toListCollection()
           
 void toListCollectionNotEqual()
           
 void toListEmpty()
           
 void toListInvalid()
           
 void toListObject()
           
 void toListPrimitives()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaUtilsTest

public JavaUtilsTest()
Method Detail

isUtilityClass

public void isUtilityClass()

collectionIsNotAPrimitiveArray

public void collectionIsNotAPrimitiveArray()

objectArrayIsNotAPrimitiveArray

public void objectArrayIsNotAPrimitiveArray()

testPrimitiveArrays

public void testPrimitiveArrays()

testEmptyByteArray

public void testEmptyByteArray()

testEmptyCollection

public void testEmptyCollection()

testEmptyIterable

public void testEmptyIterable()

testBlankArray

public void testBlankArray()

testBlankCollection

public void testBlankCollection()

testBlankIterable

public void testBlankIterable()

testNotEmptyByteArray

public void testNotEmptyByteArray()

testNotEmptyCollection

public void testNotEmptyCollection()

testNotEmptyIterable

public void testNotEmptyIterable()

testNotBlankByteArray

public void testNotBlankByteArray()

testNotBlankCollection

public void testNotBlankCollection()

testNonBlankIterables

public void testNonBlankIterables()

testCloneDate

public void testCloneDate()

getNonexistentResource

public void getNonexistentResource()
                            throws Exception
Throws:
Exception

getExistingResource

public void getExistingResource()
                         throws Exception
Throws:
Exception

loadPropertyFileClosesStream

public void loadPropertyFileClosesStream()
                                  throws Exception
Throws:
Exception

loadPropertyFileFromResource

public void loadPropertyFileFromResource()
                                  throws Exception
Throws:
Exception

loadPropertyFileFromFilesystem

public void loadPropertyFileFromFilesystem()
                                    throws Exception
Throws:
Exception

toListEmpty

public void toListEmpty()
                 throws Exception
Throws:
Exception

toListPrimitives

public void toListPrimitives()
                      throws Exception
Throws:
Exception

toListCollection

public void toListCollection()
                      throws Exception
Throws:
Exception

toListObject

public void toListObject()
                  throws Exception
Throws:
Exception

toListCollectionNotEqual

public void toListCollectionNotEqual()
                              throws Exception
Throws:
Exception

toListInvalid

public void toListInvalid()
                   throws Exception
Throws:
Exception

testEquals

public void testEquals()

testGetStacktrace

public void testGetStacktrace()

testBeanPropertyAccessorRead

public void testBeanPropertyAccessorRead()

testBeanPropertyAccessorFailedRead

public void testBeanPropertyAccessorFailedRead()

testBeanPropertyAccessorFailedWrite

public void testBeanPropertyAccessorFailedWrite()

testBeanPropertyAccessorWrite1

public void testBeanPropertyAccessorWrite1()

testBeanPropertyAccessorWrite

public void testBeanPropertyAccessorWrite()

testBeanPropertyEnumerator

public void testBeanPropertyEnumerator()

testBeanEquals

public void testBeanEquals()

testBeanEqualsNPE

public void testBeanEqualsNPE()

testBeanEqualityForDifferentClasses

public void testBeanEqualityForDifferentClasses()

testBeanAreNotEqual

public void testBeanAreNotEqual()

testEnumClasses

public void testEnumClasses()

testNonEnumClasses

public void testNonEnumClasses()


Copyright © 2009-2010. All Rights Reserved.