Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'testplugins/org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnitTests/xml/Failures.xml')
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnitTests/xml/Failures.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/testplugins/org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnitTests/xml/Failures.xml b/testplugins/org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnitTests/xml/Failures.xml
new file mode 100644
index 000000000..8757bf96d
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnitTests/xml/Failures.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testrun name="Failures" project="JUnitTests" tests="4" started="4" failures="3" errors="1" ignored="0">
+ <testsuite name="pack.Failures" time="0.0">
+ <testcase name="testNasty" classname="pack.Failures" time="0.0">
+ <failure>junit.framework.AssertionFailedError: &lt;/failure&gt;
+
+</failure>
+ </testcase>
+ <testcase name="testError" classname="pack.Failures" time="0.0">
+ <error>java.lang.IllegalStateException: &lt;/failure&gt;
+
+</error>
+ </testcase>
+ <testcase name="testCompare" classname="pack.Failures" time="0.0">
+ <failure>
+ <expected>
+Hello World.
+
+</expected>
+ <actual>
+
+Hello my friend.</actual>junit.framework.ComparisonFailure: expected:&lt;
+[Hello World.
+
+]&gt; but was:&lt;
+[
+Hello my friend.]&gt;
+
+</failure>
+ </testcase>
+ <testcase name="testCompareNull" classname="pack.Failures" time="0.0">
+ <failure>junit.framework.ComparisonFailure: expected:&lt;Hello World.&gt; but was:&lt;null&gt;
+
+</failure>
+ </testcase>
+ </testsuite>
+</testrun>

Back to the top