Skip to content
Tcl Source Code History Of Ticket b2b14f0bb5f40997
Login

History Of Ticket b2b14f0bb5f40997

Artifacts Associated With Ticket b2b14f0bb5f40997

  1. Ticket change [00985367fa] (rid 175763) by anonymous on 2019-10-08 12:54:48:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      The tcltest man page documents an option -errorCode to tcltest::test that is not implemented, at least not in the code reported by info body tcltest::test.
      
      I think supporting -errorCode would be useful.
      
      Also, references to outputChannel and errorChannel would be clearer if prefixed with ::tcltest::.  The second paragraph of the description section states that commands in the ::tcltest namespace are not prefixed, but is silent on the topic of variables.
      
    5. foundin initialized to: "8.6.8"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9ab7cae6a79106af802b939550556c6a60bbac54"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "18. Commands M-Z"
    15. title initialized to:
      tcltest::test documents an -errorCode option, but this is not implemented
      
    16. type initialized to: "Bug"
  2. Ticket change [a1787acdee] (rid 175764) by dgp on 2019-10-09 15:01:26:

    1. icomment:
      
      Here's an interactive session:
      
      % package require tcltest                                                       
      2.5.0                                                                           
      % namespace import tcltest::*                                                   
      % test foo bar -body {error x y z} -result x -errorCode z                       
      % test foo bar -body {error x y z} -result x -errorCode WRONG                   
                                                                                      
                                                                                      
      ==== foo bar FAILED
      ==== Contents of test case:
      error x y z
      ---- Error code was: 'z'
      ---- Error code should have been: 'WRONG'
      ==== foo FAILED
      
      Seems to be implemented. Do you have a more specific bug report where the option is failing to behave as documented?
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [e96fc92011] (rid 176497) by jan.nijtmans on 2019-11-01 08:46:38:

    1. closedate changed to: "2458788.86572802"
    2. closer changed to: "jan.nijtmans"
    3. login: "jan.nijtmans"
    4. mimetype: "text/plain"
    5. resolution changed to: "Invalid"
    6. status changed to: "Closed"