You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by ji...@codehaus.org on 2003/09/02 19:26:10 UTC
[jira] Closed: (GERONIMO-47) Preview of Validator
Message:
The following issue has been closed.
Resolver: Jeremy Boynes
Date: Tue, 2 Sep 2003 12:25 PM
Closed as patch is included in #Geronimo-67
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GERONIMO-47
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-47
Summary: Preview of Validator
Type: Improvement
Status: Closed
Priority: Major
Resolution: DUPLICATE
Time Spent: Unknown
Remaining: Unknown
Project: Apache Geronimo
Components:
deployment
Assignee:
Reporter: Aaron Mulder
Created: Sun, 31 Aug 2003 12:10 AM
Updated: Tue, 2 Sep 2003 12:25 PM
Description:
NOTE: this code shouldn't be committed yet, as we need to pick an XML tool first (it currently works against XMLBeans, which is commented out of the build).
This is a start on a validator tool. It is meant to work kind of like JUnit, in that you write a bunch of test methods in one or more test classes. The validator base class knows how to reflect on the test class and run all the methods that start with "test", manage the validation status code (success, warning, error, etc.) and so on. Each test class can declare a DTD XPath of interest (like /ejb-jar/enterprise-beans/session to match session beans) and will get called once for each "hit" with an argument matching the DD node that matched.
Right now the base code is in o.a.g.validator and there's a quick sample showing what the test class looks like in o.a.g.validator.ejb.SessionBeanTests
My intention is that the tests use some kind of code for their messages and we read that out of a resource bundle. I haven't implemented the actual lookup yet, but the infrastructure is there. I'm still not decided on whether the codes should look like "ejb.home.not.public" or "ejb.5.3.2.1" or what.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira