Tests
Class ConcordanceResultTest

java.lang.Object
  extended by Tests.ConcordanceResultTest

public class ConcordanceResultTest
extends java.lang.Object

Version:
1.00 This Test Class is designed to to test the functionality of the ConcordanceResult Class
Author:
Jonathan Field jof2@aber.ac.uk 073717922

Constructor Summary
ConcordanceResultTest()
           
 
Method Summary
 void setUp()
           
 void testSettersAndGetters()
          This tests the functionality of the set and get methods used to access instance variables in the ConcordanceResults class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcordanceResultTest

public ConcordanceResultTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

testSettersAndGetters

public void testSettersAndGetters()
This tests the functionality of the set and get methods used to access instance variables in the ConcordanceResults class. The test creates a new empty ConcordanceResult object, then sets the context variable and linenumber variable. The variables are then compared to ensure they are equal to the variables that have been entered, thus proving that the set and get methods are functioning correctley.