db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/broker ExtentAwarePathExpressionsTest.java
Date Wed, 09 Apr 2003 20:35:40 GMT
brj         2003/04/09 13:35:39

  Modified:    src/test/org/apache/ojb/broker
                        ExtentAwarePathExpressionsTest.java
  Log:
  added main to run it standalone
  
  Revision  Changes    Path
  1.2       +13 -0     db-ojb/src/test/org/apache/ojb/broker/ExtentAwarePathExpressionsTest.java
  
  Index: ExtentAwarePathExpressionsTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/ExtentAwarePathExpressionsTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ExtentAwarePathExpressionsTest.java	9 Apr 2003 13:33:31 -0000	1.1
  +++ ExtentAwarePathExpressionsTest.java	9 Apr 2003 20:35:39 -0000	1.2
  @@ -13,6 +13,8 @@
    */
   public class ExtentAwarePathExpressionsTest extends TestCase
   {
  +    private static Class CLASS = ExtentAwarePathExpressionsTest.class;
  +
       private PersistenceBroker broker;
       /**
        * 
  @@ -20,6 +22,17 @@
       public ExtentAwarePathExpressionsTest()
       {
           super();
  +    }
  +
  +    /**
  +     * Insert the method's description here.
  +     * Creation date: (23.12.2000 18:30:38)
  +     * @param args java.lang.String[]
  +     */
  +    public static void main(String[] args)
  +    {
  +        String[] arr = {CLASS.getName()};
  +        junit.textui.TestRunner.main(arr);
       }
   
       /**
  
  
  

Mime
View raw message