Skip to content

Support Java 8+ semantics for String.split() #370

Support Java 8+ semantics for String.split()

Support Java 8+ semantics for String.split() #370

GitHub Actions / JUnit Test Report failed Dec 8, 2024 in 0s

13836 tests run, 13830 passed, 0 skipped, 6 failed.

Annotations

Check failure on line 256 in gwt/user/test/com/google/gwt/emultest/java/lang/CompilerConstantStringTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CompilerConstantStringTest.testSplit_emptyExpr

emptyRegexSplit length - expected: <11>, actual: <10>
Raw output
junit.framework.AssertionFailedError: emptyRegexSplit length - expected: <11>, actual: <10>
	at java.lang.Throwable.Throwable(Throwable.java:73)
	at java.lang.Error.Error(Error.java:30)
	at java.lang.AssertionError.AssertionError(AssertionError.java:51)
	at junit.framework.AssertionFailedError.AssertionFailedError(AssertionFailedError.java:27)
	at com.google.gwt.emultest.java.lang.CompilerConstantStringTest.compareList(CompilerConstantStringTest.java:329)
	at com.google.gwt.emultest.java.lang.CompilerConstantStringTest.testSplit_emptyExpr(CompilerConstantStringTest.java:256)
	at Unknown.anonymous(GWTTestMetadataImpl.java:279)
	at com.google.gwt.junit.client.impl.GWTTestAccessor.invoke(GWTTestAccessor.java:35)
	at com.google.gwt.junit.client.impl.GWTRunner.executeTestMethod(GWTRunner.java:226)
	at com.google.gwt.junit.client.GWTTestCase.doRunTest(GWTTestCase.java:157)
	at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:151)
	at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:115)
	at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:302)
	at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:235)
	at com.google.gwt.junit.client.impl.GWTRunner$1.execute(GWTRunner.java:213)
	at com.google.gwt.core.client.impl.SchedulerImpl$Task.$executeScheduled(SchedulerImpl.java:50)
	at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:183)
	at com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:347)
	at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78)
	at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:141)
	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:299)
	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:358)
	at Unknown.anonymous(Impl.java:78)

Check failure on line 193 in gwt/user/test/com/google/gwt/i18n/I18NTest.gwt.xml

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

I18NTest.testAnnotatedMessagesAsSafeHtml

expected: <PL: One argument: <em>this</em> gets escaped: &lt;script&gt;evil&lt;/script&gt;>, actual: <PL: One argument: em&gt;this</em> gets escaped: &lt;script&gt;evil&lt;/script&gt;>
Raw output
junit.framework.AssertionFailedError: expected: <PL: One argument: <em>this</em> gets escaped: &lt;script&gt;evil&lt;/script&gt;>, actual: <PL: One argument: em&gt;this</em> gets escaped: &lt;script&gt;evil&lt;/script&gt;>
	at java.lang.Throwable.Throwable(Throwable.java:73)
	at java.lang.Error.Error(Error.java:30)
	at java.lang.AssertionError.AssertionError(AssertionError.java:51)
	at junit.framework.AssertionFailedError.AssertionFailedError(AssertionFailedError.java:27)
	at com.google.gwt.i18n.client.I18NTest.testAnnotatedMessagesAsSafeHtml(I18NTest.java:193)
	at Unknown.anonymous(GWTTestMetadataImpl.java:19)
	at com.google.gwt.junit.client.impl.GWTTestAccessor.invoke(GWTTestAccessor.java:35)
	at com.google.gwt.junit.client.impl.GWTRunner.executeTestMethod(GWTRunner.java:226)
	at com.google.gwt.junit.client.GWTTestCase.doRunTest(GWTTestCase.java:157)
	at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:151)
	at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:115)
	at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:302)
	at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:235)
	at com.google.gwt.junit.client.impl.GWTRunner$1.execute(GWTRunner.java:213)
	at com.google.gwt.core.client.impl.SchedulerImpl$Task.$executeScheduled(SchedulerImpl.java:50)
	at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:183)
	at com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:347)
	at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78)
	at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:141)
	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:299)
	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:358)
	at Unknown.anonymous(Impl.java:78)

Check failure on line 59 in gwt/user/test/com/google/gwt/safehtml/shared/GwtSafeHtmlUtilsTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

GwtSafeHtmlUtilsTest.testEscape_withEntities2

expected: <&amp; foo &lt;>, actual: < foo &lt;>
Raw output
junit.framework.AssertionFailedError: expected: <&amp; foo &lt;>, actual: < foo &lt;>
	at java.lang.Throwable.Throwable(Throwable.java:73)
	at java.lang.Error.Error(Error.java:30)
	at java.lang.AssertionError.AssertionError(AssertionError.java:51)
	at junit.framework.AssertionFailedError.AssertionFailedError(AssertionFailedError.java:27)
	at com.google.gwt.safehtml.shared.GwtSafeHtmlUtilsTest.testEscape_withEntities2(GwtSafeHtmlUtilsTest.java:59)
	at Unknown.anonymous(GWTTestMetadataImpl.java:19)
	at com.google.gwt.junit.client.impl.GWTTestAccessor.invoke(GWTTestAccessor.java:35)
	at com.google.gwt.junit.client.impl.GWTRunner.executeTestMethod(GWTRunner.java:226)
	at com.google.gwt.junit.client.GWTTestCase.doRunTest(GWTTestCase.java:157)
	at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:151)
	at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:115)
	at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:302)
	at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:235)
	at com.google.gwt.junit.client.impl.GWTRunner$1.execute(GWTRunner.java:213)
	at com.google.gwt.core.client.impl.SchedulerImpl$Task.$executeScheduled(SchedulerImpl.java:50)
	at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:183)
	at com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:347)
	at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78)
	at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:141)
	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:299)
	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:358)
	at Unknown.anonymous(Impl.java:78)

