Class TestBasicUsage


  • public class TestBasicUsage
    extends Object
    Simple tests to validate the UriTemplate API.
    Version:
    $Revision: 1.1 $
    Author:
    Ryan J. McDonough
    • Constructor Detail

      • TestBasicUsage

        public TestBasicUsage()
    • Method Detail

      • testNoExpressionAndNoVars

        public void testNoExpressionAndNoVars()
                                       throws Exception
        Test that validates issue #12 https://github.com/damnhandy/Handy-URI-Templates/issues/12
        Throws:
        Exception
      • testMultpleExpressions

        public void testMultpleExpressions()
                                    throws Exception
        Throws:
        Exception
      • testFragmentWithPrecentEncodedValues

        public void testFragmentWithPrecentEncodedValues()
                                                  throws Exception
        Throws:
        Exception
      • testReservedWithPrecentEncodedValues

        public void testReservedWithPrecentEncodedValues()
                                                  throws Exception
        Throws:
        Exception
      • testFragmentWithMixedPrecentEncodedValues

        public void testFragmentWithMixedPrecentEncodedValues()
                                                       throws Exception
        Throws:
        Exception
      • testReservedWithMixedPrecentEncodedValues

        public void testReservedWithMixedPrecentEncodedValues()
                                                       throws Exception
        Throws:
        Exception
      • testReservedExpansionTest1

        public void testReservedExpansionTest1()
                                        throws Exception
        Throws:
        Exception
      • testReservedExpansionTest2

        public void testReservedExpansionTest2()
                                        throws Exception
        Throws:
        Exception
      • testWithCommadelimitedListEscaped

        public void testWithCommadelimitedListEscaped()

        Test case to verify issue #60 with the undesired result

      • testWithCommadelimitedListNoteEscaped

        public void testWithCommadelimitedListNoteEscaped()

        Test case to verify issue #60 with the desired result