Class TestUriTemplateParser


  • public class TestUriTemplateParser
    extends Object
    A TestCharacterScanner.
    Version:
    $Revision: 1.1 $
    Author:
    Ryan J. McDonough
    • Constructor Detail

      • TestUriTemplateParser

        public TestUriTemplateParser()
    • Method Detail

      • testWithNoExpressions

        public void testWithNoExpressions()
                                   throws Exception
        Throws:
        Exception
      • 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
      • testUnbalanceExpression

        public void testUnbalanceExpression()
                                     throws Exception
        Checking that we correctly catch an unbalanced expression
        Throws:
        Exception