juergen     02/02/18 01:35:05

  Modified:    
testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
                        TProcessors.java
  Log:
  user, password, host and port can be used a sglobal variables without the 
globalVariable pre fix.
  
  Revision  Changes    Path
  1.9       +9 -5      
jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java
  
  Index: TProcessors.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TProcessors.java  15 Feb 2002 14:16:55 -0000      1.8
  +++ TProcessors.java  18 Feb 2002 09:35:05 -0000      1.9
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
 1.8 2002/02/15 14:16:55 juergen Exp $
  - * $Revision: 1.8 $
  - * $Date: 2002/02/15 14:16:55 $
  + * $Header: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
 1.9 2002/02/18 09:35:05 juergen Exp $
  + * $Revision: 1.9 $
  + * $Date: 2002/02/18 09:35:05 $
    *
    * ====================================================================
    *
  @@ -84,7 +84,7 @@
    * Main class to performe a test case and check and report the results
    *
    * @author Software AG
  - * @version $Revision: 1.8 $
  + * @version $Revision: 1.9 $
    */
   public class TProcessors {
       
  @@ -1294,7 +1294,11 @@
           public String get(String key) {
               String    result = "";
               
  -            if (key.startsWith("globalVariable")) {
  +            if (key.startsWith("globalVariable") ||
  +                key.equals("host")||
  +                key.equals("port")||
  +                key.equals("user")||
  +                key.equals("password") ) {
                   return System.getProperty("xdav." + key);
               }
               else {
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to