Package com.damnhandy.uri.template
Class TestBasicUsage
- java.lang.Object
-
- com.damnhandy.uri.template.TestBasicUsage
-
public class TestBasicUsage extends Object
Simple tests to validate the UriTemplate API.- Version:
- $Revision: 1.1 $
- Author:
- Ryan J. McDonough
-
-
Constructor Summary
Constructors Constructor Description TestBasicUsage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testBasicExample()
void
testFragmentWithMixedPrecentEncodedValues()
void
testFragmentWithPrecentEncodedValues()
void
testFromTemplate()
void
testMultpleExpressions()
void
testNoExpressionAndNoVars()
Test that validates issue #12 https://github.com/damnhandy/Handy-URI-Templates/issues/12void
testRegEx()
void
testReservedExpansionTest1()
void
testReservedExpansionTest2()
void
testReservedWithMixedPrecentEncodedValues()
void
testReservedWithPrecentEncodedValues()
void
testWithCommadelimitedListEscaped()
Test case to verify issue #60 with the undesired resultvoid
testWithCommadelimitedListNoteEscaped()
Test case to verify issue #60 with the desired result
-
-
-
Method Detail
-
testNoExpressionAndNoVars
public void testNoExpressionAndNoVars() throws Exception
Test that validates issue #12 https://github.com/damnhandy/Handy-URI-Templates/issues/12- 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
-
-