tests
Class IETest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bytests.IETest
All Implemented Interfaces:
junit.framework.Test

public class IETest
extends junit.framework.TestCase

Tests the Information Entity class.

Author:
Piotrek

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
IETest()
           
 
Method Summary
 void testAddCaseReference()
          Tests adding and removing of the references to the cases.
 void testContainsCase()
          Tests checking if the IE has a reference to the given case.
 void testEqualsIE()
          Tests the equality test.
 void testEqualsObject()
          Tests the equality test.
 void testGetCaseReferencesCount()
          Tests getting of the cases references count.
 void testIEIE()
          Tests the copy constructor.
 void testIEStringString()
          Tests the constructor.
 
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

IETest

public IETest()
Method Detail

testIEStringString

public void testIEStringString()
Tests the constructor.


testIEIE

public void testIEIE()
Tests the copy constructor.


testEqualsObject

public void testEqualsObject()
Tests the equality test.


testEqualsIE

public void testEqualsIE()
Tests the equality test.


testAddCaseReference

public void testAddCaseReference()
Tests adding and removing of the references to the cases.


testGetCaseReferencesCount

public void testGetCaseReferencesCount()
Tests getting of the cases references count.


testContainsCase

public void testContainsCase()
Tests checking if the IE has a reference to the given case.