tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r667144 - /incubator/tuscany/java/sca/vtest/java-api/apis/componentcontext/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/ComponentContextTestCase.java
Date Thu, 12 Jun 2008 16:08:35 GMT
Author: antelder
Date: Thu Jun 12 09:08:35 2008
New Revision: 667144

URL: http://svn.apache.org/viewvc?rev=667144&view=rev
Log:
TUSCANY-2243: ServiceRuntimeException due to NPE with ComponentContext.getService()

Modified:
    incubator/tuscany/java/sca/vtest/java-api/apis/componentcontext/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/ComponentContextTestCase.java

Modified: incubator/tuscany/java/sca/vtest/java-api/apis/componentcontext/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/ComponentContextTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/vtest/java-api/apis/componentcontext/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/ComponentContextTestCase.java?rev=667144&r1=667143&r2=667144&view=diff
==============================================================================
--- incubator/tuscany/java/sca/vtest/java-api/apis/componentcontext/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/ComponentContextTestCase.java
(original)
+++ incubator/tuscany/java/sca/vtest/java-api/apis/componentcontext/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/ComponentContextTestCase.java
Thu Jun 12 09:08:35 2008
@@ -137,14 +137,12 @@
      * request, or null if there is no current request or if the context is
      * unavailable.
      * 
-     * @throws Exception TODO: fails for me so I've added
-     * @Ignore
+     * @throws Exception
      */
     @Test
-    @Ignore
     public void testGetRequestContext() throws Exception {
         Assert.assertEquals("AComponent", a.getRequestContextServiceName());
-        Assert.assertEquals("Null", a.getRequestContextContent());
+        Assert.assertEquals("NotNull", a.getRequestContextContent());
     }
 
     /**



Mime
View raw message