Check failure on line 71 in gwt/user/test/com/google/gwt/safehtml/shared/GwtSafeHtmlUtilsTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

GwtSafeHtmlUtilsTest.testEscape_withEntities4

expected: <&amp;foo &amp;&amp; bar &#39; baz&amp;>, actual: <foo &amp;&amp; bar &#39; baz&amp;>
Raw output
junit.framework.AssertionFailedError: expected: <&amp;foo &amp;&amp; bar &#39; baz&amp;>, actual: <foo &amp;&amp; bar &#39; baz&amp;>
	at java.lang.Throwable.Throwable(Throwable.java:73)
	at java.lang.Error.Error(Error.java:30)
	at java.lang.AssertionError.AssertionError(AssertionError.java:51)
	at junit.framework.AssertionFailedError.AssertionFailedError(AssertionFailedError.java:27)
	at com.google.gwt.safehtml.shared.GwtSafeHtmlUtilsTest.testEscape_withEntities4(GwtSafeHtmlUtilsTest.java:71)
	at Unknown.anonymous(GWTTestMetadataImpl.java:20)
	at com.google.gwt.junit.client.impl.GWTTestAccessor.invoke(GWTTestAccessor.java:35)
	at com.google.gwt.junit.client.impl.GWTRunner.executeTestMethod(GWTRunner.java:226)
	at com.google.gwt.junit.client.GWTTestCase.doRunTest(GWTTestCase.java:157)
	at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:151)
	at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:115)
	at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:302)
	at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:235)
	at com.google.gwt.junit.client.impl.GWTRunner$1.execute(GWTRunner.java:213)
	at com.google.gwt.core.client.impl.SchedulerImpl$Task.$executeScheduled(SchedulerImpl.java:50)
	at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:183)
	at com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:347)
	at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78)
	at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:141)
	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:299)
	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:358)
	at Unknown.anonymous(Impl.java:78)

Check failure on line 77 in gwt/user/test/com/google/gwt/safehtml/shared/GwtSafeHtmlUtilsTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

GwtSafeHtmlUtilsTest.testEscape_withEntitiesInvalidEntities

expected: <&amp;a mp;&amp;;&x;&amp;#;&amp;#x;>, actual: <a mp;&amp;;&x;&amp;#;&amp;#x;>
Raw output
junit.framework.AssertionFailedError: expected: <&amp;a mp;&amp;;&x;&amp;#;&amp;#x;>, actual: <a mp;&amp;;&x;&amp;#;&amp;#x;>
	at java.lang.Throwable.Throwable(Throwable.java:73)
	at java.lang.Error.Error(Error.java:30)
	at java.lang.AssertionError.AssertionError(AssertionError.java:51)
	at junit.framework.AssertionFailedError.AssertionFailedError(AssertionFailedError.java:27)
	at com.google.gwt.safehtml.shared.GwtSafeHtmlUtilsTest.testEscape_withEntitiesInvalidEntities(GwtSafeHtmlUtilsTest.java:77)
	at Unknown.anonymous(GWTTestMetadataImpl.java:12)
	at com.google.gwt.junit.client.impl.GWTTestAccessor.invoke(GWTTestAccessor.java:35)
	at com.google.gwt.junit.client.impl.GWTRunner.executeTestMethod(GWTRunner.java:226)
	at com.google.gwt.junit.client.GWTTestCase.doRunTest(GWTTestCase.java:157)
	at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:151)
	at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:115)
	at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:302)
	at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:235)
	at com.google.gwt.junit.client.impl.GWTRunner$1.execute(GWTRunner.java:213)
	at com.google.gwt.core.client.impl.SchedulerImpl$Task.$executeScheduled(SchedulerImpl.java:50)
	at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:183)
	at com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:347)
	at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78)
	at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:141)
	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:299)
	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:358)
	at Unknown.anonymous(Impl.java:78)

Check failure on line 164 in gwt/user/test/com/google/gwt/user/client/WindowTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

WindowTest.testLocationParsing

expected: <6>, actual: <7>
Raw output
junit.framework.AssertionFailedError: expected: <6>, actual: <7>
	at java.lang.Throwable.Throwable(Throwable.java:73)
	at java.lang.Error.Error(Error.java:30)
	at java.lang.AssertionError.AssertionError(AssertionError.java:51)
	at junit.framework.AssertionFailedError.AssertionFailedError(AssertionFailedError.java:27)
	at com.google.gwt.user.client.WindowTest.testLocationParsing(WindowTest.java:164)
	at Unknown.anonymous(GWTTestMetadataImpl.java:81)
	at com.google.gwt.junit.client.impl.GWTTestAccessor.invoke(GWTTestAccessor.java:35)
	at com.google.gwt.junit.client.impl.GWTRunner.executeTestMethod(GWTRunner.java:226)
	at com.google.gwt.junit.client.GWTTestCase.doRunTest(GWTTestCase.java:157)
	at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:151)
	at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:115)
	at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:302)
	at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:235)
	at com.google.gwt.junit.client.impl.GWTRunner$1.execute(GWTRunner.java:213)
	at com.google.gwt.core.client.impl.SchedulerImpl$Task.$executeScheduled(SchedulerImpl.java:50)
	at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:183)
	at com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:347)
	at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78)
	at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:141)
	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:299)
	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:358)
	at Unknown.anonymous(Impl.java:78)