Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: df584242889cbf5aae12e0eae495c5198aa88e0c
Ticket: 219107ffffffffffffffffffffffffffffffffff
Test msgcat::mcmset
User & Date: nobody on 2000-10-26 01:10:54
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 6000 RFE
    Version: 8.2
    SubmitDate: '2000-07-10'
    LastModified: '2000-07-17'
    Severity: MED
    Status: Released
    Submitter: techsupp
    ChangedBy: ericm
    RelatedBugIDs: 5993
    OS: All
    FixedDate: '2000-07-17'
    FixedInVersion: 8.4a2
    ClosedDate: '2000-10-25'
    
    
    Name:
    
    Chris Nelson
    
    
    CVS:
    
    1.6
    
    
    DesiredBehavior:
    
    This patch enhances msgcat.test to test the recently submitted mcmset (multi-set) command
    
    
    Patch:
    
    Index: msgcat.test
    
    ===================================================================
    
    RCS file: /cvsroot/tcl/tests/msgcat.test,v
    
    retrieving revision 1.6
    
    diff -c -r1.6 msgcat.test
    
    *** msgcat.test 1999/07/01 17:36:18     1.6
    
    --- msgcat.test 2000/07/10 17:36:11
    
    ***************
    
    *** 1,6 ****
    
      # Commands covered: ::msgcat::mc ::msgcat::mclocale
    
      #                   ::msgcat::mcpreferences ::msgcat::mcload
    
    ! #                   ::msgcat::mcset ::msgcat::mcunknown
    
      #
    
      # This file contains a collection of tests for the msgcat script library.
    
      # Sourcing this file into Tcl runs the tests and
    
    --- 1,6 ----
    
      # Commands covered: ::msgcat::mc ::msgcat::mclocale
    
      #                   ::msgcat::mcpreferences ::msgcat::mcload
    
    ! #                   ::msgcat::mcset ::msgcat::mcmset ::msgcat::mcunknown
    
      #
    
      # This file contains a collection of tests for the msgcat script library.
    
      # Sourcing this file into Tcl runs the tests and
    
    ***************
    
    *** 84,90 ****
    
      } {en_us_funky en_us en}
    
    
      #
    
    ! # Test mcset and mcc, ensuring that namespace partitioning
    
      # is working.
    
      #
    
    
    --- 84,90 ----
    
      } {en_us_funky en_us en}
    
    
      #
    
    ! # Test mcset and mc, ensuring that namespace partitioning
    
      # is working.
    
      #
    
    
    ***************
    
    *** 106,111 ****
    
    --- 106,127 ----
    
          ::msgcat::mclocale foo_BAR
    
          namespace eval baz {::msgcat::mc con1}
    
      } {con1baz}
    
    + test msgcat-2.5 {::msgcat::mcmset, global scope} {
    
    +     ::msgcat::mcmset  foo_BAR {
    
    +         src1 trans1
    
    +         src2 trans2
    
    +     }
    
    +     ::msgcat::mc src1
    
    + } {trans1}
    
    + test msgcat-2.6 {::msgcat::mcmset, namespace overlap} {
    
    +     namespace eval bar {::msgcat::mcmset  foo_BAR {con2 con2bar}}
    
    +     namespace eval baz {::msgcat::mcmset  foo_BAR {con2 con2baz}}
    
    + } {2}
    
    + test msgcat-2.7 {::msgcat::mcmset, namespace overlap} {
    
    +     ::msgcat::mclocale foo_BAR
    
    +     namespace eval baz {::msgcat::mc con2}
    
    + } {con2baz}
    
    +
    
    
      #
    
      # Test mcset and mc, ensuring that more specific locales
    
    
    PatchFiles:
    
    msgcat.test
    
    
    
    
    I've merged this patch containing tests for msgcat::mcmset.  Thanks for your work.  This will be in Tcl 8.4a2.
    
       Eric Melski                            The Other Tcl Guy
       ericm at ajubasolutions.com            Ajuba Solutions
    
    -- 07/17/2000 ericm
    
    
    
  4. foundin changed to: "obsolete: 8.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Test msgcat::mcmset"
  11. type changed to: "Bug"