geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r656342 - /geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/EditableKernelConfigurationManagerTest.java
Date Wed, 14 May 2008 18:09:32 GMT
Author: gawor
Date: Wed May 14 11:09:32 2008
New Revision: 656342

URL: http://svn.apache.org/viewvc?rev=656342&view=rev
Log:
fix unit test caused by rmock update

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/EditableKernelConfigurationManagerTest.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/EditableKernelConfigurationManagerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/EditableKernelConfigurationManagerTest.java?rev=656342&r1=656341&r2=656342&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/EditableKernelConfigurationManagerTest.java
(original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/EditableKernelConfigurationManagerTest.java
Wed May 14 11:09:32 2008
@@ -56,8 +56,8 @@
         ArtifactManager artifactManager = (ArtifactManager) mock(ArtifactManager.class);
         ArtifactResolver artifactResolver = (ArtifactResolver) mock(ArtifactResolver.class);
         
-        storeA = (ConfigurationStore) mock(ConfigurationStore.class);
-        storeB = (ConfigurationStore) mock(ConfigurationStore.class);
+        storeA = (ConfigurationStore) mock(ConfigurationStore.class, "ConfigurationStoreA");
+        storeB = (ConfigurationStore) mock(ConfigurationStore.class, "ConfigurationStoreB");
         
         stores = new ArrayList<ConfigurationStore>();
         



Mime
View raw message