summaryrefslogtreecommitdiffstats
path: root/tests/string.test
Commit message (Collapse)AuthorAgeFilesLines
* [3ae1251264] Run only the tests that match the assumptions of the test design.dgp2017-09-211-0/+2
|
* Include $noComp flag in string test namesandy2017-09-201-588/+588
|
* Alternate, equivalent way of running bytecoded testsandy2017-09-201-1/+1
|
* Correct string tests to exercise both bytecoded and non-bytecoded ↵andy2017-09-201-657/+616
| | | | implementations. string-29.6 now fails.
* Add test cleanupandy2017-08-201-0/+4
|
* Add tests to exercise almost every line of TclStringReplace(). The one line ↵andy2017-08-201-3/+52
| | | | not being exercised is the "return NULL" on TclStringCatObjv() failure. Coverage checked in an ad-hoc way by putting a breakpoint at the start of every basic block, then confirming each breakpoint is hit at least once when running string.test.
* Add non-bytecoded [string replace] tests to exercise new TclStringReplace() ↵andy2017-08-201-0/+51
| | | | function
* Add string-14.18 to test that [string replace] with last<first does not ↵andy2017-08-201-0/+3
| | | | insert a string, even though we might wish that it did, to be in compliance with the documented behavior. Correct non-bytecoded [string replace] accordingly.
* Clip (don't reject) out-of-bounds indexes, per sebres's suggestion and to ↵andy2017-08-171-4/+4
| | | | match [linsert]
* Work around [3397978fff]andy2017-08-171-14/+17
|
* Backout [b163c4f423]: Command ensembles indeed do affect argument reference ↵andy2017-08-171-2/+1
| | | | counts, see [3397978fff]
* Test code to investigate command ensemble argument reference countsandy2017-08-161-1/+2
|
* Write some test casesandy2017-08-151-1/+42
|
* Update existing tests to accommodate new [string insert] commandandy2017-08-151-4/+4
|
* Extend cases where string rep generation can be prevented.dgp2017-06-161-0/+15
|
* Tests for string rep generation suppressiondgp2017-06-081-0/+30
|
* merge core-8-6-branchjan.nijtmans2017-06-061-4/+4
|\
| * Add more test-cases for UTF-8 parser, including test-cases for TCL_UTF_MAX=4 ↵jan.nijtmans2017-06-061-7/+11
| | | | | | | | or TCL_UTF_MAX=6
* | Route all [string last] operations through a common implementation.dgp2016-11-081-2/+2
| |
* | Update [string map] tests to get illustration of need for pure dictdgp2016-10-071-0/+4
| | | | | | restriction up to date with ordered dicts.
* | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-3/+3
|/
* Don't use [pid] in tests, stick to constant literals.ferrieux2014-08-021-3/+3
|
* TIP 429 Implementation: [string cat]ferrieux2014-08-021-5/+29
|
* [f0f876c141] Improve consistency in error messages.dkf2014-06-171-2/+2
|
* [8d5f5b8034] Flush internal representations in [string tolower] of unshared objdkf2014-02-251-0/+9
|
* [Bug 3606390]: Fix isolation of test string-6.37.dkf2013-03-191-2/+4
|\
| * [Bug 3606390]: Fix isolation of test string-6.37.dkf2013-03-191-2/+4
| |
* | tip 318 updatejan.nijtmans2012-09-231-6/+6
| |
* | more result generation conversiondkf2012-08-031-2/+2
| |
* | 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)
* | Implementation of TIP #395dkf2012-03-271-5/+77
| |
* | 3396731 Revise the [string reverse] implementation to operate on thedgp2011-08-271-0/+8
|\ \ | | | | | | representation that comes in, avoid conversion to other reps.
| * | 3396731 Another rewrite of TclStringObjReverse() to make it adopt thedgp2011-08-251-0/+8
| | | | | | | | | | | | nijtmans approach for reversing the objPtr->bytes rep without losing performance.
* | | [Enh 3396731] Follow-up: special case for Pure-unicode representationjan.nijtmans2011-08-251-0/+3
|/ /
* | comment fixjan.nijtmans2011-05-061-3/+3
|\ \ | |/
| * comment fixjan.nijtmans2011-05-061-3/+3
| |\
| | * comment fixjan.nijtmans2011-05-061-3/+3
| | |
* | | Test for [Bug 3285472]. Not buggy in trunk.dgp2011-04-121-0/+5
|\ \ \ | |/ /
| * | Repair corruption in [string reverse] when string rep invalidation faileddgp2011-04-121-0/+5
| | | | | | | | | to also reset the bytes allocated for string rep to zero [Bug 3285472].
* | | 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.
| | * replaced new test string-12.21 with dkf's version from HEADMiguel Sofer2006-01-231-9/+14
| | |
| | * added test for [Bug 1410553]Miguel Sofer2006-01-231-1/+11
| | |
| | * * tests/string.test: string-10.[21-30]hobbs2005-05-111-1/+31
| | | | | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to prevent possible UMR in unichar cmp function for string map.
| | * * generic/tclCmdMZ.c: Corrected intrep-dependence ofdgp2005-04-221-1/+10
| | | | | | | | | | | | * tests/string.test: [string is boolean] [Bug 1187123]
| | * Fix crash in [string map] when objects are shared. [Bug 1018562]dkf2004-08-301-1/+5
| | |
| | * * string.test (string-4.15): Added test for [string first] bugdgp2003-06-091-1/+8
| | | | | | | | | | | | | | | reported in Tcl 8.3, where test for all-single-byte-encoded strings was not reliable.
| | * * generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT): Correcteddgp2003-04-111-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | inconsistent results of [string is integer] observed on systems where sizeof(long) != sizeof(int). [Bug 718878] * tests/string.test: Added tests for Bug 718878. * doc/string.n: Clarified that [string is integer] accepts 32-bit integers.
| * | Backport fix for [Bug 2006884]dkf2009-01-061-8/+8
| | |