Date: 2003-12-26T17:52:22
   Editor: 66.187.3.41 <>
   Wiki: Apache Geronimo Wiki
   Page: Architecture/Validator
   URL: http://wiki.apache.org/geronimo/Architecture/Validator

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,4 +1,4 @@
-There is a validation framework under {{{org.apache.geronimo.validator}}}.  A 
validator would be used, for example, to make sure an EJB JAR, WAR, etc. has 
all necessary classes, complies with all the spec rules, and so on.  Each 
validator would be run when a library of the appropriate type is deployed (or 
could be run by tools at configuration time, etc.).
+There is a validation framework under {{{org.apache.geronimo.validator}}} 
''(in modules/core)''.  A validator would be used, for example, to make sure an 
EJB JAR, WAR, etc. has all necessary classes, complies with all the spec rules, 
and so on.  Each validator would be run when a library of the appropriate type 
is deployed (or could be run by tools at configuration time, etc.).
 
 The idea here is that we define the individual validators, and then people can 
write any number of tests for each one.  The tests will work kind of like 
JUnit, in that you can define a test class with many individual tests in it.  
But there are a couple abstract methods to implement.  Here's what a test class 
looks like:
 

Reply via email to