Author: jsong
Date: Thu Jul 29 11:13:07 2004
New Revision: 30935

Modified:
   
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/extension/SubControlTest.java
   
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/instantiate/test.xml
Log:
update controls tests on controls' inheritance.

Modified: 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/extension/SubControlTest.java
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/extension/SubControlTest.java
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/extension/SubControlTest.java
 Thu Jul 29 11:13:07 2004
@@ -9,7 +9,7 @@
 import org.apache.beehive.controls.test.controls.extension.SubControlBean;
 
 /**
- * Instantiates a subcontrol and invokes the methods on it.
+ * Tests control inheritance by instantiating a subcontrol and invoking the 
methods.
  */
 public class SubControlTest extends TestCase
 {
@@ -17,6 +17,9 @@
     public SubControlTest(String name) throws Exception
     {super(name);}
 
+    /**
+     * A control extending ExtensibleControl in the same package
+     */
     @Control
     public SubControlBean subcontrol;
 
@@ -68,7 +71,7 @@
     }
 
     /**
-     * Access the propertySet declared on ExtensibleControl in SubControlImpl
+     * Accesses the propertySet declared on ExtensibleControl from a 
subcontrol instance
      * The subcontrol is instantiated declaratively
      */
     public void testInheritedProperty() throws Exception
@@ -79,7 +82,7 @@
     }
 
     /**
-     * Access the propertySet declared on ExtensibleControl in SubControlImpl
+     * Accesses the propertySet declared on ExtensibleControl from a 
subcontrol instance
      * The subcontrol is instantiated programmatically
      */
     public void testInheritedProperty2() throws Exception
@@ -95,7 +98,7 @@
     /** BUG: getter/setter in generated bean class is busted! comment out all 
tests using getter/setter*/
 
     /**
-     * Access the property declared on ExtensibleControl but reset on 
SubControl IF
+     * Accesses the property declared on ExtensibleControl but reset on 
SubControl IF
      * The subcontrol is instantiated declaratively
      *
     public void testResetProperty() throws Exception
@@ -106,7 +109,7 @@
     }
 
     /**
-     * Access the property declared on ExtensibleControl but reset on 
SubControl IF
+     * Accesses the property declared on ExtensibleControl but reset on 
SubControl IF
      * The subcontrol is instantiated programmatically
      *
     public void testResetProperty2() throws Exception
@@ -120,7 +123,7 @@
     }
 
     /**
-     * Access the property declared SubControl IF
+     * Accesses the property declared SubControl interface
      * The subcontrol is instantiated declaratively
      *
     public void testNewProperty() throws Exception
@@ -131,7 +134,7 @@
     }
 
     /**
-     * Access the property declared on SubControl IF
+     * Accesses the property declared on SubControl interface
      * The subcontrol is instantiated programmatically
      *
     public void testNewProperty2() throws Exception

Modified: 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/instantiate/test.xml
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/instantiate/test.xml
  (original)
+++ 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/instantiate/test.xml
  Thu Jul 29 11:13:07 2004
@@ -1,7 +1,7 @@
 <project name="org.apache.beehive.controls.test.java.instantiate" 
default="org-apache-beehive-controls-test-java-instantiate" >
     <target name="org-apache-beehive-controls-test-java-instantiate" >
         <test-suite 
testunit="org-apache-beehive-controls-test-java-instantiate" >
-        <test name="TestInstantiate" timeoutSeconds="300" >
+        <test name="Test Control Instantiation" timeoutSeconds="300" >
             <test-metadata>
                 <freq>daily</freq>
                 <status>active</status>

Reply via email to