summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Tests for ::http::Write done.tip_452gerald2017-06-231-3/+323
|
* Added test suites for more of the http package, two procedures left to do ↵gerald2017-06-231-3/+749
| | | | test suites for.
* Added additional tests into rewrite of http test package.gerald2017-06-221-14/+575
|
* More http test rewrites.gerald2017-06-211-13/+1391
|
* Test for several more commands.gerald2017-06-201-37/+793
|
* Added test for several commands.gerald2017-06-201-2185/+2833
|
* [4e5007ea1b285527] Added all code path tests for ::http::formatQuery.gerald2017-06-191-3/+79
|
* Test complete for http::geturl -- all code paths covered.gerald2017-06-191-88/+102
| | | Also fix for tcloo code in TIP 452.
* Partial test suite written for http::geturl.gerald2017-06-161-252/+712
|
* Added empty failing tests for all the paths in geturl.gerald2017-06-161-0/+1336
|
* Added empty failing test for each unit that should be tested. NOTE -- some ↵gerald2017-06-161-11/+424
| | | | units will have multiple tests when fully implemented to test all of their code paths.
* Started to add support for tcloo into tcltest package.gerald2017-06-161-562/+81
| | | First set of http test using TIP 452.
* 1) Added namespace exports to tcltest namespace for new featuresgerald2017-06-101-0/+654
| | | | 2) Rolled minor revision number of tcltest package to 2.5.0 since freatures were added. 3) Started http-tip-452.test to demostrate the use of mocks/stubs. (work here is not complete)
* merge core-8-6-branchjan.nijtmans2017-06-081-4/+11
|\
| * Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-081-1/+5
| |\
| * | tclUtil.c: Use TclUtfToUniChar() in stead of handling ASCII characters ↵jan.nijtmans2017-06-081-4/+7
| | | | | | | | | | | | | | | separately: This macro already does that. Add new test-case for Tcl_NumUtfChars(), for a knownBug still to be fixed.
* | | merge core-8-6-branchjan.nijtmans2017-06-071-40/+40
|\ \ \ | |/ /
| * | Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵jan.nijtmans2017-06-071-40/+40
| | | | | | | | | | | | simplifications/optimizations. No functional change.
* | | merge core-8-6-branchjan.nijtmans2017-06-063-12/+44
|\ \ \ | |/ /
| * | Add more test-cases for UTF-8 parser, including test-cases for TCL_UTF_MAX=4 ↵jan.nijtmans2017-06-063-20/+56
| | | | | | | | | | | | or TCL_UTF_MAX=6
* | | merge core-8-6-branchjan.nijtmans2017-06-061-1/+1
|\ \ \ | |/ /
| * | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵jan.nijtmans2017-06-061-1/+1
| |\ \ | | |/ | | | | | | in character tests, comment fixes. No change in functionality.
| | * [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵jan.nijtmans2017-06-061-0/+25
| | | | | | | | | | | | documented.
* | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵dgp2017-06-051-0/+25
|\ \ \ | |/ / | | | | | | documented.
| * | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-06-021-0/+25
| | | | | | | | | | | | UTF-8 can inject unexpected characters
* | | Merge core-8-6-branch. This removes the work currently being done in ↵jan.nijtmans2017-06-022-498/+85
|\ \ \ | |/ / | | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch, but that will be merged again as soon as the work is done. All other changes in "trunk" since then (e.g. the INST_STR_CONCAT1 performance improvement, and the removal of SunOS-4) are retained.
* | | merge core-8-6-branchjan.nijtmans2017-05-311-0/+25
|\ \ \
| * | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-05-311-0/+25
| | | | | | | | | | | | | | | | UTF-8 can inject unexpected characters
* | | | merge core-8-6-branch (except: the "timerate" command and the clock ↵jan.nijtmans2017-05-311-1/+1
|\ \ \ \ | |/ / / | | | | | | | | performance-tests are kept)
| * | | [msgcat] revert changes of "msgcat" to previous state before clock-speedup, ↵sebres2017-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | move this functionality to "clock.tcl"; additionally avoids the usage of catch (uses pair "dict exists/dict get" instead of).
| | | |
| \ \ \
*-. \ \ \ 3-way merge sebres-trunk-clock-speedup / core-8-6-branch (clock speed-up / ↵sebres2017-05-292-46/+379
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | flightaware Tcl-bounties#4, see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | * | | merge sebres-8-6-clock-speedupsebres2017-05-151-15/+36
| | |\ \ \
| | | \ \ \
| | | \ \ \
| | *-. \ \ \ reintegrate sebres-8-6-clock-speedup back to sebres-clock-speedup (trunk ↵sebres2017-05-1120-67/+323
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | clock-speedup, 3-way merge)
| * | \ \ \ \ \ merge sebres-8-6-clock-speedup (clock speed-up / flightaware Tcl-bounties#4, ↵sebres2017-05-292-86/+474
| |\ \ \ \ \ \ \ | | | |_|_|/ / / | | |/| | | / / | | |_|_|_|/ / | |/| | | | | see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | * | | | | Fixed stardate format: be sure positive after decimal point (note: ↵sebres2017-05-121-15/+36
| | | |/ / / | | |/| | | | | | | | | | | | | | | clock-value can be negative - modulo operation in C has the same sign as dividend)
| | * | | | auto-loading of ensemble and stubs on demand only (+ test covered now, see ↵sebres2017-05-111-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clock-0.1); introduces new possibility to implement namespace-based auto-loading, e. g.: set ::auto_index_ns(::some::namespace) [list ::source [::file join $dir some namespace.tcl]]] loading of clock-stubs (clock.tcl) implemented via handler "auto_index_ns" now.
| | * | | | Fixed possible wrong current date for CET / CEST test cases. sebres2017-05-101-3/+12
| | | | | |
| | * | | | Fixed wrong args message (e.g. "clock format ..." instead of ↵sebres2017-05-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | "::tcl::clock::format") if failed through compiled ensemble execution.
| | * | | | clock.test normalized (compared with trunk) sebres2017-05-101-40/+95
| | | | | |
| | * | | | [interim-merge-commit] back-ported branch sebres-clock-speedup (from trunk ↵sebres2017-05-102-45/+323
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | to 8.6): tcl-clock functionality rewritten in C.
| | | * | | msgcat.test: fixed mcpackagelocale syntax usage test case (msgcat-12.1)sebres2017-03-061-1/+1
| | | | | |
| | | * | | merge trunksebres2017-03-0610-15/+88
| | | |\ \ \
| | | * | | | amend lost changes after rebase to fossilsebres2017-01-101-0/+1
| | | | | | |
| | | * | | | "clock add" rewritten in C, using common functionality of "clock scan" (and ↵sebres2017-01-101-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | freescan)... test-performance.tcl: test cases extended to cover "clock add"
| | | * | | | another way to make greedy search more precise, some greedy matches are ↵sebres2017-01-101-7/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed (see test cases clock-6.22.11 - clock-6.22.20), additionally involving look ahead token of known type into pre-search process.
| | | * | | | some greedy matches are fixed (see test cases clock-6.22.11 and ↵sebres2017-01-101-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | clock-6.22.12), involving space count in look ahead and end distance calculation (because spaces are optional in date-time string as well as in scanning format).
| | | * | | | several missing scan tokens added, test cases extended and fixed;sebres2017-01-101-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | token "%s" used for seconds only (time zone independent), additionally "%Es" token added for local seconds (zone dependent seconds);
| | | * | | | [temp-commit]: format almost ready (missing some tokens)sebres2017-01-101-0/+5
| | | | | | |
| | | * | | | min length of %Y token (year with century) is 4, optional tokens possibility ↵sebres2017-01-101-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (zone), test cases extended
| | | * | | | locale months scan switched to from list seek to index tree; bug fixingsebres2017-01-101-0/+24
| | | | | | |