Commit Graph

161 Commits

Author SHA1 Message Date
gnrunge
9e85ba5690 ICU-21268 Adds NULL string checks to assert statements to prevent
segmentation faults when unit tests run without ICU data.

ICU-21268 Fix value type: char* is not ompatible with u'..' value.
2020-09-09 17:50:45 -07:00
Shane Carr
1d2861bb0c ICU-20627 Adding getAvailableLocalesByType, ICU4C and ICU4J. 2019-08-14 20:45:27 -07:00
Shane Carr
ad2ea9d38f ICU-13634 Minor cintltst tweaks; all of cintltst is passing.
X-SVN-Rev: 41243
2018-04-18 09:07:41 +00:00
Shane Carr
395463d7a7 ICU-13597 Adding support for field positions to the NumberFormatter C API.
X-SVN-Rev: 41159
2018-03-27 05:36:04 +00:00
Shane Carr
3a55650b8c ICU-13597 Adding initial C API for NumberFormatter. Not yet fully featured.
X-SVN-Rev: 41156
2018-03-27 01:58:26 +00:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Markus Scherer
1d4b6a6ec7 ICU-11551 new UNISTR_OBJECT_SIZE=64 for 27 UChars stored internally on 64-bit machine
X-SVN-Rev: 37339
2015-04-15 18:49:55 +00:00
Michael Ow
4835d5705a ICU-10398 Ensure cintltst and intltest passes without data
X-SVN-Rev: 34398
2013-09-19 02:32:57 +00:00
Steven R. Loomis
76fce4a987 ICU-9744 remove timebomb code, update docs for logKnownIssue and log_knownIssue
X-SVN-Rev: 34341
2013-09-17 00:55:39 +00:00
Steven R. Loomis
7802f4a73b ICU-9744 logKnownIssue and log_knownIssue for ICU4C
X-SVN-Rev: 34335
2013-09-16 22:07:02 +00:00
Andy Heninger
0061d3a9b7 ICU-10184 umutex.h, change to C++ only, in preparation for build time user mutex support.
X-SVN-Rev: 34029
2013-08-09 19:53:07 +00:00
Andy Heninger
ae87a3acc2 ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK. All the directories this time.
X-SVN-Rev: 33788
2013-06-01 03:37:16 +00:00
Steven R. Loomis
cff6206277 ICU-9544 update javadocs around ctst_malloc
X-SVN-Rev: 32055
2012-07-24 17:33:19 +00:00
Markus Scherer
318d676827 ICU-7973 C: no non-const initializers
X-SVN-Rev: 31138
2011-12-16 07:25:19 +00:00
Markus Scherer
b4ce283bca ICU-7973 make isICUVersionAtLeast() easier to use, add isICUVersionBefore()
X-SVN-Rev: 31122
2011-12-15 17:02:43 +00:00
Markus Scherer
9bcc40cf9e ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411
X-SVN-Rev: 30412
2011-07-23 00:10:30 +00:00
Steven R. Loomis
edcaca307a ICU-3030 show elapsed time in subtests. Add internal uprv_getRawUTCtime that doesn't go through faketime.
X-SVN-Rev: 28099
2010-05-25 19:55:05 +00:00
Michael Ow
bc0c9167d8 ICU-7519 Because of certain compiler optimization options, remove usage of global variables in cintltst and use getter/setter functions instead.
X-SVN-Rev: 27907
2010-04-07 16:18:38 +00:00
Steven R. Loomis
07ea404d7f ICU-3904 fix leaks. report leaks if all of ICU is compiled with URES_DEBUG
X-SVN-Rev: 27822
2010-03-11 20:05:42 +00:00
Markus Scherer
66b63f9c48 ICU-7084 Unicode 5.2: merge -r 26464:26890 branches/markus/uni52 into trunk, and a little cleanup (C++)
X-SVN-Rev: 26898
2009-11-13 19:25:21 +00:00
Michael Ow
9100ba632e ICU-6905 Log errors as data errors where appropriate to ensure cintltst passes without data. Some areas don't propagate error code. Add new error log function to check for error code.
X-SVN-Rev: 26084
2009-06-09 21:28:13 +00:00
Michael Ow
4e7f7ff702 ICU-6307 Edit cintltst.c, intltest.cpp, and iotest.cpp to load data correctly.
X-SVN-Rev: 24488
2008-08-12 16:34:55 +00:00
Eric Mader
8b8e11bb47 ICU-6337 Add callback to initArgs to handle unknown options. Change iotest to take the STANDARD_TEST_FILE name from the argument list.
X-SVN-Rev: 24158
2008-06-12 01:01:00 +00:00
Michael Ow
8a63dd5683 ICU-2498 Make test pass w/o data in iotest and cintltest.
X-SVN-Rev: 23783
2008-04-10 16:53:16 +00:00
George Rhoten
dc72952350 ICU-6076 Fix memory leak from new code for -m option
X-SVN-Rev: 23082
2007-12-14 00:46:21 +00:00
George Rhoten
2659a41917 ICU-6076 Add -m test option for easier memory failure testing.
The number of allocations can now be determined so that people can be
notified of a memory leak sooner than later in a development cycle.
Only C based test frameworks are affected.
Some test fixes for when the memory is limited to 100K per allocation are also
added.

