1212import org .junit .jupiter .api .Test ;
1313import org .unicode .text .UCD .TestUnicodeInvariants .BackwardParseException ;
1414import org .unicode .text .utility .Settings ;
15- import org .unicode .text .utility .Settings .UnicodeTools ;
1615
1716public class TestTestUnicodeInvariants {
1817 @ Test
1918 void testSRC_UCD_DIR () {
2019 assertAll (
2120 "assert that no components of Settings.SRC_UCD_DIR are null" ,
2221 () -> assertNotNull (Settings .SRC_UCD_DIR , "Settings.SRC_UCD_DIR" ),
23- () -> assertNotNull (Settings .SRC_DIR , "Settings.SRC_DIR" ),
2422 () ->
2523 assertNotNull (
2624 Settings .UnicodeTools .UNICODETOOLS_RSRC_DIR ,
@@ -43,23 +41,17 @@ void testUnicodeInvariants() throws IOException {
4341
4442 @ Test
4543 void testAdditionComparisons () throws IOException {
46- final var directory = new File (Settings .SRC_DIR + "UCD/AdditionComparisons/" );
44+ final var directory =
45+ new File (
46+ Settings .UnicodeTools .UNICODETOOLS_RSRC_DIR
47+ + "org/unicode/text/UCD/AdditionComparisons/" );
4748 if (!directory .exists ()) {
4849 throw new IOException (
49- "UnicodeTools.UNICODETOOLS_REPO_DIR="
50- + UnicodeTools .UNICODETOOLS_REPO_DIR
51- + ", "
52- + "UnicodeTools.UNICODETOOLS_DIR="
53- + UnicodeTools .UNICODETOOLS_DIR
54- + ", "
55- + "UnicodeTools.UNICODETOOLS_RSRC_DIR="
56- + UnicodeTools .UNICODETOOLS_RSRC_DIR
57- + ", "
58- + "Settings.SRC_DIR="
59- + Settings .SRC_DIR
50+ "Settings.UnicodeTools.UNICODETOOLS_RSRC_DIR="
51+ + Settings .UnicodeTools .UNICODETOOLS_RSRC_DIR
6052 + ", "
6153 + directory .getAbsolutePath ()
62- + " which does not exist" );
54+ + " does not exist" );
6355 }
6456 int rc = 0 ;
6557 for (var file : directory .listFiles ()) {
0 commit comments