Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[win][21] XmlDocumentFormatterTest fails since I20250113-1800 #1684

Open
jukzi opened this issue Jan 15, 2025 · 1 comment
Open

[win][21] XmlDocumentFormatterTest fails since I20250113-1800 #1684

jukzi opened this issue Jan 15, 2025 · 1 comment
Labels
Ant Platform Ant regression Regression defect test junit test related things Windows Happens on Windows OS

Comments

@jukzi
Copy link
Contributor

jukzi commented Jan 15, 2025

https://download.eclipse.org/eclipse/downloads/drops4/I20250113-1800/testresults/html/org.eclipse.ant.tests.ui_ep435I-unit-win32-x86_64-java21_win32.win32.x86_64_21.html

org.junit.ComparisonFailure: expected:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>

<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">]
<echo>${gr...> but was:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>

<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">
]
<echo>${gr...>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.simpleTest(XmlDocumentFormatterTest.java:100)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.testGeneralFormat(XmlDocumentFormatterTest.java:44)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.eclipse.ant.tests.ui.testplugin.TestAgainExceptionRule$1.evaluate(TestAgainExceptionRule.java:39)
org.junit.ComparisonFailure: expected:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>
<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">]
<echo>${greeting...> but was:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>

<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">
]
<echo>${greeting...>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.simpleTest(XmlDocumentFormatterTest.java:100)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.testTabsInsteadOfSpaces(XmlDocumentFormatterTest.java:82)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.eclipse.ant.tests.ui.testplugin.TestAgainExceptionRule$1.evaluate(TestAgainExceptionRule.java:39)
expected:<...<!-- = = = = = = -->[ <!-- formatTest --> <!-- = = = = = = --> <target name="formatTest" depends="init" description="--> test target one"> <!-- hello world --> <greeting /> </target> <!-- - - - - - - --> <!-- init --> <!-- - - - - - - --> <target name="init"> <property name="greeting" value="hi" /> <presetdef name="greeting">] ...> but was:<...<!-- = = = = = = -->[ <!-- formatTest --> <!-- = = = = = = --> <target name="formatTest" depends="init" description="--> test target one"> <!-- hello world --> <greeting /> </target> <!-- - - - - - - --> <!-- init --> <!-- - - - - - - --> <target name="init"> <property name="greeting" value="hi" /> <presetdef name="greeting"> ] ...>

org.junit.ComparisonFailure: expected:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>

<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">]
...> but was:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>

<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">
]
...>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.simpleTest(XmlDocumentFormatterTest.java:100)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.testTabWidth(XmlDocumentFormatterTest.java:63)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.eclipse.ant.tests.ui.testplugin.TestAgainExceptionRule$1.evaluate(TestAgainExceptionRule.java:39)

@jukzi jukzi added Ant Platform Ant test junit test related things Windows Happens on Windows OS labels Jan 15, 2025
@jukzi jukzi changed the title Random failing XmlDocumentFormatterTest [win][21] XmlDocumentFormatterTest fails since I20250113-1800 Jan 16, 2025
@jukzi
Copy link
Contributor Author

jukzi commented Jan 16, 2025

Fails each java21_win32 i-build now. Can not locally reproduce.

@jukzi jukzi added the regression Regression defect label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ant Platform Ant regression Regression defect test junit test related things Windows Happens on Windows OS
Projects
None yet
Development

No branches or pull requests

1 participant