• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4105: Unit test: TOCTests.pm:132 - parameters returned swapped. Test case should not care

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   minor  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Running unit tests in 5.6.1 (and maybe 5.8)

26) /var/www/MAIN/test/unit/TOCTests.pm:132 - test_parameters(TOCTests)
expected '?param2=no%20luck;param1=a%20little%20luck', got '?param1=a%20little%20luck;param2=no%20luck'

Note that the test case fails because it depends on the sequence of parameters. It is the test case that needs to be fixed so it checks for each parameter instead of the entire URL. Depending on version of CGI you cannot know how the sequence will be.

-- TWiki:Main/KennethLavrsen - 21 May 2007

Done. test pases on 5.8 on 14203.


Summary Unit test: TOCTests.pm:132 - parameters returned swapped. Test case should not care
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.1.2, Fri, 18 May 2007, build 13796
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins TWikirev:14203
TargetRelease minor

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-06-18 - TWikiUserMapping_CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback