commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [Validator] tests after compiling validator fail
Date Wed, 20 Oct 2004 13:33:26 GMT
Notice the last line of output:
[junit] Tests run: 108, Failures: 0, Errors: 0...

All tests passed as normal.  The stack trace is a result of some exception
handling tests.

David


--- A Leg <hale_india@yahoo.com> wrote:

> Hi
> 
> If I compile validator from the last CVS
> 
> I get :
> 
> test:test:
>     [junit] Running org.apache.commons.validator.ValidatorTestSuite
> ValidatorTest.formatDate() - Unparseable date: "2/30/1999"
> Unhandled exception thrown during validation: RUNTIME-EXCEPTION
> java.lang.RuntimeException: RUNTIME-EXCEPTION
>         at 
>
org.apache.commons.validator.TestValidator.validateRaiseException(TestValidator.java:52)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at 
>
org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:524)
>         at 
> org.apache.commons.validator.Field.validateForRule(Field.java:640)
>         at org.apache.commons.validator.Field.validate(Field.java:719)
>         at org.apache.commons.validator.Form.validate(Form.java:203)
>         at 
> org.apache.commons.validator.Validator.validate(Validator.java:302)
>         at 
>
org.apache.commons.validator.ExceptionTest.testRuntimeException(ExceptionTest.java:98)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         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)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
>         at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
>         at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
>         at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
>         at org.apache.tools.ant.Task.perform(Task.java:341)
>         at
> org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
>         at
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233)
>         at 
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89)
>         at 
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:189)
>         at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
>         at
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233)
>         at 
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89)
>         at 
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
>         at 
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
>         at com.werken.werkz.Goal.fire(Goal.java:639)
>         at com.werken.werkz.Goal.attain(Goal.java:575)
>         at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
>         at com.werken.werkz.Goal.attain(Goal.java:573)
>         at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
>         at com.werken.werkz.Goal.attain(Goal.java:573)
>         at
> com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
>         at 
>
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:641)
>         at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
>         at org.apache.maven.cli.App.doMain(App.java:486)
>         at org.apache.maven.cli.App.main(App.java:1215)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> Unhandled exception thrown during validation: CHECKED-EXCEPTION
> java.lang.Exception: CHECKED-EXCEPTION
>         at 
>
org.apache.commons.validator.TestValidator.validateRaiseException(TestValidator.java:55)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at 
>
org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:524)
>         at 
> org.apache.commons.validator.Field.validateForRule(Field.java:640)
>         at org.apache.commons.validator.Field.validate(Field.java:719)
>         at org.apache.commons.validator.Form.validate(Form.java:203)
>         at 
> org.apache.commons.validator.Validator.validate(Validator.java:302)
>         at 
>
org.apache.commons.validator.ExceptionTest.testCheckedException(ExceptionTest.java:127)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         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)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
>         at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
>         at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
>         at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
>         at org.apache.tools.ant.Task.perform(Task.java:341)
>         at
> org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
>         at
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233)
>         at 
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89)
>         at 
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:189)
>         at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
>         at
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233)
>         at 
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89)
>         at 
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
>         at 
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
>         at com.werken.werkz.Goal.fire(Goal.java:639)
>         at com.werken.werkz.Goal.attain(Goal.java:575)
>         at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
>         at com.werken.werkz.Goal.attain(Goal.java:573)
>         at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
>         at com.werken.werkz.Goal.attain(Goal.java:573)
>         at
> com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
>         at 
>
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:641)
>         at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
>         at org.apache.maven.cli.App.doMain(App.java:486)
>         at org.apache.maven.cli.App.main(App.java:1215)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> 
> Testing options ....
>     [junit] Tests run: 108, Failures: 0, Errors: 0, Time elapsed: 24.459
> sec
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

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


Mime
View raw message