Class GenerationTest

Description

Located in /Routes/test/Horde/Routes/GenerationTest.php (line 18)

PHPUnit_Framework_TestCase
   |
   --GenerationTest
Method Summary
 void assertRestfulRoutes ( $m,  $options, [ $pathPrefix = ''])
 void testBackwards ()
 void testController ()
 void testExtras ()
 void testMultiroute ()
 void testNoExtras ()
 void testPath ()
 void testResources ()
 void testStatic ()
 void testTypical ()
 void testUnicode ()
Methods
assertRestfulRoutes (line 949)
  • access: public
void assertRestfulRoutes ( $m,  $options, [ $pathPrefix = ''])
  • $m
  • $options
  • $pathPrefix
testAllStaticNoReqs (line 21)
  • access: public
void testAllStaticNoReqs ()
testBackwards (line 610)
  • access: public
void testBackwards ()
testBackwardsWithSplits (line 622)
  • access: public
void testBackwardsWithSplits ()
testBasicDynamic (line 29)
  • access: public
void testBasicDynamic ()
testBigMultiroute (line 316)
  • access: public
void testBigMultiroute ()
testBigMultirouteWithSplits (line 377)
  • access: public
void testBigMultirouteWithSplits ()
testBothRequirementAndOptional (line 634)
  • access: public
void testBothRequirementAndOptional ()
testController (line 214)
  • access: public
void testController ()
testControllerWithStatic (line 227)
  • access: public
void testControllerWithStatic ()
testDynamicWithDefault (line 42)
  • access: public
void testDynamicWithDefault ()
testDynamicWithDefaultAndRegexpCondition (line 168)
  • access: public
void testDynamicWithDefaultAndRegexpCondition ()
testDynamicWithFalseEquivs (line 60)

Some of these assertions are invalidated in PHP, it passes in Python because

unicode(None) == unicode('None'). In PHP, we don't have a function similar to unicode(). These have the comment "unicode false equiv"

  • access: public
void testDynamicWithFalseEquivs ()
testDynamicWithFalseEquivsAndSplits (line 111)
  • access: public
void testDynamicWithFalseEquivsAndSplits ()
testDynamicWithRegExpCondition (line 153)
  • access: public
void testDynamicWithRegExpCondition ()
testDynamicWithUnderscoreParts (line 88)
  • access: public
void testDynamicWithUnderscoreParts ()
testExtras (line 472)
  • access: public
void testExtras ()
testExtrasWithSplits (line 488)
  • access: public
void testExtrasWithSplits ()
testMultiroute (line 265)
  • access: public
void testMultiroute ()
testMultirouteWithSplits (line 291)
  • access: public
void testMultirouteWithSplits ()
testNoExtras (line 438)
  • access: public
void testNoExtras ()
testNoExtrasWithSplits (line 450)
  • access: public
void testNoExtrasWithSplits ()
testOtherSpecialChars (line 931)
  • access: public
void testOtherSpecialChars ()
testPath (line 184)
  • access: public
void testPath ()
testPathBackwards (line 199)
  • access: public
void testPathBackwards ()
testResources (line 804)
  • access: public
void testResources ()
testResourcesWithCollectionAction (line 844)
  • access: public
void testResourcesWithCollectionAction ()
testResourcesWithMemberAction (line 864)
  • access: public
void testResourcesWithMemberAction ()
testResourcesWithNamePrefix (line 905)
  • access: public
void testResourcesWithNamePrefix ()
testResourcesWithNewAction (line 885)
  • access: public
void testResourcesWithNewAction ()
testResourcesWithPathPrefix (line 835)
  • access: public
void testResourcesWithPathPrefix ()
testRouteWithEndExtension (line 787)
  • access: public
void testRouteWithEndExtension ()
testRouteWithFixnumDefault (line 543)
  • access: public
void testRouteWithFixnumDefault ()
testRouteWithFixnumDefaultWithSplits (line 568)
  • access: public
void testRouteWithFixnumDefaultWithSplits ()
testRouteWithOddLeftovers (line 773)
  • access: public
void testRouteWithOddLeftovers ()
testSetToNilForgets (line 646)
  • access: public
void testSetToNilForgets ()
testStandardRoute (line 243)
  • access: public
void testStandardRoute ()
testStatic (line 504)
  • access: public
void testStatic ()
testTheSmallestRoute (line 458)
  • access: public
void testTheSmallestRoute ()
testTypical (line 519)
  • access: public
void testTypical ()
testUnicode (line 921)
  • access: public
void testUnicode ()
testUnicodeStatic (line 926)
  • access: public
void testUnicodeStatic ()
testUppercaseRecognition (line 592)
  • access: public
void testUppercaseRecognition ()
testUrlWithEnviron (line 723)
  • access: public
void testUrlWithEnviron ()
testUrlWithEnvironAndAbsolute (line 750)
  • access: public
void testUrlWithEnvironAndAbsolute ()
testUrlWithEnvironEmpty (line 707)
  • access: public
void testUrlWithEnvironEmpty ()
testUrlWithNoActionSpecified (line 665)
  • access: public
void testUrlWithNoActionSpecified ()
testUrlWithPrefix (line 677)
  • access: public
void testUrlWithPrefix ()
testUrlWithPrefixDeeper (line 692)
  • access: public
void testUrlWithPrefixDeeper ()

Documentation generated on Sun, 30 Jan 2011 05:17:49 +0000 by phpDocumentor 1.4.3