Skip to content

Commit

Permalink
CLDR-17371 Merge branch 'kbd/cldr-17371/xmlns-patch-dtd' of https://g…
Browse files Browse the repository at this point in the history
…ithub.com/srl295/cldr into kbd/cldr-17371/xmlns-patch-dtd
  • Loading branch information
srl295 committed Feb 26, 2024
2 parents 2e45a12 + 8d0778c commit 98b6724
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

public class TestDoctypeXmlStreamWrapper {
private static final int COUNT = 10; // increase this for perf testing
private static final String COMMON_MT = "common/main/mt.xml";
private static final String KEYBOARDS_MT = "keyboards/3.0/mt.xml";
private static final String COMMON_MT = CLDRPaths.BASE_DIRECTORY + "/common/main/mt.xml";
private static final String KEYBOARDS_MT = CLDRPaths.BASE_DIRECTORY + "/keyboards/3.0/mt.xml";

// make sure we get some basic loading first before starting the clock
@BeforeAll
Expand Down Expand Up @@ -84,7 +84,7 @@ void TestReadKeyboardChar() throws IOException, SAXException {
}
}

@ParameterizedTest
@ParameterizedTest(name = "[{index}] wrapped={arguments}")
@ValueSource(booleans = {false, true, false, true})
public void TestBytePerf(boolean wrapped) throws IOException, SAXException {
for (int i = 0; i < COUNT; i++) {
Expand All @@ -98,7 +98,7 @@ public void TestBytePerf(boolean wrapped) throws IOException, SAXException {
}
}

@ParameterizedTest
@ParameterizedTest(name = "[{index}] wrapped={arguments}")
@ValueSource(booleans = {false, true, false, true})
public void TestCharPerf(boolean wrapped) throws IOException, SAXException {
for (int i = 0; i < COUNT; i++) {
Expand Down
19 changes: 19 additions & 0 deletions tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,25 @@
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
<argLine>-Xmx6g -enableassertions</argLine>
<statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter">
<disable>false</disable>
<version>3.0</version>
<usePhrasedFileName>false</usePhrasedFileName>
<usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName>
<usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName>
<usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName>
</statelessTestsetReporter>
<consoleOutputReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5ConsoleOutputReporter">
<disable>false</disable>
<encoding>UTF-8</encoding>
<usePhrasedFileName>false</usePhrasedFileName>
</consoleOutputReporter>
<statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoReporter">
<disable>false</disable>
<usePhrasedFileName>false</usePhrasedFileName>
<usePhrasedClassNameInRunning>true</usePhrasedClassNameInRunning>
<usePhrasedClassNameInTestCaseSummary>true</usePhrasedClassNameInTestCaseSummary>
</statelessTestsetInfoReporter>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 98b6724

Please sign in to comment.