com.iternum.swlink.test
Class TestPropertyActions

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.iternum.swlink.test.TestPropertyActions
All Implemented Interfaces:
junit.framework.Test

public class TestPropertyActions
extends junit.framework.TestCase

The tests in this testcase are used to determine the functioning of various property and event actions.

Author:
Karl F. Banke

Constructor Summary
TestPropertyActions()
           
 
Method Summary
 void testBidirectionalPropertySynchronization()
          Test the synchronization of two properties.
 void testBidirectionalPropertySynchronizationWithConversion()
          Test the synchronization of two properties.
 void testBidirectionalSyncWithOtherActivator()
          Test the synchronization of two properties.
 void testInvokeMethodFromPropertyChange()
          Check method invocation from a PropertyChange.
 void testPathInvokeMethodFromPropertyChange()
          Check method invocation from a PropertyChange where both the target of the method invocation as well as the source of the property change can be qualified using property paths.
 void testPathPropertyBidirectional()
          Tests resolving properties by path for property synchronization.
 void testPathPropertyUnidirectional()
          Tests resolving properties by path for property synchronization.
 void testUnidirectionalPropertySynchronization()
          Test the synchronization of two properties.
 
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
 

Constructor Detail

TestPropertyActions

public TestPropertyActions()
Method Detail

testPathInvokeMethodFromPropertyChange

public void testPathInvokeMethodFromPropertyChange()
                                            throws java.lang.Exception
Check method invocation from a PropertyChange where both the target of the method invocation as well as the source of the property change can be qualified using property paths.

Throws:
java.lang.Exception - - Throw any exception if an error occurs

testInvokeMethodFromPropertyChange

public void testInvokeMethodFromPropertyChange()
                                        throws java.lang.Exception
Check method invocation from a PropertyChange.

Throws:
java.lang.Exception - - Throw any exception if an error occurs

testUnidirectionalPropertySynchronization

public void testUnidirectionalPropertySynchronization()
                                               throws java.lang.Exception
Test the synchronization of two properties.

Throws:
java.lang.Exception - - In case of the test failure

testBidirectionalPropertySynchronizationWithConversion

public void testBidirectionalPropertySynchronizationWithConversion()
                                                            throws java.lang.Exception
Test the synchronization of two properties.

Throws:
java.lang.Exception - - In case of the test failure

testBidirectionalPropertySynchronization

public void testBidirectionalPropertySynchronization()
                                              throws java.lang.Exception
Test the synchronization of two properties.

Throws:
java.lang.Exception - - In case of the test failure

testBidirectionalSyncWithOtherActivator

public void testBidirectionalSyncWithOtherActivator()
                                             throws java.lang.Exception
Test the synchronization of two properties.

Throws:
java.lang.Exception - - In case of the test failure

testPathPropertyUnidirectional

public void testPathPropertyUnidirectional()
Tests resolving properties by path for property synchronization.


testPathPropertyBidirectional

public void testPathPropertyBidirectional()
Tests resolving properties by path for property synchronization.