jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shem...@locus.apache.org
Subject cvs commit: jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/getProperty positiveGetProps.jsp
Date Wed, 12 Jan 2000 06:17:44 GMT
shemnon     00/01/11 22:17:44

  Modified:    src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/getProperty
                        negativeGetProps.java
               src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty
                        negativePropSyntax.java
               src/clients/org/apache/jcheck/jsp/resources
                        LocalStrings.properties
               src/clients/org/apache/jcheck/props jsp-tests.properties
               src/conf jsp-testlist.txt
               src/server/jsp-tests/WEB-INF/classes/core_syntax/beantests/getProperty
                        StringBean.java
               src/server/jsp-tests/WEB-INF/classes/core_syntax/beantests/setProperty
                        SetpropBean.java
               src/server/jsp-tests/jsp/core_syntax/beantests/getProperty
                        positiveGetProps.jsp
  Log:
  Adding previously added test to the test script and fixing the
  positiveGetProps test to be in accordance with JavaBeans
  capatalization rules.
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/getProperty/negativeGetProps.java
  
  Index: negativeGetProps.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/getProperty/negativeGetProps.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- negativeGetProps.java	1999/11/09 20:38:51	1.2
  +++ negativeGetProps.java	2000/01/12 06:17:41	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/getProperty/negativeGetProps.java,v
1.2 1999/11/09 20:38:51 costin Exp $ 
  - * $Date: 1999/11/09 20:38:51 $ 
  - * $Revision: 1.2 $
  + * $Header: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/getProperty/negativeGetProps.java,v
