blob: 66c40ccfbdc910de9028f4474bd06e3c9e8ee100 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// © 2024 and later: Unicode, Inc. and others.
// License & terms of use: https://www.unicode.org/copyright.html
package com.ibm.icu.dev.test.message2;
import java.io.Reader;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import com.ibm.icu.dev.test.CoreTestFmwk;
@SuppressWarnings({"static-method", "javadoc"})
@RunWith(JUnit4.class)
public class CoreTest extends CoreTestFmwk {
private static final String JSON_FILE = "test-core.json";
@Test
public void test() throws Exception {
try (Reader reader = TestUtils.jsonReader(JSON_FILE)) {
Unit[] unitList = TestUtils.GSON.fromJson(reader, Unit[].class);
for (Unit unit : unitList) {
TestUtils.runTestCase(unit);
}
}
}
}
|