org.stringtemplate.v4.test
Class TestDictionaries
java.lang.Object
org.stringtemplate.v4.test.BaseTest
org.stringtemplate.v4.test.TestDictionaries
public class TestDictionaries
- extends BaseTest
| Methods inherited from class org.stringtemplate.v4.test.BaseTest |
checkTokens, checkTokens, compile, deleteFile, deleteFile, exec, getRandomDir, jar, java, setUp, writeFile, writeTestFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDictionaries
public TestDictionaries()
testDict
public void testDict()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictValuesAreTemplates
public void testDictValuesAreTemplates()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictKeyLookupViaTemplate
public void testDictKeyLookupViaTemplate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictKeyLookupAsNonToStringableObject
public void testDictKeyLookupAsNonToStringableObject()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictMissingDefaultValueIsEmpty
public void testDictMissingDefaultValueIsEmpty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictMissingDefaultValueIsEmptyForNullKey
public void testDictMissingDefaultValueIsEmptyForNullKey()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictHiddenByFormalArg
public void testDictHiddenByFormalArg()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictEmptyValueAndAngleBracketStrings
public void testDictEmptyValueAndAngleBracketStrings()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictDefaultValue
public void testDictDefaultValue()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictNullKeyGetsDefaultValue
public void testDictNullKeyGetsDefaultValue()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictEmptyDefaultValue
public void testDictEmptyDefaultValue()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictDefaultValueIsKey
public void testDictDefaultValueIsKey()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictDefaultStringAsKey
public void testDictDefaultStringAsKey()
throws java.lang.Exception
- Test that a map can have only the default entry.
- Throws:
java.lang.Exception
testDictDefaultIsDefaultString
public void testDictDefaultIsDefaultString()
throws java.lang.Exception
- Test that a map can return a string with the word: default.
- Throws:
java.lang.Exception
testDictViaEnclosingTemplates
public void testDictViaEnclosingTemplates()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDictViaEnclosingTemplates2
public void testDictViaEnclosingTemplates2()
throws java.lang.Exception
- Throws:
java.lang.Exception
TestAccessDictionaryFromAnonymousTemplate
public void TestAccessDictionaryFromAnonymousTemplate()
TestAccessDictionaryFromAnonymousTemplateInRegion
public void TestAccessDictionaryFromAnonymousTemplateInRegion()
testImportDictionary
public void testImportDictionary()
throws java.lang.Exception
- Throws:
java.lang.Exception