cvs commit: jakarta-struts/src/test/org/apache/struts/tiles TestTilesPlugin.java

2003-05-31 Thread jmitchell
jmitchell2003/05/30 17:10:38

  Modified:src/test/org/apache/struts/taglib SimpleBeanForTesting.java
   src/test/org/apache/struts/taglib/html TestCheckboxTag1.java
   src/test/org/apache/struts/tiles TestTilesPlugin.java
  Log:
  -remove 1 unused import
  -fix incorrect comments
  -oopsie
  
  Revision  ChangesPath
  1.7   +4 -4  
jakarta-struts/src/test/org/apache/struts/taglib/SimpleBeanForTesting.java
  
  Index: SimpleBeanForTesting.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/test/org/apache/struts/taglib/SimpleBeanForTesting.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SimpleBeanForTesting.java 8 Apr 2003 02:18:28 -   1.6
  +++ SimpleBeanForTesting.java 31 May 2003 00:10:37 -  1.7
  @@ -185,7 +185,7 @@
 * Sets the string array.
 * @param string The string array to set
 */
  - public void setStringArray(String[] string) {
  + public void setStringArray(String[] stringArray) {
this.stringArray = stringArray;
}
   
  
  
  
  1.6   +4 -4  
jakarta-struts/src/test/org/apache/struts/taglib/html/TestCheckboxTag1.java
  
  Index: TestCheckboxTag1.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/test/org/apache/struts/taglib/html/TestCheckboxTag1.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestCheckboxTag1.java 23 Mar 2003 04:08:29 -  1.5
  +++ TestCheckboxTag1.java 31 May 2003 00:10:37 -  1.6
  @@ -72,7 +72,7 @@
   /**
* Suite of unit tests for the
* org.apache.struts.taglib.html.CheckboxTag class.
  - *  NOTE - These tests were separated into 2 files each because of the 
  + *  NOTE - These tests were separated into 4 files each because of the 
* size of the jsp. (not playing well with Tomcat 3.3
* 
*  These tests are numbered as such:
  
  
  
  1.4   +4 -5  
jakarta-struts/src/test/org/apache/struts/tiles/TestTilesPlugin.java
  
  Index: TestTilesPlugin.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/test/org/apache/struts/tiles/TestTilesPlugin.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestTilesPlugin.java  4 May 2003 22:41:13 -   1.3
  +++ TestTilesPlugin.java  31 May 2003 00:10:37 -  1.4
  @@ -69,7 +69,6 @@
   
   import org.apache.commons.beanutils.BeanUtils;
   import org.apache.struts.Globals;
  -import org.apache.struts.action.Action;
   import org.apache.struts.action.PlugIn;
   import org.apache.struts.config.ModuleConfig;
   import org.apache.struts.config.ModuleConfigFactory;
  
  
  

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



cvs commit: jakarta-struts/src/test/org/apache/struts/tiles TestTilesPlugin.java

2003-02-27 Thread dgraham
dgraham 2003/02/27 18:42:16

  Modified:src/test/org/apache/struts/taglib/logic TestEmptyTag.java
TestIterateTag.java
   src/test/org/apache/struts/upload MultipartTestSuite.java
   src/test/org/apache/struts/action TestDynaActionForm.java
   src/test/org/apache/struts/tiles TestTilesPlugin.java
  Log:
  Fixed bad imports.
  
  Revision  ChangesPath
  1.4   +2 -2  
jakarta-struts/src/test/org/apache/struts/taglib/logic/TestEmptyTag.java
  
  Index: TestEmptyTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/test/org/apache/struts/taglib/logic/TestEmptyTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestEmptyTag.java 22 Feb 2003 03:28:15 -  1.3
  +++ TestEmptyTag.java 28 Feb 2003 02:42:11 -  1.4
  @@ -1,7 +1,7 @@
   /*
* The Apache Software License, Version 1.1
*
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
  @@ -62,8 +62,8 @@
   import javax.servlet.jsp.PageContext;
   import junit.framework.Test;
   import junit.framework.TestSuite;
  +
   import org.apache.cactus.JspTestCase;
  -import org.apache.cactus.WebRequest;
   import org.apache.struts.taglib.SimpleBeanForTesting;
   import org.apache.struts.util.LabelValueBean;
   
  
  
  
  1.2   +2 -6  
jakarta-struts/src/test/org/apache/struts/taglib/logic/TestIterateTag.java
  
  Index: TestIterateTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/test/org/apache/struts/taglib/logic/TestIterateTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIterateTag.java   27 Feb 2003 04:12:50 -  1.1
  +++ TestIterateTag.java   28 Feb 2003 02:42:11 -  1.2
  @@ -1,7 +1,7 @@
   /*
* The Apache Software License, Version 1.1
*
  - * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
  @@ -62,16 +62,12 @@
   import javax.servlet.ServletException;
   import javax.servlet.jsp.JspException;
   import javax.servlet.jsp.PageContext;
  -import javax.servlet.jsp.tagext.BodyContent;
  -
   import junit.framework.Test;
   import junit.framework.TestSuite;
  +
   import org.apache.cactus.JspTestCase;
  -import org.apache.cactus.WebRequest;
   import org.apache.cactus.WebResponse;
   import org.apache.struts.taglib.SimpleBeanForTesting;
  -import org.apache.struts.taglib.bean.MessageTag;
  -import org.apache.struts.util.LabelValueBean;
   
   
   /**
  
  
  
  1.2   +65 -11
jakarta-struts/src/test/org/apache/struts/upload/MultipartTestSuite.java
  
  Index: MultipartTestSuite.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/test/org/apache/struts/upload/MultipartTestSuite.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MultipartTestSuite.java   6 Mar 2002 19:44:07 -   1.1
  +++ MultipartTestSuite.java   28 Feb 2003 02:42:11 -  1.2
  @@ -1,27 +1,81 @@
  +/*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
  + * 
  + *
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, are permitted provided that the following conditions
  + * are met:
  + *
  + * 1. Redistributions of source code must retain the above copyright
  + *notice, this list of conditions and the following disclaimer.
  + *
  + * 2. Redistributions in binary form must reproduce the above copyright
  + *notice, this list of conditions and the following disclaimer in
  + *the documentation and/or other materials provided with the
  + *distribution.
  + *
  + * 3. The end-user documentation included with the redistribution, if
  + *any, must include the following acknowlegement:
  + *   "This product includes software developed by the
  + *Apache Software Foundation (http://www.apache.org/)."
  + *Alternately, this acknowlegement may appear in the software itself,
  + *if and wherever such third-party acknowlegements normally appear.
  + *
  + * 4. The names "The Jakarta Project", "Struts", and "Apache Software
  + *Foundation" must not be used to endorse or promote products derived
  + *from this software without prior written permission. For written
  + *