servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r487228 - in /incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi: management/task/JbiTaskTest.java security/SecuredBrokerTest.java
Date Thu, 14 Dec 2006 15:14:13 GMT
Author: gnodet
Date: Thu Dec 14 07:14:12 2006
New Revision: 487228

URL: http://svn.apache.org/viewvc?view=rev&rev=487228
Log:
Fix junit tests

Modified:
    incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi/management/task/JbiTaskTest.java
    incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi/security/SecuredBrokerTest.java

Modified: incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi/management/task/JbiTaskTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi/management/task/JbiTaskTest.java?view=diff&rev=487228&r1=487227&r2=487228
==============================================================================
--- incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi/management/task/JbiTaskTest.java
(original)
+++ incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi/management/task/JbiTaskTest.java
Thu Dec 14 07:14:12 2006
@@ -16,8 +16,6 @@
  */
 package org.apache.servicemix.jbi.management.task;
 
-import javax.jbi.management.DeploymentServiceMBean;
-
 import org.apache.servicemix.jbi.framework.AdminCommandsServiceMBean;
 import org.apache.tools.ant.Project;
 
@@ -53,12 +51,6 @@
         super.tearDown();
     }
 
-    public void testGetDeploymentService() throws Exception {
-        DeploymentServiceMBean mbean = jbiTask.getDeploymentService();
-        assertNotNull(mbean);
-        mbean.getDeployedServiceAssemblies();
-    }
-    
     public void testGetAdminCommandsService() throws Exception {
         AdminCommandsServiceMBean mbean = jbiTask.getAdminCommandsService();
         assertNotNull(mbean);

Modified: incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi/security/SecuredBrokerTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi/security/SecuredBrokerTest.java?view=diff&rev=487228&r1=487227&r2=487228
==============================================================================
--- incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi/security/SecuredBrokerTest.java
(original)
+++ incubator/servicemix/trunk/core/servicemix-core/src/test/java/org/apache/servicemix/jbi/security/SecuredBrokerTest.java
Thu Dec 14 07:14:12 2006
@@ -64,7 +64,7 @@
         jbi.setUseMBeanServer(false);
         jbi.setEmbedded(true);
         List entries = new ArrayList();
-        entries.add(new AuthorizationEntry(ReceiverComponent.SERVICE, null, "programmers"));
+        entries.add(new AuthorizationEntry(ReceiverComponent.SERVICE, null, null, "programmers"));
         AuthorizationMap map = new DefaultAuthorizationMap(entries);
         SecuredBroker broker = new SecuredBroker(map);
         jbi.setBroker(broker);



Mime
View raw message