public class TestManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
COURIER |
static int |
CUSTOMER |
static int |
MANAGER |
static int |
RESTAURANT |
static int |
UNKNOWN |
Constructor and Description |
---|
TestManager() |
Modifier and Type | Method and Description |
---|---|
void |
testActivateUser() |
void |
testAddUser() |
void |
testChangeServiceFee() |
void |
testDesactivateUser() |
void |
testGetAverageIncomePerCustomer() |
void |
testGetLeastActiveCourier() |
void |
testGetLeastSellingRestaurant() |
void |
testGetMostActiveCourier() |
void |
testGetMostSellingRestaurant() |
void |
testGetTotalIncome() |
void |
testGetTotalProfit() |
void |
testRemoveUser() |
void |
testSetDeliveryPolicy() |
void |
testSetTargetProfitPolicy() |
public static final int UNKNOWN
public static final int COURIER
public static final int RESTAURANT
public static final int CUSTOMER
public static final int MANAGER
public void testAddUser() throws ExceptionUnknownStartegyType, ExceptionUnknownTypeOfUser
public void testRemoveUser() throws ExceptionUnknownStartegyType, ExceptionUnknownTypeOfUser
public void testChangeServiceFee() throws ExceptionUnknownStartegyType
ExceptionUnknownStartegyType
public void testGetTotalIncome() throws ExceptionUnknownStartegyType, ExceptionUnknownDishType, ExceptionUnknownTypeOfUser
public void testGetTotalProfit() throws ExceptionUnknownStartegyType, ExceptionUnknownDishType, ExceptionUnknownTypeOfUser
public void testGetAverageIncomePerCustomer() throws ExceptionUnknownStartegyType, ExceptionUnknownDishType, ExceptionUnknownTypeOfUser
public void testSetTargetProfitPolicy() throws ExceptionUnknownStartegyType
ExceptionUnknownStartegyType
public void testSetDeliveryPolicy() throws ExceptionUnknownStartegyType
ExceptionUnknownStartegyType
public void testGetMostSellingRestaurant() throws ExceptionUnknownStartegyType, ExceptionUnknownDishType, ExceptionUnknownTypeOfUser
public void testGetLeastSellingRestaurant() throws ExceptionUnknownStartegyType, ExceptionUnknownDishType, ExceptionUnknownTypeOfUser
public void testGetLeastActiveCourier() throws ExceptionUnknownStartegyType, ExceptionUnknownDishType, ExceptionUnknownTypeOfUser
public void testGetMostActiveCourier() throws ExceptionUnknownStartegyType, ExceptionUnknownDishType, ExceptionUnknownTypeOfUser
public void testActivateUser() throws ExceptionUnknownStartegyType, ExceptionUnknownTypeOfUser
public void testDesactivateUser() throws ExceptionUnknownStartegyType, ExceptionUnknownTypeOfUser