Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/javahispano/canyamo/util/html/form/TestCase.java


1   /*
2       Caņamo, portal framework
3       Copyright (c) 2002
4       Alberto Molpeceres, javaHispano (http://www.javahispano.org)
5       All rights reserved.
6       .
7       Redistribution and use in source and binary forms, with or without
8       modification, are permitted provided that the following conditions are met:
9       Redistributions of source code must retain the above copyright notice,
10      this list of conditions and the following disclaimer.
11      Redistributions in binary form must reproduce the above copyright notice,
12      this list of conditions and the following disclaimer in the documentation
13      and/or other materials provided with the distribution.
14      Neither the name of Alberto Molpeceres, javaHispano nor the names of its
15      contributors may be used to endorse or promote products derived from
16      this software without specific prior written permission.
17      .
18      THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
20      THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21      PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
22      LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
23      OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24      SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25      INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
26      IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28      THE POSSIBILITY OF SUCH DAMAGE.
29    */
30  package org.javahispano.canyamo.util.html.form;
31  
32  /**
33   *  Rule test case. <br>
34   *  <br>
35   *  Interface which determines if a form' param follows the given rule <br>
36   *  <br>
37   *
38   *
39   *@author     <A href="al AT javahispano DOT org">Alberto Molpeceres</A>
40   *@created    18 October 2002
41   *@version    1.0
42   */
43  interface TestCase {
44  
45    /**
46     *  A unit test for JUnit
47     *
48     *@param  o1                 Description of Parameter
49     *@param  o2                 Description of Parameter
50     *@exception  FormException  Description of Exception
51     */
52    public void test(Object o1, Object o2)
53      throws FormException;
54  }
55