There's a test case
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-surefire-plugin/src/it/test3
and it's working correctly
On 4/4/06, Jens Zastrow <[EMAIL PROTECTED]> wrote:
> the message attribute of the <failure> element contains < - the text
> inside <failure> is escaped correctly.
>
> [pom.xml]
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.1.3</version>
>
> [report.xml]
> <testcase time="0.615" name="testCheckValidityForIssuer">
> <failure type="junit.framework.AssertionFailedError"
> message="expected:<1> but was:<2>">junit.framework.AssertionFailedError:
> expected:<1> b
> ut was:<2>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:282)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:201)
> at junit.framework.Assert.assertEquals(Assert.java:207)
> at
> de.dailab.security.control.pki.component.spki.tests.junit.JUnit_SPKIVali
> dityCheckerBean.testCheckValidityForIssuer(JUnit_SPKIValidityChecke
> rBean.java:138)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]