Index
All Classes|All Packages|Constant Field Values|Serialized Form
T
- testAddDietaryRestrictionDoesNotExistToAccount() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to add a dietary restriction that does not exist to an account that does exist
- testAddDietaryRestrictionToAccount() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether a dietary restriction can be added to an account
- testAddDietaryRestrictionToAccountUserDoesNotExist() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to add a dietary restriction to an account that does not exist
- testAddRecipe() - Method in class com.cis.gorecipe.controller.RecipeControllerTest
-
Test whether a valid recipe can be added
- testCreateNewUser() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether a new user (with complete and valid data) can be created
- testCreateNewUserWithMissingData() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to create a user with invalid data
- testCreateUserWithNonUniqueData() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to create a user that contains non-unique information such as an already used email or username
- testDeleteRecipe() - Method in class com.cis.gorecipe.controller.RecipeControllerTest
-
Test whether a recipe that exists can be deleted
- testDeleteRecipeDoesntExist() - Method in class com.cis.gorecipe.controller.RecipeControllerTest
-
Test whether the API will reject an attempt to delete a recipe that doesn't exist
- testDeleteUser() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether a user that exists can be successfully deleted
- testDeleteUserDoesNotExist() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to delete a user that does not exist
- testGetAllRecipes() - Method in class com.cis.gorecipe.controller.RecipeControllerTest
-
Test whether a list of all recipes can be retrieved
- testGetImage() - Method in class com.cis.gorecipe.controller.FoodImageControllerTest
-
Test whether a specified image can be retrieved
- testGetImageNotExists() - Method in class com.cis.gorecipe.controller.FoodImageControllerTest
-
Test whether the API will reject an attempt to retrieve an image that doesn't exist
- testGetRecipe() - Method in class com.cis.gorecipe.controller.RecipeControllerTest
-
Test whether a recipe can be retrieved via its ID
- testGetRecipeDoesntExist() - Method in class com.cis.gorecipe.controller.RecipeControllerTest
-
Test whether the API will reject an attempt to get a recipe using an invalid ID
- testGetSavedRecipes() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether a user's saved recipes can be retrieved
- testGetSavedRecipesUserDoesNotExist() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to retrieve recipes from an account that does not exist
- testGetUser() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the data of user that exists can be retrieved
- testGetUserDoesNotExist() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to retrieve the data of a user that does not exist
- testGetUserImages() - Method in class com.cis.gorecipe.controller.FoodImageControllerTest
-
Test whether the images uploaded by a specific user can be retrieved
- testGetUserNotExistsImages() - Method in class com.cis.gorecipe.controller.FoodImageControllerTest
-
Test whether the API will reject an attempt to the images of a user that doesn't exist
- testLoginFailure() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to log in with an incorrect password
- testLoginSuccess() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will return a user's data when they have successfully logged in
- testLoginWithUserDoesNotExist() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to log in with a username that does not belong to any account
- testRemoveDietaryRestrictionDoesNotExistFromAccount() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to remove a dietary restriction that does not exist from an account that does exist
- testRemoveDietaryRestrictionFromAccount() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether a dietary restriction can be removed from an account
- testRemoveDietaryRestrictionFromAccountUserDoesNotExist() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to remove a dietary restriction from an account that does not exist
- testSaveRecipeDoesNotExistToAccount() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to save a recipe that does not exist to an account that does exist
- testSaveRecipeToAccount() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether a recipe that exists can be saved to a user account that exists
- testSaveRecipeToAccountUserDoesNotExist() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to save a recipe that exists to an account that does not exist
- testSearchRecipes() - Method in class com.cis.gorecipe.controller.RecipeControllerTest
-
Test whether a subset of recipes can be returned based on a search query
- testUpdateUser() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether a user that exists can have their information (e.g.
- testUpdateUserDoesNotExist() - Method in class com.cis.gorecipe.controller.UserControllerTest
-
Test whether the API will reject an attempt to update a user that does not exist
- testUploadImage() - Method in class com.cis.gorecipe.controller.FoodImageControllerTest
-
Test whether a JPG image can be uploaded and will return a list of ingredients
- testUploadImageUserNotExists() - Method in class com.cis.gorecipe.controller.FoodImageControllerTest
-
Test whether the API will reject an attempt to upload an image by a user that doesn't exist
- testUploadWrongImageType() - Method in class com.cis.gorecipe.controller.FoodImageControllerTest
-
Test whether the API will reject an upload of the wrong image type (e.g.
- toString() - Method in class com.cis.gorecipe.model.User
All Classes|All Packages|Constant Field Values|Serialized Form