Package ninja.template
Class TemplateEngineFreemarkerI18nMethodTest
- java.lang.Object
-
- ninja.template.TemplateEngineFreemarkerI18nMethodTest
-
public class TemplateEngineFreemarkerI18nMethodTest extends Object
- Author:
- ra
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedException
thrown
-
Constructor Summary
Constructors Constructor Description TemplateEngineFreemarkerI18nMethodTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
before()
void
testThatConstraintViolationWorks()
void
testThatConstraintViolationWorksWithDefault()
void
testThatKeyWithPlaceholderReturnsDefaultKeyWhenKeyCannotBeFound()
void
testThatKeyWithPlaceholderWorks()
void
testThatNoKeyYieldsException()
void
testThatSingleKeyWithMissingValueReturnsDefaultKey()
void
testThatSingleKeyWithValueWorks()
-
-
-
Method Detail
-
before
public final void before()
-
testThatNoKeyYieldsException
public void testThatNoKeyYieldsException() throws Exception
- Throws:
Exception
-
testThatSingleKeyWithValueWorks
public void testThatSingleKeyWithValueWorks() throws Exception
- Throws:
Exception
-
testThatSingleKeyWithMissingValueReturnsDefaultKey
public void testThatSingleKeyWithMissingValueReturnsDefaultKey() throws Exception
- Throws:
Exception
-
testThatKeyWithPlaceholderWorks
public void testThatKeyWithPlaceholderWorks() throws Exception
- Throws:
Exception
-
testThatKeyWithPlaceholderReturnsDefaultKeyWhenKeyCannotBeFound
public void testThatKeyWithPlaceholderReturnsDefaultKeyWhenKeyCannotBeFound() throws Exception
- Throws:
Exception
-
testThatConstraintViolationWorks
public void testThatConstraintViolationWorks() throws Exception
- Throws:
Exception
-
-