Package org.gedcomx.test
Class RecipeTest
java.lang.Object
org.gedcomx.test.RecipeTest
Base class for a test class that can be used for creating recipes.
- Author:
- Mike Gardiner, Ryan Heaton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddSnippet(Snippet snippet) protected RecipecreateRecipe(String title) Create a new recipeprotected voidMarks the recipe as endedvoidtearDown()
-
Constructor Details
-
RecipeTest
public RecipeTest()
-
-
Method Details
-
createRecipe
Create a new recipe- Parameters:
title- - Title of the recipe- Returns:
- the recipe
-
addSnippet
-
tearDown
- Throws:
Exception
-
endRecipe
protected void endRecipe()Marks the recipe as ended
-