ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Kruithof ...@kruithof.xs4all.nl>
Subject Re: XMLValidateTest
Date Fri, 20 May 2005 21:53:11 GMT

I think I got the error, testing currently.

( The validator now ignores the error by returning true prematurely)

Martijn

Martijn Kruithof wrote:

> Martijn Kruithof wrote:
>
>> Matt Benson wrote:
>>
>>> I get failures in HEAD.  Does anyone else?
>>>
>>> Thanks,
>>> Matt
>>>  
>>>
> Sorry, I meant:
>
>    [junit] Testsuite: 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest
>    [junit] Tests run: 9, Failures: 1, Errors: 0, Time elapsed: 0,812 sec
>
>    [junit] Testcase: 
> testXmlSchemaBad(org.apache.tools.ant.taskdefs.optional.Xm
> lValidateTest): FAILED
>    [junit] Should throw BuildException because 'Bad Schema Validation'
>    [junit] junit.framework.AssertionFailedError: Should throw 
> BuildException be
> cause 'Bad Schema Validation'
>    [junit]     at junit.framework.Assert.fail(Assert.java:47)
>    [junit]     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testXm
> lSchemaBad(XmlValidateTest.java:135)
>    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>    [junit]     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:39)
>    [junit]     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>    [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
>    [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
>    [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
>    [junit]     at 
> junit.framework.TestResult$1.protect(TestResult.java:106)
>    [junit]     at 
> junit.framework.TestResult.runProtected(TestResult.java:124)
>    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
>    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
>    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
>    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
>    [junit]     at 
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message