|
2001-04-19
| ||
| 03:39 | • Ticket [219107ffff] Test msgcat::mcmset status still Closed with 3 other cha... artifact: 0cac980d0a user: dgp | |
|
2000-10-26
| ||
| 08:34 | • Closed ticket [219107ffff]. artifact: 7929f5f36c user: welch | |
| 01:10 | • New ticket [219107ffff]. artifact: df58424288 user: nobody | |
Test msgcat::mcmset
Closed / Fixed219107ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:10:54
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
welch Closed ticket [219107ffff].
[History diff]2000-10-26 08:34:56
dgp Ticket [219107ffff]: 3 changes
[History diff]2001-04-19 03:39:11
Log in (anonymous is fine) to add a comment.