CoCoME System Tests

org.cocome.tradingsystem.systests.interfaces
Interface IPrinter

All Superinterfaces:
IUpdateReceiver

public interface IPrinter
extends IUpdateReceiver

Interface of the printer which is used to print receipts. This has a lot less detail than the UserDisplay, because testing correct system reaction can be checked by investigating the UserDisplay alone. This interface is only used to see if the printer gets any messages at all.

Version:
$Rev: 47 $
Author:
Benjamin Hummel, $Author: hummel $

Method Summary
 java.lang.String getLastPrintout()
          Returns the last printout produced by this printer.
 
Methods inherited from interface org.cocome.tradingsystem.systests.interfaces.IUpdateReceiver
waitForUpdate
 

Method Detail

getLastPrintout

java.lang.String getLastPrintout()
                                 throws java.lang.Exception
Returns the last printout produced by this printer. As the format of the printout is nowhere defined, this is used for logging purposes only.

Throws:
java.lang.Exception

CoCoME System Tests

CoCoME System Tests - 0.1