Package com.damnhandy.uri.template.impl
Class TestUriTemplateParser
- java.lang.Object
-
- com.damnhandy.uri.template.impl.TestUriTemplateParser
-
public class TestUriTemplateParser extends Object
A TestCharacterScanner.- Version:
- $Revision: 1.1 $
- Author:
- Ryan J. McDonough
-
-
Constructor Summary
Constructors Constructor Description TestUriTemplateParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testGoodTemplate()
void
testGoodTemplateWithOperators()
void
testStartExpressionWithNoTermination()
Checking that we correctly catch an unbalanced expressionvoid
testStartExpressionWithTerminationButNoStartBrace()
Since the expression is never opened, we should not find any expressions.void
testUnbalanceExpression()
Checking that we correctly catch an unbalanced expressionvoid
testWithNoExpressions()
-
-
-
Method Detail
-
testGoodTemplateWithOperators
public void testGoodTemplateWithOperators() throws Exception
- Throws:
Exception
-
testStartExpressionWithNoTermination
public void testStartExpressionWithNoTermination() throws Exception
Checking that we correctly catch an unbalanced expression- Throws:
Exception
-
testStartExpressionWithTerminationButNoStartBrace
public void testStartExpressionWithTerminationButNoStartBrace() throws Exception
Since the expression is never opened, we should not find any expressions.- Throws:
Exception
-
-