1.3 2000/01/12 06:17:41 shemnon Exp $ 
  + * $Date: 2000/01/12 06:17:41 $ 
  + * $Revision: 1.3 $
    * 
    * The Apache Software License, Version 1.1
    *
  @@ -75,7 +75,7 @@
           TestResult testResult = null;
   	HttpURLConnection connection = null;
   
  -        setErrorCode (404);
  +        setErrorCode (500);
   
   	try {
   	    connection = getConnection();
  
  
  
  1.3       +3 -3      jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/negativePropSyntax.java
  
  Index: negativePropSyntax.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/negativePropSyntax.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- negativePropSyntax.java	1999/11/09 20:38:54	1.2
  +++ negativePropSyntax.java	2000/01/12 06:17:41	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/negativePropSyntax.java,v
1.2 1999/11/09 20:38:54 costin Exp $ 
  - * $Date: 1999/11/09 20:38:54 $ 
  - * $Revision: 1.2 $
  + * $Header: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/negativePropSyntax.java,v
1.3 2000/01/12 06:17:41 shemnon Exp $ 
  + * $Date: 2000/01/12 06:17:41 $ 
  + * $Revision: 1.3 $
    * 
    * The Apache Software License, Version 1.1
    *
  @@ -75,7 +75,7 @@
           TestResult testResult = null;
   	HttpURLConnection connection = null;
   
  -        setErrorCode (404);
  +        setErrorCode (500);
   
   	try {
   	    connection = getConnection();
  
  
  
  1.2       +5 -0      jakarta-watchdog/src/clients/org/apache/jcheck/jsp/resources/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/resources/LocalStrings.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LocalStrings.properties	1999/11/09 23:10:18	1.1
  +++ LocalStrings.properties	2000/01/12 06:17:42	1.2
  @@ -61,7 +61,12 @@
   
   negativePropSyntax.description = negativePropSyntax
   
  +negativeSetPropNotProperty.description = negativeSetPropNotProperty
  +negativeSetPropNotWrite.description = negativeSetPropNotWrite
  +
   negativeGetProps.description = negativeGetProps
  +negativeGetPropNotProperty.description = negativeGetPropNotProperty
  +negativeGetPropNotRead.description = negativeGetPropNotRead
   
   positiveSetBooleanObj.description = positiveSetBooleanObj
   positiveSetBooleanObj.goldenFile = core_syntax/beantests/setProperty/positiveSetBooleanObj.html
  
  
  
  1.5       +7 -2      jakarta-watchdog/src/clients/org/apache/jcheck/props/jsp-tests.properties
  
  Index: jsp-tests.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/props/jsp-tests.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- jsp-tests.properties	1999/11/09 20:39:16	1.4
  +++ jsp-tests.properties	2000/01/12 06:17:42	1.5
  @@ -155,8 +155,13 @@
   org.apache.jcheck.jsp.client.core_syntax.beantests.useBean.negativeDupIDSession1=core_syntax/beantests/useBean/negativeDupIDSession1.jsp
   org.apache.jcheck.jsp.client.core_syntax.beantests.useBean.negativeInvalidClass=core_syntax/beantests/useBean/negativeInvalidClass.jsp
   org.apache.jcheck.jsp.client.core_syntax.beantests.useBean.negativeNoBody=core_syntax/beantests/useBean/negativeNoBody.jsp
  -org.apache.jcheck.jsp.client.core_syntax.beantests.setProperty.negativePropSyntax=core_syntax/beantests/setProperty/negativePropSyntax
  -org.apache.jcheck.jsp.client.core_syntax.beantests.getProperty.negativeGetProps=core_syntax/beantests/getProperty/negativeGetProps
  +org.apache.jcheck.jsp.client.core_syntax.beantests.setProperty.negativeSetPropNotWrite=core_syntax/beantests/setProperty/negativeSetPropNotWrite.jsp
  +org.apache.jcheck.jsp.client.core_syntax.beantests.setProperty.negativeSetPropNotProperty=core_syntax/beantests/setProperty/negativeSetPropNotProperty.jsp
  +org.apache.jcheck.jsp.client.core_syntax.beantests.setProperty.negativePropSyntax=core_syntax/beantests/setProperty/negativePropSyntax.jsp
  +org.apache.jcheck.jsp.client.core_syntax.beantests.getProperty.negativeGetProps=core_syntax/beantests/setProperty/negativeGetProps.jsp
  +org.apache.jcheck.jsp.client.core_syntax.beantests.getProperty.negativeGetPropNotRead=core_syntax/beantests/getProperty/negativeGetPropNotRead.jsp
  +org.apache.jcheck.jsp.client.core_syntax.beantests.getProperty.negativeGetPropNotProperty=core_syntax/beantests/getProperty/negativeGetPropNotProperty.jsp
  +org.apache.jcheck.jsp.client.core_syntax.beantests.getProperty.negativeGetProps=core_syntax/beantests/getProperty/negativeGetProps.jsp
   org.apache.jcheck.jsp.client.core_syntax.scripting.declaration.negativeDeclarationSyn=core_syntax/scripting/declaration/negativeDeclarationSyn.jsp
   org.apache.jcheck.jsp.client.core_syntax.directives.taglib.positiveTagLib=core_syntax/directives/taglib/positiveTagLib.jsp
   org.apache.jcheck.jsp.client.core_syntax.directives.include.positiveInclude=core_syntax/directives/include/positiveInclude.jsp
  
  
  
  1.9       +7 -3      jakarta-watchdog/src/conf/jsp-testlist.txt
  
  Index: jsp-testlist.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/conf/jsp-testlist.txt,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- jsp-testlist.txt	1999/12/16 01:48:58	1.8
  +++ jsp-testlist.txt	2000/01/12 06:17:42	1.9
  @@ -1,4 +1,4 @@
  -# $Id: jsp-testlist.txt,v 1.8 1999/12/16 01:48:58 costin Exp $
  +# $Id: jsp-testlist.txt,v 1.9 2000/01/12 06:17:42 shemnon Exp $
   
   org.apache.jcheck.jsp.client.HelloWorld
   org.apache.jcheck.jsp.client.engine.JspWriter.misc.positiveGetBufferSize
  @@ -177,6 +177,10 @@
   #org.apache.jcheck.jsp.client.core_syntax.beantests.useBean.negativeDupIDSession1
   #org.apache.jcheck.jsp.client.core_syntax.beantests.useBean.negativeInvalidClass
   #org.apache.jcheck.jsp.client.core_syntax.beantests.useBean.negativeNoBody
  -#org.apache.jcheck.jsp.client.core_syntax.beantests.setProperty.negativePropSyntax
  -#org.apache.jcheck.jsp.client.core_syntax.beantests.getProperty.negativeGetProps
  +org.apache.jcheck.jsp.client.core_syntax.beantests.setProperty.negativeSetPropNotWrite
  +org.apache.jcheck.jsp.client.core_syntax.beantests.setProperty.negativeSetPropNotProperty
  +org.apache.jcheck.jsp.client.core_syntax.beantests.setProperty.negativePropSyntax
  +org.apache.jcheck.jsp.client.core_syntax.beantests.getProperty.negativeGetProps
  +org.apache.jcheck.jsp.client.core_syntax.beantests.getProperty.negativeGetPropNotRead
  +org.apache.jcheck.jsp.client.core_syntax.beantests.getProperty.negativeGetPropNotProperty
   
  
  
  
  1.2       +12 -4     jakarta-watchdog/src/server/jsp-tests/WEB-INF/classes/core_syntax/beantests/getProperty/StringBean.java
  
  Index: StringBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/WEB-INF/classes/core_syntax/beantests/getProperty/StringBean.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StringBean.java	1999/10/09 00:42:00	1.1
  +++ StringBean.java	2000/01/12 06:17:43	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-watchdog/src/server/jsp-tests/WEB-INF/classes/core_syntax/beantests/getProperty/StringBean.java,v
1.1 1999/10/09 00:42:00 duncan Exp $ 
  - * $Date: 1999/10/09 00:42:00 $ 
  - * $Revision: 1.1 $
  + * $Header: /home/cvs/jakarta-watchdog/src/server/jsp-tests/WEB-INF/classes/core_syntax/beantests/getProperty/StringBean.java,v
1.2 2000/01/12 06:17:43 shemnon Exp $ 
  + * $Date: 2000/01/12 06:17:43 $ 
  + * $Revision: 1.2 $
    * 
    * The Apache Software License, Version 1.1
    *
  @@ -63,7 +63,7 @@
         //Declaring the variables 
             private String name="hello";
             private int[] intAry={5,10,15};
  -  
  +          private String bar="write-only";  
     /**
      * Property 'name'
      */
  @@ -88,4 +88,12 @@
       this.intAry=i;
       }
       
  +    /**
  +     * Property 'bar'
  +     * String and Write only
  +     */
  +   
  +    public void setBar(String s) {
  +        this.bar=s;
  +    }
   }  
  
  
  
  1.2       +13 -3     jakarta-watchdog/src/server/jsp-tests/WEB-INF/classes/core_syntax/beantests/setProperty/SetpropBean.java
  
  Index: SetpropBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/WEB-INF/classes/core_syntax/beantests/setProperty/SetpropBean.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SetpropBean.java	1999/10/09 00:42:00	1.1
  +++ SetpropBean.java	2000/01/12 06:17:43	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-watchdog/src/server/jsp-tests/WEB-INF/classes/core_syntax/beantests/setProperty/SetpropBean.java,v