X-SVN-Rev: 23042
2007-12-07 10:49:34 +00:00
George Rhoten
d74dc09607 ICU-5366 Warn about unavailable default locale.
X-SVN-Rev: 20641
2006-11-07 18:52:45 +00:00
Ram Viswanadha
2ac62d437c ICU-5298 add a test
X-SVN-Rev: 20603
2006-10-27 17:55:28 +00:00
George Rhoten
a77abc97f4 ICU-5426 Reduce size of rarely used static buffer.
X-SVN-Rev: 20442
2006-09-29 03:37:37 +00:00
George Rhoten
f84f9aa516 ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 18240
2005-07-14 06:03:34 +00:00
Steven R. Loomis
db04e06f4e ICU-4620 test fixes for uconfig.h
X-SVN-Rev: 18183
2005-07-09 03:15:06 +00:00
Ram Viswanadha
3fdcb27040 ICU-4390 tests for api
X-SVN-Rev: 17424
2005-03-31 00:19:21 +00:00
Eric Mader
f57c82a12d ICU-4428 update copyright notices for ICU 3.3.
X-SVN-Rev: 17348
2005-03-16 18:46:54 +00:00
George Rhoten
ac150dfac8 ICU-4379 Show elapsed time of test suite to verify that uprv_getUTCtime can show subsecond precision.
X-SVN-Rev: 17346
2005-03-16 00:33:39 +00:00
George Rhoten
b7d71b6d46 ICU-4092 Remove dead code
X-SVN-Rev: 16968
2004-12-18 01:05:47 +00:00
George Rhoten
380f90589e ICU-4273 Fix some test initialization issues.
X-SVN-Rev: 16903
2004-12-02 07:09:05 +00:00
George Rhoten
6b11c1a3af ICU-4084 Improve doOpenChoice performance, and make sure that tests can run against the shared data library.
X-SVN-Rev: 16445
2004-10-11 21:23:12 +00:00
George Rhoten
0bb1744bb8 ICU-3500 Remove some tabs.
X-SVN-Rev: 15559
2004-05-26 18:28:09 +00:00
Alan Liu
cb65962ab6 ICU-3500 fix msvc6 warnings
X-SVN-Rev: 15405
2004-05-19 17:28:20 +00:00
Alan Liu
05f8f157f3 ICU-3549 add assertTrue, assertSuccess, assertEquals
X-SVN-Rev: 15079
2004-04-28 05:31:02 +00:00
George Rhoten
54333cfd25 ICU-3612 Fix optimization when __FILE__ doesn't contain the directory name
X-SVN-Rev: 14716
2004-03-16 23:52:07 +00:00
George Rhoten
e6bae15cc6 ICU-2403 Make cintltst work like intltest with regards to how ICU_DATA is handled.
X-SVN-Rev: 14268
2004-01-08 22:33:17 +00:00
George Rhoten
b2eb175307 ICU-3222 Fix some compiler warnings.
X-SVN-Rev: 13902
2003-11-27 01:23:15 +00:00
Andy Heninger
22b16ab91e ICU-2403 tracing, have cintltst save trace settings across u_cleanup().
Add trace Open and Close option to cintltst

X-SVN-Rev: 13896
2003-11-26 03:09:51 +00:00
Andy Heninger
43aca775e3 ICU-2403 tracing, more changes from code review
X-SVN-Rev: 13798
2003-11-21 00:51:56 +00:00
Andy Heninger
6d106efab7 ICU-2403 tracing, more changes from code review
X-SVN-Rev: 13797
2003-11-21 00:41:07 +00:00
Andy Heninger
9ded263c4a ICU-2403 tracing, changes from code review
X-SVN-Rev: 13792
2003-11-20 20:04:34 +00:00