net.sourceforge.demetrix.test.properties
Class JavaBeanBasedDemetrixPropertiesHolderTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byjunitx.framework.PrivateTestCase
              extended bynet.sourceforge.demetrix.test.properties.JavaBeanBasedDemetrixPropertiesHolderTest
All Implemented Interfaces:
Test

public class JavaBeanBasedDemetrixPropertiesHolderTest
extends PrivateTestCase

Author:
Dimitri Pissarenko

Field Summary
private  Logger logger
           
 
Fields inherited from class junitx.framework.PrivateTestCase
NOARGS
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JavaBeanBasedDemetrixPropertiesHolderTest(String arg0)
          Constructor for JavaBeanBasedDemetrixPropertiesHolderTest.
 
Method Summary
static void main(String[] args)
           
 void testBug878819()
          Bugfix test case ================ This test case reproduces the bug #878819.
 void testConstructorWithIgnoredProperties()
           
 void testCreateCorrespondingProperty()
           
 void testCreateCorrespondingPropertyOnPrimitives()
           
 void testCreateDemetrixPropertiesStorage()
           
 void testCreateTypeMappingTable()
           
 void testUpdateUnderlyingBean()
           
 
Methods inherited from class junitx.framework.PrivateTestCase
asBoolean, asByte, asChar, asDouble, asFloat, asInt, asLong, asShort, dumpKeys, get, get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getShort, invoke, invokeWithKey, newInstance, newInstanceWithKey
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

private Logger logger
Constructor Detail

JavaBeanBasedDemetrixPropertiesHolderTest

public JavaBeanBasedDemetrixPropertiesHolderTest(String arg0)
Constructor for JavaBeanBasedDemetrixPropertiesHolderTest.

Parameters:
arg0 -
Method Detail

main

public static void main(String[] args)

testCreateCorrespondingProperty

public void testCreateCorrespondingProperty()

testCreateCorrespondingPropertyOnPrimitives

public void testCreateCorrespondingPropertyOnPrimitives()

testCreateTypeMappingTable

public void testCreateTypeMappingTable()

testCreateDemetrixPropertiesStorage

public void testCreateDemetrixPropertiesStorage()

testBug878819

public void testBug878819()
Bugfix test case ================ This test case reproduces the bug #878819. https://sourceforge.net/tracker/index.php?func=detail&aid=878819&group_id=97569&atid=618426 JavaBeanBasedDemetrixPropertiesHolder, unknown properties JavaBeanBasedDemetrixPropertiesHolder does not work with bean properties, which are unknown to him (which are not present in typeMappingTable of JavaBeanBasedDemetrixPropertiesHolder.


testConstructorWithIgnoredProperties

public void testConstructorWithIgnoredProperties()

testUpdateUnderlyingBean

public void testUpdateUnderlyingBean()