Tk Library Source Code

View Ticket
Login
Ticket UUID: 440049
Title: latest report module test suite fails
Type: Bug Version: None
Submitter: lvirden Created on: 2001-07-10 13:50:54
Subsystem: None Assigned To: andreas_kupries
Priority: 3 Low Severity:
Status: Closed Last Modified: 2001-08-21 03:36:35
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2001-08-20 20:36:35
Description:
Note that I didn't see a category for report when
filing this msg on sf.net

I downloaded the latest tcllib from the nightly cvs at
scriptics on July 10, 2001 at 9:30 AM EDT.

Module: report
modules/report/report.test
report 0.1
- struct 1.1

==== report-2.0 style definition errors FAILED
==== Contents of test case:

    catch {::report::defstyle} result
    set result

---- Result was:
wrong # args: should be "::report::defstyle styleName
arguments body"
---- Result should have been (exact matching):
no value given for parameter "styleName" to
"::report::defstyle"
==== report-2.0 FAILED

==== report-2.1 style definition error FAILED
==== Contents of test case:

    catch {::report::defstyle foo} result
    set result

---- Result was:
wrong # args: should be "::report::defstyle styleName
arguments body"
---- Result should have been (exact matching):
no value given for parameter "arguments" to
"::report::defstyle"
==== report-2.1 FAILED

==== report-2.2 style definition errors FAILED
==== Contents of test case:

    catch {::report::defstyle foo {}} result
    set result

---- Result was:
wrong # args: should be "::report::defstyle styleName
arguments body"
---- Result should have been (exact matching):
no value given for parameter "body" to
"::report::defstyle"
==== report-2.2 FAILED
==== report-2.3 style definition errors FAILED
==== Contents of test case:

    catch {::report::defstyle foo {} {} bla} result
    set result

---- Result was:
wrong # args: should be "::report::defstyle styleName
arguments body"
---- Result should have been (exact matching):
called "::report::defstyle" with too many arguments
==== report-2.3 FAILED

==== report-3.0 style deletion errors FAILED
==== Contents of test case:

    catch {::report::rmstyle} result
    set result

---- Result was:
wrong # args: should be "::report::rmstyle styleName"
---- Result should have been (exact matching):
no value given for parameter "styleName" to
"::report::rmstyle"
==== report-3.0 FAILED

==== report-4.0 style introspection error FAILED
==== Contents of test case:

    catch {::report::stylearguments} result
    set result

---- Result was:
wrong # args: should be "::report::stylearguments
styleName"
---- Result should have been (exact matching):
no value given for parameter "styleName" to
"::report::stylearguments"
==== report-4.0 FAILED

==== report-4.2 style introspection error FAILED
==== Contents of test case:
    catch {::report::stylebody} result
    set result

---- Result was:
wrong # args: should be "::report::stylebody styleName"
---- Result should have been (exact matching):
no value given for parameter "styleName" to
"::report::stylebody"
==== report-4.2 FAILED

==== report-6.0 report errors FAILED
==== Contents of test case:

    catch {report myreport} msg
    set msg

---- Result was:
wrong # args: should be "report name columns args"
---- Result should have been (exact matching):
no value given for parameter "columns" to "report"
==== report-6.0 FAILED

==== report-10.0 column sizes FAILED
==== Contents of test case:

    report myreport 3
    catch {myreport size} result
    myreport destroy
    set result

---- Result was:
wrong # args: should be "::report::_size name column
?size?"
---- Result should have been (exact matching):
no value given for parameter "column" to
"::report::_size"
==== report-10.0 FAILED

==== report-12.0 padding FAILED
==== Contents of test case:

    report myreport 3
    catch {myreport pad} result
    myreport destroy
    set result

---- Result was:
wrong # args: should be "::report::_pad name column
?where? ?string?"
---- Result should have been (exact matching):
no value given for parameter "column" to
"::report::_pad"
==== report-12.0 FAILED

==== report-13.0 justification FAILED
==== Contents of test case:

    report myreport 3
    catch {myreport justify} result
    myreport destroy
    set result

---- Result was:
wrong # args: should be "::report::_justify name column
?jvalue?"
---- Result should have been (exact matching):
no value given for parameter "column" to
"::report::_justify"
==== report-13.0 FAILED

==== report-15.0 separator templates FAILED
==== Contents of test case:

        report myreport 1
        catch [list myreport $template] result
        myreport destroy
        set result
    
---- Result was:
wrong # args: should be "::report::_tAction name
template cmd args"
---- Result should have been (exact matching):
no value given for parameter "cmd" to
"::report::_tAction"
==== report-15.0 FAILED

==== report-16.0 separator templates FAILED
==== Contents of test case:

        report myreport 1
        catch [list myreport $template] result
        myreport destroy
        set result
    
---- Result was:
wrong # args: should be "::report::_tAction name
template cmd args"
---- Result should have been (exact matching):
no value given for parameter "cmd" to
"::report::_tAction"
==== report-16.0 FAILED

