icu/testdata/message2
2024-09-25 09:25:04 -07:00
..
spec ICU-22902 Remove support for Unsupported, Private & Reserved constructs 2024-09-20 17:29:07 -07:00
alias-selector-annotations.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
duplicate-declarations.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
icu-parser-tests.json ICU-22893 Remove support for Unsupported, Private & Reserved constructs 2024-09-18 16:12:54 -07:00
icu-test-functions.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
icu-test-previous-release.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
icu-test-selectors.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
invalid-number-literals-diagnostics.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
invalid-options.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
markup.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
matches-whitespace.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
more-data-model-errors.json ICU-22902 Remove support for Unsupported, Private & Reserved constructs 2024-09-20 17:29:07 -07:00
more-functions.json ICU-22919 Enable CI with JDK 21 and fix the json parsing 2024-09-25 09:25:04 -07:00
README.txt ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
resolution-errors.json ICU-22902 Remove support for Unsupported, Private & Reserved constructs 2024-09-20 17:29:07 -07:00
runtime-errors.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
syntax-errors-diagnostics-multiline.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
syntax-errors-diagnostics.json ICU-22898 MF2 parser bug fixes 2024-09-20 16:22:34 -07:00
syntax-errors-end-of-input.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
syntax-errors-reserved.json ICU-22898 MF2 parser bug fixes 2024-09-20 16:22:34 -07:00
tricky-declarations.json ICU-22834 Update tests to reflect MF2 schema in conformance repo 2024-09-18 07:46:29 -07:00
unsupported-expressions.json ICU-22902 Remove support for Unsupported, Private & Reserved constructs 2024-09-20 17:29:07 -07:00
unsupported-statements.json ICU-22902 Remove support for Unsupported, Private & Reserved constructs 2024-09-20 17:29:07 -07:00
valid-tests.json ICU-22898 MF2 parser bug fixes 2024-09-20 16:22:34 -07:00

© 2024 and later: Unicode, Inc. and others.
License & terms of use: http://www.unicode.org/copyright.html

The format of the JSON files in this directory and subdirectories
follow the test schema defined in the Conformance repository:

https://github.com/unicode-org/conformance/blob/main/schema/message_fmt2/testgen_schema.json

(as of https://github.com/unicode-org/conformance/pull/255 or later).

# JSON notes

In the "params" field, a date parameter can be expressed as:
{ "date": n }
where n is a number representing a Unix timestamp.

In the "params" field, a decimal string parameter can be expressed as:
{ "decimal": s }
where s is a string.

Optional fields, "ignoreJava" and "ignoreCpp" can be used
for tests currently expected to fail in the respective language.
The field may have any value; if it's
present, the test is ignored. (The value can be a comment explaining
why it's expected to fail.)

Tests in the `spec/` subdirectory are taken from https://github.com/unicode-org/message-format-wg/blob/main/test .
If the contents change upstream, then the corresponding tests in CLDR
need to be updated (also see https://unicode-org.atlassian.net/browse/ICU-22812 ).

## ICU4J only

The `cleanSrc` fields is used to represent normalized input (ICU4C has its
own function for normalizing input).

## ICU4C only

Additional "char" and "line" fields may be present with integer values,
used for tests expected to trigger a syntax error.
If present, "char" reflects the expected character offset and "line"
reflects the expected line number in the parse error.
The files with "diagnostics" in the name have these fields filled in.