Commit Graph

118 Commits

Author SHA1 Message Date
n7800
5e38e572d6 Tests: Added tests that check the handling of paths with periods in the CreateRelativePath function 2025-01-31 18:37:07 +00:00
Juha
c80fcf7e17 LazUtils tests: Add a test for UTF8StringReplace. Shorten function names. 2024-12-29 10:54:02 +02:00
Juha
6b0b18c09d Tests: Remove C-style operators. Compilations depends on fpc.cfg. Issue #41074, patch by n7800. 2024-09-30 00:04:06 +03:00
n7800
9d6b34ca0c Using TStringArray from SysUtils instead of creating new types for "array of string" 2024-09-23 09:19:02 +00:00
Juha
041341dd1c LazUtils tests: Remove unit test for UTF8CompareLatinTextFast. The whole function will be removed. Issue #40014. 2024-02-09 01:20:36 +02:00
Juha
fa35fa3d85 LazUtils tests: Add a unit test for TestUTF8CompareLatinTextFast. Issue #40014. Cleanup. 2024-01-28 14:16:04 +02:00
Juha
148b2d23f4 LazUtils: Resolve '/somedir/..' correctly in ResolveDots. Add tests. Issue #40678. 2024-01-13 12:48:03 +02:00
Juha
e65a102527 Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x. 2023-07-07 17:39:03 +03:00
Juha
adfc424e92 Lazarus trunk requires at least FPC 3.2.0. Remove checks for earlier FPC_FULLVERSION. 2023-07-07 17:39:03 +03:00
Juha
abb5f2b097 LazUtils: Harmonize the CamelCase names of some units. Add a license header for LazTracer. 2023-04-10 09:15:24 +03:00
Bart
6df7e87568 tests: add another test for TestTrimFileName. 2021-08-20 18:54:50 +02:00
bart
c144a64fe3 Lazutils add test for r65246 #7a69a2a702 (UTF-16 surrogate halves).
git-svn-id: trunk@65247 -
2021-06-16 08:42:49 +00:00
maxim
cdadfd0cf5 Test: fixed typos related to 'occur' word
git-svn-id: trunk@65208 -
2021-06-10 22:22:38 +00:00
mattias
8396e2d0e0 lazutils: fixed ConvertUTF8ToUTF16 U+1FFFFF
git-svn-id: trunk@65182 -
2021-06-06 18:12:00 +00:00
mattias
63af733452 lazutils: fixed ConvertUTF8ToUTF16 U+1F600 and added tests
git-svn-id: trunk@65181 -
2021-06-06 17:50:54 +00:00
mattias
6de8b92783 lazutils: UTF8FixBroken: fixing out of range and endless loop, added tests
git-svn-id: trunk@65163 -
2021-06-01 22:01:18 +00:00
mattias
c887c889e3 lazutils: FindInvalidUTF8Codepoint: check if bigger U+10FFFF
git-svn-id: trunk@65162 -
2021-06-01 21:02:23 +00:00
bart
cc10a56948 Remove tests for PasWStr unit.
git-svn-id: trunk@64124 -
2020-11-11 17:41:58 +00:00
juha
4321fbf6e5 LazUtils: move procedure ReplaceSubstring from LazUTF8 to LazStringUtils.
git-svn-id: trunk@64081 -
2020-10-29 15:45:34 +00:00
juha
4b7ffb6eb4 Unit tests for codepages KOI8-R, KOI8-U and KOI8-RU. Issue #37155, patch from eastorwest.
git-svn-id: trunk@63510 -
2020-07-05 06:54:47 +00:00
mattias
192bfa4b12 tests: ResolveDots: check resolvedots is stable
git-svn-id: trunk@56728 -
2017-12-14 16:31:15 +00:00
mattias
cf72b8162b tests: more tests for ResolveDots on windows
git-svn-id: trunk@56725 -
2017-12-14 16:18:42 +00:00
juha
6810c626df LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +00:00
mattias
8928e14292 tests: added CreateRelativePath windows test
git-svn-id: trunk@56405 -
2017-11-14 11:29:39 +00:00
mattias
6e9b8ffbe3 tests: added CreateRelativePath windows test
git-svn-id: trunk@56404 -
2017-11-14 11:17:10 +00:00
mattias
77785eec5b tests: moved old fileprocs tests to lazfileutils
git-svn-id: trunk@56403 -
2017-11-14 11:15:07 +00:00
mattias
1c3176f304 tests: added tests for resolvedots
git-svn-id: trunk@56186 -
2017-10-25 10:28:35 +00:00
mattias
c13ff6bbcd tests: fixed avl tree tests
git-svn-id: trunk@54539 -
2017-04-06 10:08:52 +00:00
mattias
8fc0308619 tests: added TTestLazUTF8.TestFindUnicodeToUTF8
git-svn-id: trunk@53963 -
2017-01-17 15:24:55 +00:00
mattias
8d43a73be1 codetools: avltree: new consistencycheck
git-svn-id: trunk@53925 -
2017-01-11 12:41:05 +00:00
mattias
1ac9f479c4 tests: moved testlazutf16
git-svn-id: trunk@53656 -
2016-12-12 19:59:59 +00:00
juha
f34ea1f4c7 LazUtils: Match character case of unit name LazUTF16 with LazUTF8.
git-svn-id: trunk@52528 -
2016-06-20 06:34:37 +00:00
mattias
d75c8aba79 tests: fixed hints on fpc 3.1.1
git-svn-id: trunk@50159 -
2015-10-24 21:47:10 +00:00
mattias
69edc4d8c0 lazutils: moved ReplaceSubString to LazUTF8, added UTF8QuotedStr
git-svn-id: trunk@47748 -
2015-02-13 20:34:21 +00:00
mattias
64a4059bf0 tests: less hints
git-svn-id: trunk@47622 -
2015-02-07 11:59:25 +00:00
mattias
814cf1a717 lazutils: FindInvalidUTF8Character: check for wrong mapped codes, changed default to report gaps
git-svn-id: trunk@47172 -
2014-12-10 14:26:18 +00:00
mattias
bedd8d3376 tests: SimpleFormat
git-svn-id: trunk@47020 -
2014-11-28 14:29:40 +00:00
mattias
17edf49202 tests: less verbosity
git-svn-id: trunk@46900 -
2014-11-20 13:15:47 +00:00
mattias
d37aa8ac09 test: fixed compiling runtests, fixes TestExpandFilename under Windows
git-svn-id: trunk@42805 -
2013-09-15 12:50:03 +00:00
mattias
45db0258ac lazutils: added MergeCmdLineParams
git-svn-id: trunk@42244 -
2013-07-30 15:37:48 +00:00
mattias
bf8072a3ee tests: added test if CP1257-UTF8-CP1257 is lossless
git-svn-id: trunk@42028 -
2013-07-08 17:57:27 +00:00
mattias
c7a6f30979 tests: added test if CP433-UTF8-CP433 is lossless
git-svn-id: trunk@42027 -
2013-07-08 17:42:24 +00:00
mattias
65dc384053 tests: added test if CP433-UTF8-CP433 is lossless
git-svn-id: trunk@42026 -
2013-07-08 17:41:58 +00:00
mattias
90efb38b39 tests: added test if 8859-2-UTF8-8859-2 is lossless
git-svn-id: trunk@42025 -
2013-07-08 17:37:15 +00:00
mattias
3d352019bf tests: added test if 8859-15-UTF8-8859-15 is lossless
git-svn-id: trunk@42024 -
2013-07-08 17:36:49 +00:00
mattias
9640cbc6e8 tests: added test if 8859-1-UTF8-8859-1 is lossless
git-svn-id: trunk@42023 -
2013-07-08 17:36:28 +00:00
mattias
3483a510dc tests: added test if CP1255-UTF8-CP1255 is lossless
git-svn-id: trunk@42021 -
2013-07-08 17:34:39 +00:00
mattias
b3672fb4a5 tests: added test if CP1254-UTF8-CP1254 is lossless
git-svn-id: trunk@42019 -
2013-07-08 17:24:17 +00:00
mattias
44d50da995 tests: added test if CP1253-UTF8-CP1253 is lossless
git-svn-id: trunk@42017 -
2013-07-08 17:03:41 +00:00
mattias
11ff90f78b tests: added test if CP1252-UTF8-CP1252 is lossless
git-svn-id: trunk@42015 -
2013-07-08 16:54:21 +00:00