com.iternum.swlink.test
Class TestProxySupport

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

public class TestProxySupport
extends junit.framework.TestCase

This testcase tests the ProxySupport of the Connections.

Author:
Karl F. Banke

Constructor Summary
TestProxySupport()
          Create the TestProxySupport.
 
Method Summary
 void testActivateOnSetSource()
          Test if activation when setting the source works.
 void testActivateOnSetSourceEmptyProxy()
          Test setting an empty proxy.
 void testActivateOnSetSourceEmptyProxyMirrored()
          Test setting an empty proxy.
 void testPathSourceProxy()
          Test a sourceProxy, where both target and source are resolved using nested properties.
 void testPathTargetProxy()
          Test a targetProxy.
 void testPathTargetSourceProxy()
          Test a target proxy and a source proxy, where both the target and the source object are resolved using nested properties.
 void testSourceProxy()
          Test a sourceProxy.
 void testTargetProxy()
          Test a targetProxy.
 void testTargetSourceProxy()
          Test a target proxy and a source proxy.
 
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

TestProxySupport

public TestProxySupport()
Create the TestProxySupport.

Method Detail

testSourceProxy

public void testSourceProxy()
Test a sourceProxy.


testPathSourceProxy

public void testPathSourceProxy()
Test a sourceProxy, where both target and source are resolved using nested properties.


testTargetProxy

public void testTargetProxy()
Test a targetProxy.


testPathTargetProxy

public void testPathTargetProxy()
Test a targetProxy. Tests property synchronization and delegate links with nested paths at target and source.


testTargetSourceProxy

public void testTargetSourceProxy()
Test a target proxy and a source proxy.


testPathTargetSourceProxy

public void testPathTargetSourceProxy()
Test a target proxy and a source proxy, where both the target and the source object are resolved using nested properties.


testActivateOnSetSource

public void testActivateOnSetSource()
Test if activation when setting the source works.


testActivateOnSetSourceEmptyProxy

public void testActivateOnSetSourceEmptyProxy()
Test setting an empty proxy.


testActivateOnSetSourceEmptyProxyMirrored

public void testActivateOnSetSourceEmptyProxyMirrored()
Test setting an empty proxy.