Class RoomTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by RoomTest
All Implemented Interfaces:
junit.framework.Test

public class RoomTest
extends junit.framework.TestCase

The test class RoomTest.

Version:
(a version number or a date)
Author:
(your name)

Constructor Summary
RoomTest()
          Default constructor for test class RoomTest
 
Method Summary
protected  void setUp()
          Sets up the test fixture.
protected  void tearDown()
          Tears down the test fixture.
 void testGetExit()
          Test case method Test to check that the correct item is returned by getExit
 void testGetItem()
          Test case method Test to check that the correct item is returned by getItem
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

RoomTest

public RoomTest()
Default constructor for test class RoomTest

Method Detail

setUp

protected void setUp()
Sets up the test fixture. Called before every test case method.

Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Tears down the test fixture. Called after every test case method.

Overrides:
tearDown in class junit.framework.TestCase

testGetExit

public void testGetExit()
Test case method Test to check that the correct item is returned by getExit


testGetItem

public void testGetItem()
Test case method Test to check that the correct item is returned by getItem