CoCoME System Tests

Uses of Interface
org.cocome.tradingsystem.systests.interfaces.IProduct

Packages that use IProduct
org.cocome.tradingsystem.systests.interfaces All interfaces that have to be implemented by a test driver (or glue code). 
org.cocome.tradingsystem.systests.scenarios This package contains the test scenarios for the trading system. 
org.cocome.tradingsystem.systests.util Support classes for generating products and stock items. 
 

Uses of IProduct in org.cocome.tradingsystem.systests.interfaces
 

Methods in org.cocome.tradingsystem.systests.interfaces that return IProduct
 IProduct IEnterprise.createProduct(int barcode, int purchasePrice, java.lang.String name)
          Creates a new product.
 

Methods in org.cocome.tradingsystem.systests.interfaces with parameters of type IProduct
 void IOrder.addOrderItem(IProduct product, int amount)
          Adds a item to this order.
 boolean IEnterprise.existsProductTransfer(IProduct product, IStorePC storeFrom, IStorePC storeTo)
          Returns whether there is a product transfer requested (might be visible by orders in the database).
 int IStorePC.getAmount(IProduct product)
          Get the current amount of a product in this store.
 void IStorePC.insertStockItem(IProduct product, int salesPrice, int amount, int minAmount)
          Insert a new item into the stock of this store.
 

Uses of IProduct in org.cocome.tradingsystem.systests.scenarios
 

Fields in org.cocome.tradingsystem.systests.scenarios declared as IProduct
protected  IProduct[] ProcessSaleBase.products
          The list of products which where bought
 

Uses of IProduct in org.cocome.tradingsystem.systests.util
 

Fields in org.cocome.tradingsystem.systests.util declared as IProduct
(package private)  IProduct GeneratedProduct.product
          The product itself.
 

Methods in org.cocome.tradingsystem.systests.util that return IProduct
 IProduct GeneratedProduct.getProduct()
          Returns the product.
 

Constructors in org.cocome.tradingsystem.systests.util with parameters of type IProduct
GeneratedProduct(int barcode, int purchasePrice, java.lang.String name, IProduct product)
          Create a new instance.
 


CoCoME System Tests

CoCoME System Tests - 0.1