edu.memphis.ccrg.lida.framework.shared
Class LinkImplTest

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.shared.LinkImplTest

public class LinkImplTest
extends java.lang.Object

This is a JUnit class which can be used to test methods of the LinkImpl class

Author:
Siminder Kaur

Constructor Summary
LinkImplTest()
           
 
Method Summary
 void setUp()
          This method is called before running each test case to initialize the objects
static void setUpBeforeClass()
           
 void testComplexLink()
           
 void testComplexLink2()
           
 void testEqualsObject()
          This method is used to test the LinkImpl.equals() method
 void testGetReferencedLink()
          This method is used to test the LinkImpl.GetReferencedLink() method
 void testGetSink()
          This method is used to test the LinkImpl.getSink() method
 void testGetSource()
          This method is used to test the LinkImpl.getSource() method
 void testGetType()
          This method is used to test the LinkType.getSource() method
 void testLinkImpl()
          This method is used to test the LinkImpl.LinkImpl(Linkable source, Linkable sink, LinkType type, String ids) method
 void testSetReferencedLink()
          This method is used to test the LinkImpl.SetReferencedLink() method
 void testSetSink()
          This method is used to test the LinkImpl.SetSink() method
 void testSetSource()
          This method is used to test the LinkImpl.SetSource() method
 void testSetType()
          This method is used to test the LinkImpl.SetType() method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkImplTest

public LinkImplTest()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()

setUp

public void setUp()
           throws java.lang.Exception
This method is called before running each test case to initialize the objects

Throws:
java.lang.Exception - e

testEqualsObject

public void testEqualsObject()
This method is used to test the LinkImpl.equals() method


testGetSink

public void testGetSink()
This method is used to test the LinkImpl.getSink() method


testGetSource

public void testGetSource()
This method is used to test the LinkImpl.getSource() method


testGetType

public void testGetType()
This method is used to test the LinkType.getSource() method


testSetSink

public void testSetSink()
This method is used to test the LinkImpl.SetSink() method


testSetSource

public void testSetSource()
This method is used to test the LinkImpl.SetSource() method


testSetType

public void testSetType()
This method is used to test the LinkImpl.SetType() method


testGetReferencedLink

public void testGetReferencedLink()
This method is used to test the LinkImpl.GetReferencedLink() method


testSetReferencedLink

public void testSetReferencedLink()
This method is used to test the LinkImpl.SetReferencedLink() method


testLinkImpl

public void testLinkImpl()
This method is used to test the LinkImpl.LinkImpl(Linkable source, Linkable sink, LinkType type, String ids) method


testComplexLink

public void testComplexLink()

testComplexLink2

public void testComplexLink2()