Author: djencks
Date: Tue Jan 17 13:01:22 2006
New Revision: 369919
URL: http://svn.apache.org/viewcvs?rev=369919&view=rev
Log:
GERONIMO-1455 We can check that the 2 functionalities are not interfering with each other
Modified:
geronimo/branches/1.0/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java
Modified: geronimo/branches/1.0/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.0/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java?rev=369919&r1=369918&r2=369919&view=diff
==============================================================================
--- geronimo/branches/1.0/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java
(original)
+++ geronimo/branches/1.0/modules/system/src/test/org/apache/geronimo/system/configuration/LocalAttributeManagerTest.java
Tue Jan 17 13:01:22 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 {
|