~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Restaurant Automation Project
Group 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Group Members:
Praveen Chekuri
Zachary Brown
Kartik Bhatnagar
Bill Fung
Pradnya Pisal

-------------
-------------
UNIT TESTS
--------------
--------------

   >>> JUnit Tests can be run on Eclipse
   >>> The java source test files are located under ManageMenu/src/menuPackage

Android
Click the Start Order Button
Click the confirm order button
    confirm that there a message saying to select items from the menu
Click the Send Order button
    confirm a message pops up saying please select an item from the menu first
Click each different food type
    confirm the proper food is displayed
Click an item from list
    confirm the proper information is displayed.
Click appetizers (i say this because you dont have to worry about sides)
Click Add To Order button
Click Confirm Order Button
    confirm that the appetizer is on the screen
Hit the back button
Click FlatBreads
Select A FlatBread
Hit the confirm order button
    The tablet should display a message saying Please Select a Side First
Select a side
Enter notes into the notes textbox
Hit add to order button
Hit confirm order button
    confirm that both items and all information is displayed
Change one of items note's text box.
Hit the back button.
Select Wings from food choices
Select any type of wings
Hit add to order
    a popup window should be displayed saying select your sauces.
    Confirm that Number of Wings % 6 = number of sauces you can choose.
Select the maximum number of sauces
Hit the back button the maximum number of times
    Confirm the original message is re-displayed
Select three different sauces and then press the ok button
Hit the add to order button
Hit the confirm order button
    confirm all items are displayed
    confirm that the change you made to the textbox before is still changed
Delete one of the items from the list
Hit the back button
Select Wings again
Select a type of wings where number % 6 > 1 and hit the add to order button
Hit the Back Button
    Confirm you are returned to the previous screen
Hit the add to order button again
Select a number of sacues less than the maximum amount and hit the ok button
Hit the confirm order button
    confirm that everything is there and is correct.
Hit the Send Order Button
    confirm that you are returned to the main page and the status bar has been updated.
    confirm that the chef interface has been updated to show the new order
Hit Start Order
Hit confirm order
    confirm that things you already sent can no longer be changed.
Hit the Send Order button
    confirm that a message says order already sent
Hit the back button
Add an item to your order
Hit the confirm order button
    confirm that the new item is there and that it can be edited/removed
Add One more item to the order
Hit the confirm order button and send the order
Return to the confirm order page
    confirm that all items are grayed out again
    confirm that the chef interface displays all information
ON CHEF SCREEN
Hit the Began Button
    confirm that the tablet updates its status progress bar
Hit the 15min button
    confirm the tablet updates its status bar
Hit the 5min button
    confirm the tablet updates its status bar
Hit Done
Select No from popup menu
    confirm that nothing changes
Hit Done and select Yes from popup
    confrm that the order is removed from the screen.
    confirm the tablet has updated its status bar
ON TABLET
add another item to order and hit confirm order
    confirm everything is still there
hit the send order button
    confirm that the status bar resets
    confirm that the chef's display only shows items that were not marked done.
hit the hidden button
enter a wrong password    
    confirm that nothing happens
enter correct password
    confirm that the order has been completely removed from tablet
    confirm that status has been reset
    confirm in database that order is empty for that macaddress
    confirm chef screen does not show order for that macaddress

  