summaryrefslogtreecommitdiffstats
path: root/tests/stringObj.test
Commit message (Collapse)AuthorAgeFilesLines
* Convert some non-ASCII characters in testcase comments - which were mangled ↵jan.nijtmans2014-07-171-6/+6
| | | | by my editor in [79ace7b793] - to valid UTF-8: This way my editor will not mangle them again, and fossil will show in the UI which characters are supposed to be there.
* Modify the "gettimes" test-command to use the Tcl_Obj API. jan.nijtmans2014-07-161-8/+9
| | | | New "testbytestring" command which can be used to replace the (to-be-deprecated) "bytestring" command from tcltest and/or the "indentity" encoding. Adapt many testcases to use the "testbytestring" command.
* No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | combination with tcltest86.dll to do that (Windows only)
* missing constraintsdgp2011-11-081-8/+8
|\
| * Missing constraintsdgp2011-11-081-9/+9
| |
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ | |/ | | cause more harm than good. Purged them (except in zlib files).
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ | | | | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * generic/tclStringObj.c: Added protections from invalid memorydgp2009-03-301-1/+34
| | | | | | | | | | | | | | | | | | | | | * generic/tclTestObj.c: accesses when we append (some part of) * tests/stringObj.test: a Tcl_Obj to itself. Added the appendself and appendself2 subcommands to the [teststringobj] testing command and added tests to the test suite. [Bug 2603158]
| | * * generic/tclStringObj.c: Test stringObj-6.9 checks thatdgp2009-03-211-1/+7
| | | | | | | | | | | | | | | * tests/stringObj.test: Tcl_AppendStringsToObj() no longer crashes when operating on a pure unicode value. [Bug 2597185]
| * | * generic/tclStringObj.c: Added protections from invalid memorydgp2009-03-301-1/+34
| | | | | | | | | | | | | | | | | | | | | * generic/tclTestObj.c: accesses when we append (some part of) * tests/stringObj.test: a Tcl_Obj to itself. Added the appendself and appendself2 subcommands to the [teststringobj] testing command and added tests to the test suite. [Bug 2603158]
| * | * generic/tclStringObj.c: Test stringObj-6.9 checks thatdgp2009-03-211-1/+7
| | | | | | | | | | | | | | | * tests/stringObj.test: Tcl_AppendStringsToObj() no longer crashes when operating on a pure unicode value. [Bug 2597185]
* | | * tests/stringObj.test: Test stringObj-6.9 checks thatdgp2009-03-211-1/+7
| | | | | | | | | | | | | | | Tcl_AppendStringsToObj() no longer crashes when operating on a pure unicode value. [Bug 2597185]
* | | * generic/tclStringObj.c: Factor out common GrowStringBuffer().dgp2009-02-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclStringObj.c: Convert Tcl_AppendStringsToObj into * tests/stringObj.test: a radically simpler implementation where we just loop over calls to Tcl_AppendToObj. This fixes [Bug 2597185]. It also creates a *** POTENTIAL INCOMPATIBILITY *** in that T_ASTO can now allocate more space than is strictly required, like all the other Tcl_Append* routines. The incompatibility was detected by test stringObj-6.5, which I've updated to reflect the new behavior.
* | | * generic/tclTestObj.c: Replace the [teststringobj ualloc] testingdgp2009-02-161-3/+3
| | | | | | | | | | | | | | | * tests/stringObj.test: command with [teststringobj maxchars] and update the tests.
* | | * generic/tclStringObj.c: Added protections from invalid memorydgp2009-02-161-1/+35
| | | | | | | | | | | | | | | | | | | | | * generic/tclTestObj.c: accesses when we append (some part of) * tests/stringObj.test: a Tcl_Obj to itself. Added the appendself and appendself2 subcommands to the [teststringobj] testing command and added tests to the test suite. [Bug 2603158]
* | | Fix [Bug 2006888]dkf2009-01-291-46/+45
| | |
* | | * tests/stringObj.test: Revise tests that demand a NULL Tcl_ObjTypedgp2009-01-061-13/+26
|/ / | | | | | | | | | | in certain values to construct those values with [testdstring] so there's no lack of robustness depending on the shimmer history of shared literals.
* | Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-67/+64
|/ | | | necessary.
* correct test nameshobbs2003-02-111-3/+3
|
* * tests/stringObj.test:hobbs2003-02-111-13/+8
| | | | | * generic/tclStringObj.c (Tcl_GetCharLength): correct ascii char opt of 2002-11-11 to not stop early on \x00. [Bug #684699]
* execution trace, command trace and stringObj bug fixesvincentdarley2003-01-171-2/+2
|
* 3 small fixesvincentdarley2002-11-131-1/+12
|
* * tests/stringObj.test: Tweaked tests to avoid hardcodedericm2000-06-281-9/+30
| | | | | high-ASCII characters (which will fail in multibyte locales); instead used \uXXXX syntax. [Bug: 3842].
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-021-1/+18
| | | | | | | | | | | | | * generic/tclParseExpr.c: changed '"' to '\"' to make FreeBSD happy [Bug: 2625] * generic/tclProc.c: moved static buf to better location and changed static msg that would overflow in ProcessProcResultCode [Bug: 2483] and added Tcl_DStringFree to Tcl_ProcObjCmd. Also reworked size of static buffers. * tests/stringObj.test: added test 9.11 * generic/tclStringObj.c: changed Tcl_AppendObjToObj to properly handle the 1-byte dest and mixed src case where both had had Unicode string len checks made on them. [Bug: 2678]
* Fixed style problems in many of the test files.rjohnson1999-06-261-2/+2
| | | | Fixed bug in pkg.test where defs.tcl was still being used.
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* beefed up the string object testshershey1999-06-151-70/+92
|
* Improved the appendObj functions (uncomented the optimized code that washershey1999-06-151-96/+81
| | | | | | | | | present in the Unicode obj). Updated the teststringobj command to look in the correct location for the amount of space allocated for the UTF string rep. Note: one stringObj test is still failing; it reflects a change in that may not be undesirable...
* Merged String and Unicode object types. Added new functions tohershey1999-06-151-1/+180
| | | | | | | | | the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj, Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange, Tcl_AppendUnicodeToObj. Note: some stringObj tests are still failing--the teststringobj command still needs to be updated.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-3/+23
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+189