Class TestUriTemplateBuilder


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

      • TestUriTemplateBuilder

        public TestUriTemplateBuilder()
    • Method Detail

      • testCreateBasicTemplate

        public void testCreateBasicTemplate()
                                     throws Exception
        Throws:
        Exception
      • testCreateBasicTemplateWithUnderScores

        public void testCreateBasicTemplateWithUnderScores()
                                                    throws Exception
        Throws:
        Exception
      • testCreateFromBaseTemplate

        public void testCreateFromBaseTemplate()
                                        throws Exception
        Throws:
        Exception
      • testWithDateFormat

        public void testWithDateFormat()
                                throws Exception
        Throws:
        Exception
      • testWithSimpleDateFormat

        public void testWithSimpleDateFormat()
                                      throws Exception
        Throws:
        Exception
      • testMessedUpUri

        public void testMessedUpUri()
                             throws Exception
        This test fails as you shouldn't be able to create multiple fragment identifiers in a URI.
        Throws:
        Exception
      • testSimpleExpression

        public void testSimpleExpression()
                                  throws Exception
        Throws:
        Exception
      • testReservedExpression

        public void testReservedExpression()
                                    throws Exception
        Throws:
        Exception
      • testReservedExpressionWithExplode

        public void testReservedExpressionWithExplode()
                                               throws Exception
        Throws:
        Exception
      • testReservedExpressionWithExplodeAndPre

        public void testReservedExpressionWithExplodeAndPre()
                                                     throws Exception
        Throws:
        Exception
      • testLabelExpression

        public void testLabelExpression()
                                 throws Exception
        Throws:
        Exception
      • testLabelExpressionWithExplode

        public void testLabelExpressionWithExplode()
                                            throws Exception
        Throws:
        Exception
      • testLabelExpressionWithExplodeAndPre

        public void testLabelExpressionWithExplodeAndPre()
                                                  throws Exception
        Throws:
        Exception
      • testFragmentExpression

        public void testFragmentExpression()
                                    throws Exception
        Throws:
        Exception
      • testFragmentExpressionWithExplode

        public void testFragmentExpressionWithExplode()
                                               throws Exception
        Throws:
        Exception
      • testFragmentExpressionWithExplodeAndPre

        public void testFragmentExpressionWithExplodeAndPre()
                                                     throws Exception
        Throws:
        Exception
      • testQueryContinuation

        public void testQueryContinuation()
                                   throws Exception
        Throws:
        Exception
      • testQueryContinuationWithExplode

        public void testQueryContinuationWithExplode()
                                              throws Exception
        Throws:
        Exception
      • testQueryContinuationWithExplodeAndPre

        public void testQueryContinuationWithExplodeAndPre()
                                                    throws Exception
        Throws:
        Exception
      • testQueryExpression

        public void testQueryExpression()
                                 throws Exception
        Throws:
        Exception
      • testQueryExpressionWithExplode

        public void testQueryExpressionWithExplode()
                                            throws Exception
        Throws:
        Exception
      • testQueryExpressionWithExplodeAndPre

        public void testQueryExpressionWithExplodeAndPre()
                                                  throws Exception
        Throws:
        Exception
      • testTemplateExpression

        public void testTemplateExpression()
                                    throws Exception
        Throws:
        Exception
      • testTemplateExpressionWithUriTemplate

        public void testTemplateExpressionWithUriTemplate()
                                                   throws Exception
        Throws:
        Exception
      • testInvalidVariableName

        public void testInvalidVariableName()
                                     throws Exception
        Throws:
        Exception
      • testInvalidVariableNameWithSpaces

        public void testInvalidVariableNameWithSpaces()
                                               throws Exception
        Throws:
        Exception
      • testInvalidVarNameUsingExpressionSyntax

        public void testInvalidVarNameUsingExpressionSyntax()
                                                     throws Exception
        Throws:
        Exception
      • testInvalidVarNameWithTilde

        public void testInvalidVarNameWithTilde()
                                         throws Exception
        Throws:
        Exception