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 voidtestGoodTemplate()voidtestGoodTemplateWithOperators()voidtestStartExpressionWithNoTermination()Checking that we correctly catch an unbalanced expressionvoidtestStartExpressionWithTerminationButNoStartBrace()Since the expression is never opened, we should not find any expressions.voidtestUnbalanceExpression()Checking that we correctly catch an unbalanced expressionvoidtestWithNoExpressions()
-
-
-
Method Detail
-
testGoodTemplateWithOperators
public void testGoodTemplateWithOperators() throws Exception- Throws:
Exception
-
testStartExpressionWithNoTermination
public void testStartExpressionWithNoTermination() throws ExceptionChecking that we correctly catch an unbalanced expression- Throws:
Exception
-
testStartExpressionWithTerminationButNoStartBrace
public void testStartExpressionWithTerminationButNoStartBrace() throws ExceptionSince the expression is never opened, we should not find any expressions.- Throws:
Exception
-
-