geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r369917 - /geronimo/trunk/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java
Date Tue, 17 Jan 2006 20:59:14 GMT
Author: djencks
Date: Tue Jan 17 12:59:12 2006
New Revision: 369917

URL: http://svn.apache.org/viewcvs?rev=369917&view=rev
Log:
GERONIMO-1455 We can check that the 2 functionalities are not interfering with each other

Modified:
    geronimo/trunk/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java

Modified: geronimo/trunk/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java?rev=369917&r1=369916&r2=369917&view=diff
==============================================================================
--- geronimo/trunk/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java
(original)
+++ geronimo/trunk/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java
Tue Jan 17 12:59:12 2006
@@ -67,6 +67,13 @@
         assertEquals(1, newDatas.size());
         assertEquals(originalDatas, newDatas);
 
+        // remove the configuration from the store
+        localAttributeManager.removeConfiguration(configurationName.toString());
+
+        // should still get the same gbeans, config list and gbean attribute override functions
are separate interfaces.
+        newDatas = new HashSet(localAttributeManager.setAttributes(configurationName, originalDatas,
getClass().getClassLoader()));
+        assertEquals(1, newDatas.size());
+        assertEquals(originalDatas, newDatas);
     }
 
     public void testGBeanShouldLoad() throws Exception {



Mime
View raw message