Commit graph

13 commits

Author SHA1 Message Date
Tim Chevalier
85a9b2ee84 ICU-22746 Refactor MF2 tests to be data-driven and add JSON lib
This change moves all test strings out of test/intltest/messageformat2test.cpp
and into JSON files, which are parsed/run by code in
a new file, test/intltest/messageformat2test_read_json.cpp .
It also removes the file test/intltest/messageformat2test_fromjson.cpp ,
which contained tests that are now stored in JSON files.

To enable this, a new vendored library is added:
nlohmann/json .
This library is introduced as a dependency for the MF2 tests.
The required part of the library is a single header file,
which is added under icu4c/source/tools/toolutil/.
Also adds a wrapper file for the vendored JSON header file
that defines macros that disable exceptions.

Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2024-05-07 14:09:24 -07:00
Mihai Nita
141e820f71 ICU-22690 Update ICU4J MessageFormatter to the latest spec, LDML 45 2024-03-22 14:39:02 -07:00
Mihai Nita
6afef81b5e ICU-22324 Fix copyright check
Unrelated but blocking the main PR, Mavenization step 2
2023-08-30 15:25:01 -07:00
Daniel Ju
7b971a2b23 ICU-21535 Port Cygwin CI build from AppVeyor to Azure Pipelines 2021-04-08 17:04:07 -07:00
Frank Tang
63b9a8aea8 ICU-21041 Fix fuzzer memory read error.
See #1622
2021-03-10 15:26:52 -08:00
gnrunge
1cd98069ab ICU-21487 Moves performance test data files from the icu-data repository
to the icu repository. Added Unicode copyright notice to those files
that only have the IBM copyright notice.
A complimentary PR will remove data from the icu-data repository.

ICU-21487 Adds pure test data files which have no copyright notice to the
exemption list.
2021-02-22 13:23:50 -08:00
Jeff Genovy
2e56c4264a ICU-20088 User Guide migration: Add navigation structure and TOC for Jekyll, fix formatting issues, etc. 2020-08-17 10:44:44 -07:00
Hugo van der Merwe
8e2651828a ICU-21137 Adjust VSCode IDE settings and README.
ICU Pull Request #1159.

- Set intltest's Current Working Directory correctly to enable finding
  resources.
- Adds c_cpp_properties.json, primarily for the includePath settings.
- Load average takes a while to respond, specify -j24 to always limit
  parallel jobs to a maximum of 24.
- make's "-l" parameter is system load average, not CPU percentage.
  A load average of 90 makes my laptop unusable, changing to -l20.
- Make running all tests the unit-testing default.
- Document the adjustments that can be made in the README.
- Skip these json files when checking for copyright notices. Pure json
  does not permit comments, so c_cpp_properties.json cannot have
  comments.
- defines += U_DISABLE_RENAMING=1 to simplify reference following.

Rebased from 00a5d6dd5c.
2020-06-18 03:15:42 +02:00
Jeff Genovy
7d7449bcbe ICU-20873 Add KEYS file to cpyskip.txt for Travis Linter. 2019-12-04 16:56:43 -08:00
Norbert Runge
f52a75b2eb ICU-20217 Replaces seed corpus zip files with the original txt files.
The problem is that Docker receives zip files only as LFS links when
cloning ICU from GitHub. Converting the txt files into zip files, which
is the required corpus format for the fuzzer, will be done by the oss-fuzz
build script.

ICU-20217 Adds fuzzer seed corpus files to the list of files that don't have
copyright notice.
2019-02-01 16:07:25 -08:00
Jeff Genovy
be7c5dbcb0 ICU-20215 Conver the VSTS/Azure CI builds definitions to a YML file in the repo (similar to .travis.yml) 2018-11-11 16:30:01 -08:00
Steven R. Loomis
5e5b4b3bab
ICU-20066 fixup .travis.yml (#160)
* ICU-20066 fixup .travis.yml

- correct typo from 518f10b7a9
- 859d6090dc added a PR template that needed exclusion
2018-09-27 14:27:41 -07:00
Steven R. Loomis
f89a1d9d8a
ICU-20066 add a copyright scan stage (#26)
- name the travis build steps
- copy cpyskip.txt to /.cpyskip.txt
- add one named "lint" which runs cpyscan.pl
- remove network access from Cpy.pm (requires installation)
2018-09-27 14:27:41 -07:00