public class RuleRouterTest extends Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
thrown |
Constructor and Description |
---|
RuleRouterTest() |
public void testMatchSuccess()
public void testMatchMultiple()
public void testGetExtractionCount()
public void testNoArgs()
public void testNoArgsNoMatch()
public void testMatchFail()
public void testMatchTrailingSlash()
public void testMatchTrailingSlashInTemplate()
public void testDecodes()
public void testArgumentsWithSameNameThrows()
public void testHasArgumentsNames()
public void testPreservesOrder()
public void testMatchPath()
public void testMatchPathDoesNotDecode()
public void testMatchPathPlain()
public void testDoesNotMatchPartialPath()
public void testPathSegmentMustBeLast()
public void testPathSegmentCanNotHaveSuffix()
public void testPathSegmentCanNotHavePrefixOrSuffix()
public void testMatchesEncoded()
public void testMatchesEncodedUnicode()
public void testMatchPathWithPartialSegmentPatternSuffix()
public void testMatchPathWithPartialSegmentPatternPrefix()
public void testMatchPathWithPartialSegmentPatternOnBothSides()
public void testMatchPathWithPartialSegmentPatternFaild()
public void testMatchPathWithPartialSegmentPatternWithUnicode()
public void testMatchFailOnWrongMethod()
public void shouldAllowDoubleSlashesInPath() throws Exception
Exception
public void verifyUnicodeInUriThrows()
public void shouldReturnEmptyCollectionOnNonRoute() throws Exception
Exception
public void shouldReturnMethodsOnValidRoute() throws Exception
Exception
Copyright © 2016. All rights reserved.