1.1 1999/10/09 00:42:00 duncan Exp $ 
  - * $Date: 1999/10/09 00:42:00 $ 
  - * $Revision: 1.1 $
  + * $Header: /home/cvs/jakarta-watchdog/src/server/jsp-tests/WEB-INF/classes/core_syntax/beantests/setProperty/SetpropBean.java,v
1.2 2000/01/12 06:17:43 shemnon Exp $ 
  + * $Date: 2000/01/12 06:17:43 $ 
  + * $Revision: 1.2 $
    * 
    * The Apache Software License, Version 1.1
    *
  @@ -65,6 +65,7 @@
             private int num=0;
             private String str;
             private int[] intAry={15,20,35};
  +          private String bar = "read-only";
             
     /**
      * Property 'Str'
  @@ -113,5 +114,14 @@
       public void setIntAry(int[] i){
       this.intAry=i;
       }    
  +
  +    /**
  +     * property 'bar'
  +     * This is a read only property
  +     */
  +    
  +    public String getBar() {
  +        return bar;
  +    }
       
   }  
  
  
  
  1.2       +1 -1      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/getProperty/positiveGetProps.jsp
  
  Index: positiveGetProps.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/getProperty/positiveGetProps.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveGetProps.jsp	1999/10/09 00:43:15	1.1
  +++ positiveGetProps.jsp	2000/01/12 06:17:43	1.2
  @@ -9,6 +9,6 @@
   **/  %>	 
   <!-- Declaring the bean with out body -->
   <jsp:useBean id="myBean" scope="request" class="core_syntax.beantests.getProperty.StringBean"
/>
  -<jsp:getProperty name="myBean" property="Name" />
  +<jsp:getProperty name="myBean" property="name" />
   </body>
   </html> 
  
  
  

Mime
View raw message