You are here: Foswiki>Tasks Web>Item9094 (03 Jun 2010, SvenDowideit)Edit Attach

Item9094: ResponseTest uses CGI::Cookie without use or require

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: SvenDowideit
which begets


C:\src\svn.foswiki.org\trunk\UnitTestContrib\test\unit>perl -wT ..\bin\TestRunner.pl ResponseTests.pm
defined(%hash) is deprecated at C:/src/svn.foswiki.org/trunk/core/lib/Foswiki/Configure/Load.pm line 195.
        (Maybe you should just omit the defined()?)
Options:
exporting FOSWIKI_ASSERTS=1 for extra checking; disable by exporting FOSWIKI_ASSERTS=0
Assert checking on 1
Running ResponseTests
        ResponseTests::test_body
        ResponseTests::test_empty_new
        ResponseTests::test_header
*** Can't locate object method "new" via package "CGI::Cookie" at C:/src/svn.foswiki.org/trunk/core/test/unit/ResponseTe
sts.pm line 216.

        ResponseTests::test_charset
        ResponseTests::test_status
        ResponseTests::test_headers
        ResponseTests::test_redirect
        ResponseTests::test_isRedirectSafe
        ResponseTests::test_cookie

1 failure:
ResponseTests::test_header
Can't locate object method "new" via package "CGI::Cookie" at C:/src/svn.foswiki.org/trunk/core/test/unit/ResponseTests.
pm line 216.

8 of 9 test cases passed

dunno why we don't have this on linux..

-- SvenDowideit - 03 Jun 2010

 

ItemTemplate edit

Summary ResponseTest uses CGI::Cookie without use or require
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:7d3555d42556
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r1 - 03 Jun 2010, SvenDowideit
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy