db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/test/org/apache/torque/om ComboKeyTest.java
Date Thu, 05 Jun 2003 08:59:31 GMT
mpoeschl    2003/06/05 01:59:31

  Modified:    src/test/org/apache/torque Tag: TORQUE_3_0_BRANCH
                        BaseTestCase.java
               src/test/org/apache/torque/om Tag: TORQUE_3_0_BRANCH
                        ComboKeyTest.java
  Log:
  remove unused stuff
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.1   +6 -15     db-torque/src/test/org/apache/torque/BaseTestCase.java
  
  Index: BaseTestCase.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/test/org/apache/torque/BaseTestCase.java,v
  retrieving revision 1.7
  retrieving revision 1.7.2.1
  diff -u -r1.7 -r1.7.2.1
  --- BaseTestCase.java	13 Sep 2002 02:43:09 -0000	1.7
  +++ BaseTestCase.java	5 Jun 2003 08:59:31 -0000	1.7.2.1
  @@ -3,7 +3,7 @@
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -66,20 +66,11 @@
    */
   public abstract class BaseTestCase extends TestCase
   {
  -    /**
  -     * Conditional compilation flag.
  -     */
  -    private static final boolean DEBUG = false;
  +    /** The path to the configuration file. */
  +    private static final String CONFIG_FILE 
  +            = "src/test/TurbineResources.properties";
   
  -    /**
  -     * The path to the configuration file.
  -     */
  -    private static final String CONFIG_FILE =
  -        "src/test/TurbineResources.properties";
  -
  -    /**
  -     * Whether torque has been initialized.
  -     */
  +    /** Whether torque has been initialized. */
       private static boolean hasInitialized = false;
   
       /**
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +1 -4      db-torque/src/test/org/apache/torque/om/ComboKeyTest.java
  
  Index: ComboKeyTest.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/test/org/apache/torque/om/ComboKeyTest.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- ComboKeyTest.java	5 Jun 2003 08:58:27 -0000	1.1.2.1
  +++ ComboKeyTest.java	5 Jun 2003 08:59:31 -0000	1.1.2.2
  @@ -71,15 +71,12 @@
           new SimpleKey[]{new StringKey("key1"),new StringKey("key2")});
       private ComboKey c1b = new ComboKey(
           new SimpleKey[]{new StringKey("key1"),new StringKey("key2")});
  -    private ComboKey c1c = new ComboKey(new String[]{"key1","key2"});
       private ComboKey c2a = new ComboKey(
           new SimpleKey[]{new StringKey("key3"),new StringKey("key4")});
       // complex keys for test
       private java.util.Date now = new java.util.Date();
       private ComboKey c3a = new ComboKey(
           new SimpleKey[]{new StringKey("key1"),null,new DateKey(now)});
  -    private ComboKey c3b = new ComboKey(new SimpleKey[]{
  -        new StringKey("key1"),null,new DateKey(now)});
       private ComboKey c4a = new ComboKey(
           new SimpleKey[]{new StringKey("key1"),null,new NumberKey(123456)});
       
  
  
  

Mime
View raw message