tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r377050 - /incubator/tuscany/java/sca/core/src/test/java/org/apache/tuscany/core/system/context/RuntimeBootTestCase.java
Date Sat, 11 Feb 2006 20:31:15 GMT
Author: jboynes
Date: Sat Feb 11 12:31:15 2006
New Revision: 377050

URL: http://svn.apache.org/viewcvs?rev=377050&view=rev
Log:
test getContext for root and system context names

Modified:
    incubator/tuscany/java/sca/core/src/test/java/org/apache/tuscany/core/system/context/RuntimeBootTestCase.java

Modified: incubator/tuscany/java/sca/core/src/test/java/org/apache/tuscany/core/system/context/RuntimeBootTestCase.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/sca/core/src/test/java/org/apache/tuscany/core/system/context/RuntimeBootTestCase.java?rev=377050&r1=377049&r2=377050&view=diff
==============================================================================
--- incubator/tuscany/java/sca/core/src/test/java/org/apache/tuscany/core/system/context/RuntimeBootTestCase.java
(original)
+++ incubator/tuscany/java/sca/core/src/test/java/org/apache/tuscany/core/system/context/RuntimeBootTestCase.java
Sat Feb 11 12:31:15 2006
@@ -38,11 +38,13 @@
         assertNotNull(rootContext);
         assertEquals("tuscany.root", rootContext.getName());
         assertSame(runtime, rootContext.getParent());
+        assertSame(rootContext, runtime.getContext("tuscany.root"));
 
         AggregateContext systemContext = runtime.getSystemContext();
         assertNotNull(systemContext);
         assertEquals("tuscany.system", systemContext.getName());
         assertSame(runtime, systemContext.getParent());
+        assertSame(systemContext, runtime.getContext("tuscany.system"));
     }
 
     public void testRuntimeLifecycle() {



Mime
View raw message