You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2007/02/28 01:25:28 UTC

svn commit: r512519 - /incubator/tuscany/branches/sca-java-integration/testing/sca/itest/propertyTest/src/test/java/org/apache/tuscany/sca/itest/PropertyTestCase.java

Author: rfeng
Date: Tue Feb 27 16:25:27 2007
New Revision: 512519

URL: http://svn.apache.org/viewvc?view=rev&rev=512519
Log:
Workaround for TUSCANY-1145

Modified:
    incubator/tuscany/branches/sca-java-integration/testing/sca/itest/propertyTest/src/test/java/org/apache/tuscany/sca/itest/PropertyTestCase.java

Modified: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/propertyTest/src/test/java/org/apache/tuscany/sca/itest/PropertyTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/propertyTest/src/test/java/org/apache/tuscany/sca/itest/PropertyTestCase.java?view=diff&rev=512519&r1=512518&r2=512519
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/propertyTest/src/test/java/org/apache/tuscany/sca/itest/PropertyTestCase.java (original)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/propertyTest/src/test/java/org/apache/tuscany/sca/itest/PropertyTestCase.java Tue Feb 27 16:25:27 2007
@@ -31,7 +31,12 @@
     private PropertyComponent propertyService;
  //   private PropertyService propertyService;
        
-
+    // FIXME: Workaround to TUSCANY-1145
+    /**
+     * Merge a few tests to work around JIRA issue: 
+     * http://issues.apache.org/jira/browse/TUSCANY-1145
+     */
+    /*
     public void testA() {
         assertEquals("a", abService.getA());
     }
@@ -58,7 +63,18 @@
     public void testZ() {
         assertEquals("z", abService.getZ());
     }
-    
+    */
+
+    public void testA2Z() {
+        assertEquals("a", abService.getA());
+        assertEquals("b", abService.getB());
+        assertEquals("c", cdService.getC());       
+        assertEquals("c", cdService.getC2());
+        assertEquals("d", cdService.getD());
+        assertEquals("a", abService.getF());
+        assertEquals("z", abService.getZ());
+    }
+        
     
     public void testIntValue() {
         assertEquals(1, abService.getIntValue());



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org