Author: jsong
Date: Wed Aug 25 14:16:51 2004
New Revision: 37046

Modified:
   
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/context/GetServiceTest.java
   
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/contextevent/LifeCycleTest.java
   
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/event/EventHandlerTest.java
   
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/event/ListenerTest.java
   
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/TestInstantiate.java
   
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/property/ImplAccessTest.java
Log:
De-activating java tests on controls instantiated declaratively, until this 
feature is supported.


Modified: 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/context/GetServiceTest.java
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/context/GetServiceTest.java
   (original)
+++ 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/context/GetServiceTest.java
   Wed Aug 25 14:16:51 2004
@@ -10,11 +10,13 @@
 import org.apache.beehive.controls.api.bean.ControlBean;
 import org.apache.beehive.controls.test.controls.context.ServiceGetterBean;
 import org.apache.beehive.mantis.annotations.tch.Freq;
+import org.apache.beehive.mantis.annotations.tch.Status;
+
 
 /**
- * A TestCase that tests accessing available services via control context
+ * A TestCase that tests accessing available services via control context.
+ * All tests on controls instantiated declaratively are deactivated until this 
feature is supported.
  */
[EMAIL PROTECTED]("checkin")
 public class GetServiceTest extends TestCase
 {
     public GetServiceTest( String s ) { super( s ); }
@@ -33,6 +35,8 @@
      * In java environment, this should be "NULL"
      * The control is instantiated by declaration
      */
+       @Freq("checkin")
+       @Status("inactive")
     public void testGetServletContextByDeclaration() throws Exception
     {
                Assert.assertNotNull(serviceGetter);
@@ -45,6 +49,8 @@
      * In java environment, this should be "0"
      * The control is instantiated by declaration
      */
+       @Freq("checkin")
+       @Status("inactive")
     public void testGetBeanContextServicesByDeclaration() throws Exception
     {
                Assert.assertNotNull(serviceGetter);
@@ -57,6 +63,7 @@
      * In java environment, this should be "NULL"
      * The control is instantiated programmatically
      */
+       @Freq("checkin")
     public void testGetServletContextByProgram() throws Exception
     {
                ServiceGetterBean 
getterbean=(ServiceGetterBean)java.beans.Beans.instantiate(
@@ -71,6 +78,7 @@
      * In java environment, this should be "0"
      * The control is instantiated programmatically
      */
+       @Freq("checkin")
     public void testGetBeanContextServicesByProgram() throws Exception
     {
                ServiceGetterBean 
getterbean=(ServiceGetterBean)java.beans.Beans.instantiate(

Modified: 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/contextevent/LifeCycleTest.java
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/contextevent/LifeCycleTest.java
       (original)
+++ 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/contextevent/LifeCycleTest.java
       Wed Aug 25 14:16:51 2004
@@ -11,7 +11,8 @@
 
 /**
  * A TestCase that tests control's context event by listening to and recording 
controls'
- * life cycle event
+ * life cycle event.
+ * All tests on controls instantiated declaratively are deactivated until this 
feature is supported.
  */
 public class LifeCycleTest extends TestCase
 {
@@ -28,6 +29,7 @@
      * The control is instantiated by declaration
      */
        @Freq("checkin")
+       @Status("inactive")
     public void testRecordedByImplDeclaration() throws Exception
     {
                Assert.assertNotNull(myRecorder);

Modified: 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/event/EventHandlerTest.java
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/event/EventHandlerTest.java
   (original)
+++ 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/event/EventHandlerTest.java
   Wed Aug 25 14:16:51 2004
@@ -9,11 +9,14 @@
 import org.apache.beehive.controls.api.events.EventHandler;
 import org.apache.beehive.controls.test.controls.event.HelloBean;
 import org.apache.beehive.mantis.annotations.tch.Freq;
+import org.apache.beehive.mantis.annotations.tch.Status;
 
 /**
  * A TestCase that tests receiving events from a control by @EventHandler
+ * All tests on controls instantiated declaratively are deactivated until this 
feature is supported.
  */
 @Freq("checkin")
[EMAIL PROTECTED]("inactive")
 public class EventHandlerTest extends TestCase
 {
        private boolean event1Received=false;

Modified: 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/event/ListenerTest.java
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/event/ListenerTest.java
       (original)
+++ 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/event/ListenerTest.java
       Wed Aug 25 14:16:51 2004
@@ -8,12 +8,13 @@
 import org.apache.beehive.controls.test.controls.event.Hello;
 import org.apache.beehive.controls.test.controls.event.HelloBean;
 import org.apache.beehive.mantis.annotations.tch.Freq;
+import org.apache.beehive.mantis.annotations.tch.Status;
 
 /**
  * A Testcase that tests receiving events from a control with an inner class or
  * an instance of listener class.
+ * All tests on controls instantiated declaratively are deactivated until this 
feature is supported.
  */
[EMAIL PROTECTED]("checkin")
 public class ListenerTest extends TestCase
 {
 
@@ -26,6 +27,7 @@
     @Control
     public HelloBean myHellobean;
 
+       @Freq("checkin")
     public ListenerTest(String s) { super(s); }
 
     /**
@@ -77,6 +79,8 @@
      * 2. Registers two event listeners to the bean instance;
      * 3. Invokes the method on the bean instance that triggers the event1 and 
event2
      */
+       @Freq("checkin")
+       @Status("inactive")
     public void testListenerReceiveEventsDeclare() throws Exception
     {
                Assert.assertNotNull(myHellobean);

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
 Wed Aug 25 14:16:51 2004
@@ -14,6 +14,7 @@
 /**
  * A TeseCase that tests control inheritance by instantiating a subcontrol and 
invoking the methods
  * and getting/setting the properties.
+ * All tests on controls instantiated declaratively are deactivated until this 
feature is supported.
  */
 public class SubControlTest extends TestCase
 {
@@ -31,6 +32,7 @@
      * Tests invoking a method inherited by the subcontrol
      */
        @Freq("checkin")
+       @Status("inactive")
     public void testInheritedMethod() throws Exception
     {
                Assert.assertNotNull(subcontrol);
@@ -57,6 +59,7 @@
      * Tests invoking a method declared on the subcontrol
      */
        @Freq("detailed")
+       @Status("inactive")
     public void testExtendedMethod() throws Exception
     {
                Assert.assertNotNull(subcontrol);
@@ -86,6 +89,7 @@
      * The subcontrol is instantiated declaratively
      */
        @Freq("detailed")
+       @Status("inactive")
     public void testGettingInheritedPropertyByContext() throws Exception
     {
                Assert.assertNotNull(subcontrol);
@@ -256,6 +260,7 @@
      * The subcontrol is instantiated declaratively
      */
        @Freq("detailed")
+       @Status("inactive")
     public void testGetReconfiguredPropertyByContext() throws Exception
     {
                Assert.assertNotNull(subcontrol);

Modified: 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/instantiate/TestInstantiate.java
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/instantiate/TestInstantiate.java
      (original)
+++ 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/instantiate/TestInstantiate.java
      Wed Aug 25 14:16:51 2004
@@ -15,6 +15,7 @@
 
 /**
  * A TestCase that tests instantiating controls in different ways
+ * All tests on controls instantiated declaratively are deactivated until this 
feature is supported.
  */
 public class TestInstantiate extends TestCase
 {
@@ -55,6 +56,7 @@
      * Tests instantiating a custom control declaratively
      */
        @Freq("checkin")
+    @Status("inactive")
     public void testDeclarativeInstantiation() throws Exception
     {
                Assert.assertNotNull(myHelloBean);
@@ -66,6 +68,7 @@
      */
 
        @Freq("detailed")
+    @Status("inactive")
     public void testDeclareWithProperty() throws Exception
     {
                Assert.assertNotNull(myPropertyBean);

Modified: 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/property/ImplAccessTest.java
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/property/ImplAccessTest.java
  (original)
+++ 
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/property/ImplAccessTest.java
  Wed Aug 25 14:16:51 2004
@@ -9,13 +9,14 @@
 import junit.framework.TestCase;
 import org.apache.beehive.test.tools.milton.common.Report;
 import org.apache.beehive.mantis.annotations.tch.Freq;
+import org.apache.beehive.mantis.annotations.tch.Status;
 
 
 
 /**
  * A TestCase that tests accessing property values via control context in 
control impl
+ * All tests on controls instantiated declaratively are deactivated until this 
feature is supported.
  */
[EMAIL PROTECTED]("detailed")
 public class ImplAccessTest extends TestCase
 {
     public ImplAccessTest( String s ) { super( s ); }
@@ -33,6 +34,8 @@
      * By invoking sayHello method, the property value is retrieved via 
control context.
      * The control bean is instantiated by declaration.
      */
+       @Freq("detailed")
+    @Status("inactive")
     public void testContextAccessByDeclare() throws Exception
     {
                /*
@@ -49,6 +52,7 @@
      * By invoking sayHello method, the property value is retrieved via 
control context.
      * The control bean is instantiated programmatically.
      */
+       @Freq("detailed")
     public void testContextAccessByProgram() throws Exception
     {
                //Report report =new Report();

Reply via email to