|
CoCoME System Tests | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUserDisplay
Interface of the display visible to the user displaying product information and the running total. As the exact format of the display output is not specified, there are many methods to dermine the meaning of the display contents. These must be implemented by the glue code (which in turn should know enough about the actual implementation to extract this information).
Method Summary | |
---|---|
boolean |
isMessageForCreditCardNotPossibleShown()
Determines if the display currently shows the apropriate message to indicate payment by credit card is not possible. |
boolean |
isMessageForCreditCardPaymentSuccessfulShown()
Determines if the display currently shows the apropriate message to indicate payment by credit card was successful. |
boolean |
isMessageForCreditCardValidationFailedShown()
Determines if the display currently shows the apropriate message to indicate a failed validation of a credit card. |
boolean |
isMessageForExpressModeShown()
Determines if the display currently shows the aporpriate message to indicate express mode. |
boolean |
isMessageForInvalidBarcodeShown()
Determines if the display currently shows the apropriate message to indicate scan of an invalid / unkown barcode; returns false otherwise |
boolean |
isPriceShown(int expectedPrice)
Determines if the display currently shows the expected price of a product, returns false if not. |
boolean |
isProductNameShown(java.lang.String expectedName)
Determines if the display currently shows the expected name of a product, returns false if not. |
Methods inherited from interface org.cocome.tradingsystem.systests.interfaces.IUpdateReceiver |
---|
waitForUpdate |
Method Detail |
---|
boolean isMessageForInvalidBarcodeShown() throws java.lang.Exception
java.lang.Exception
boolean isProductNameShown(java.lang.String expectedName) throws java.lang.Exception
expectedName
- -
name of prodouct to be expeted in display
java.lang.Exception
boolean isPriceShown(int expectedPrice) throws java.lang.Exception
expectedPrice
- -
price of product to be expeted in display
java.lang.Exception
boolean isMessageForExpressModeShown() throws java.lang.Exception
java.lang.Exception
boolean isMessageForCreditCardNotPossibleShown() throws java.lang.Exception
java.lang.Exception
boolean isMessageForCreditCardPaymentSuccessfulShown() throws java.lang.Exception
java.lang.Exception
boolean isMessageForCreditCardValidationFailedShown() throws java.lang.Exception
java.lang.Exception
|
CoCoME System Tests | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |