Class ParkingControlTest

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

public class ParkingControlTest
extends junit.framework.TestCase

The test class ParkingControlTest.

Version:
2005-12-10
Author:
Nicola Asuni

Field Summary
(package private)  Calendar now
           
 
Constructor Summary
ParkingControlTest()
          Default constructor for test class ParkingControlTest
ParkingControlTest(String s)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
          Sets up the test fixture.
static junit.framework.Test suite()
           
protected  void tearDown()
          Tears down the test fixture.
 void testAddCar()
           
 void testAverageOccupancy()
           
 void testAverageRevenue()
           
 void testExit()
           
 void testGetPrice()
           
 void testHowMany()
           
 void testPayment()
           
 
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
 

Field Detail

now

Calendar now
Constructor Detail

ParkingControlTest

public ParkingControlTest()
Default constructor for test class ParkingControlTest


ParkingControlTest

public ParkingControlTest(String s)
Method Detail

main

public static void main(String[] args)

setUp

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

Overrides:
setUp in class junit.framework.TestCase

suite

public static junit.framework.Test suite()

tearDown

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

Overrides:
tearDown in class junit.framework.TestCase

testAddCar

public void testAddCar()

testAverageOccupancy

public void testAverageOccupancy()

testAverageRevenue

public void testAverageRevenue()

testExit

public void testExit()

testGetPrice

public void testGetPrice()

testHowMany

public void testHowMany()

testPayment

public void testPayment()