==== report-17.0 separator templates FAILED
==== Contents of test case:

        report myreport 1
        catch [list myreport $template] result
        myreport destroy
        set result
    
---- Result was:
wrong # args: should be "::report::_tAction name
template cmd args"
---- Result should have been (exact matching):
no value given for parameter "cmd" to
"::report::_tAction"
==== report-17.0 FAILED

==== report-18.0 separator templates FAILED
==== Contents of test case:

        report myreport 1
        catch [list myreport $template] result
        myreport destroy
        set result
    
---- Result was:
wrong # args: should be "::report::_tAction name
template cmd args"
---- Result should have been (exact matching):
no value given for parameter "cmd" to
"::report::_tAction"
==== report-18.0 FAILED

==== report-19.0 separator templates FAILED
==== Contents of test case:

        report myreport 1
        catch [list myreport $template] result
        myreport destroy
        set result
    
---- Result was:
wrong # args: should be "::report::_tAction name
template cmd args"
---- Result should have been (exact matching):
no value given for parameter "cmd" to
"::report::_tAction"
==== report-19.0 FAILED

==== report-20.0 separator templates FAILED
==== Contents of test case:

        report myreport 1
        catch [list myreport $template] result
        myreport destroy
        set result
    
---- Result was:
wrong # args: should be "::report::_tAction name
template cmd args"
---- Result should have been (exact matching):
no value given for parameter "cmd" to
"::report::_tAction"
==== report-20.0 FAILED

==== report-21.0 separator templates FAILED
==== Contents of test case:

        report myreport 1
        catch [list myreport $template] result
        myreport destroy
        set result
    
---- Result was:
wrong # args: should be "::report::_tAction name
template cmd args"
---- Result should have been (exact matching):
no value given for parameter "cmd" to
"::report::_tAction"
==== report-21.0 FAILED

==== report-22.0 data templates FAILED
==== Contents of test case:

        report myreport 1
        catch [list myreport $template] result
        myreport destroy
        set result
    
---- Result was:
wrong # args: should be "::report::_tAction name
template cmd args"
---- Result should have been (exact matching):
no value given for parameter "cmd" to
"::report::_tAction"
==== report-22.0 FAILED

==== report-23.0 data templates FAILED
==== Contents of test case:

        report myreport 1
        catch [list myreport $template] result
        myreport destroy
        set result
    
---- Result was:
wrong # args: should be "::report::_tAction name
template cmd args"
---- Result should have been (exact matching):
no value given for parameter "cmd" to
"::report::_tAction"
==== report-23.0 FAILED

==== report-24.0 data templates FAILED
==== Contents of test case:

        report myreport 1
        catch [list myreport $template] result
        myreport destroy
        set result
    
---- Result was:
wrong # args: should be "::report::_tAction name
template cmd args"
---- Result should have been (exact matching):
no value given for parameter "cmd" to
"::report::_tAction"
==== report-24.0 FAILED

==== report-27.0 formatting errors FAILED
==== Contents of test case:

    report           myreport 5
    catch {myreport printmatrix} result
    myreport destroy
    set result

---- Result was:
wrong # args: should be "::report::_printmatrix name
matrix"
---- Result should have been (exact matching):
no value given for parameter "matrix" to
"::report::_printmatrix"
==== report-27.0 FAILED


==== report-28.0 formatting errors FAILED
==== Contents of test case:

    report           myreport 5
    catch {myreport printmatrix2channel} result
    myreport destroy
    set result

---- Result was:
wrong # args: should be "::report::_printmatrix2channel
name matrix chan"
---- Result should have been (exact matching):
no value given for parameter "matrix" to
"::report::_printmatrix2channel"
==== report-28.0 FAILED

==== report-28.1 formatting errors FAILED
==== Contents of test case:

    report           myreport 5
    ::struct::matrix mymatrix
    catch {myreport printmatrix2channel mymatrix}
result
    mymatrix destroy
    myreport destroy
    set result

---- Result was:
wrong # args: should be "::report::_printmatrix2channel
name matrix chan"
---- Result should have been (exact matching):
no value given for parameter "chan" to
"::report::_printmatrix2channel"
==== report-28.1 FAILED
User Comments: andreas_kupries added on 2001-08-21 03:36:35:
Logged In: YES 
user_id=75003

Patch committed to HEAD.

andreas_kupries added on 2001-08-21 03:33:14:
Logged In: YES 
user_id=75003

See #440051 for the patch fixing this.

andreas_kupries added on 2001-07-11 07:28:22:
Logged In: YES 
user_id=75003

Larry, you have tested tcllib using tcl8.4aXX from the CVS. 
This interpreter had some changes in the error messages 
thrown for illegal # arguments for procedures.

The errors in the testsuite should go away if you use a Tcl 
8.3.3 interpreter.

Making the testsuite robust against such changes is 
difficult.