aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From timothyjw...@apache.org
Subject svn commit: r1152741 - /aries/trunk/ejb/ejb-modeller/src/test/java/org/apache/aries/ejb/modelling/impl/EJBLocatorTest.java
Date Mon, 01 Aug 2011 11:12:56 GMT
Author: timothyjward
Date: Mon Aug  1 11:12:56 2011
New Revision: 1152741

URL: http://svn.apache.org/viewvc?rev=1152741&view=rev
Log:
  @Before

Modified:
    aries/trunk/ejb/ejb-modeller/src/test/java/org/apache/aries/ejb/modelling/impl/EJBLocatorTest.java

Modified: aries/trunk/ejb/ejb-modeller/src/test/java/org/apache/aries/ejb/modelling/impl/EJBLocatorTest.java
URL: http://svn.apache.org/viewvc/aries/trunk/ejb/ejb-modeller/src/test/java/org/apache/aries/ejb/modelling/impl/EJBLocatorTest.java?rev=1152741&r1=1152740&r2=1152741&view=diff
==============================================================================
--- aries/trunk/ejb/ejb-modeller/src/test/java/org/apache/aries/ejb/modelling/impl/EJBLocatorTest.java
(original)
+++ aries/trunk/ejb/ejb-modeller/src/test/java/org/apache/aries/ejb/modelling/impl/EJBLocatorTest.java
Mon Aug  1 11:12:56 2011
@@ -30,12 +30,18 @@ import org.apache.aries.util.filesystem.
 import org.apache.aries.util.filesystem.ICloseableDirectory;
 import org.apache.aries.util.io.IOUtils;
 import org.apache.aries.util.manifest.BundleManifest;
+import org.junit.Before;
 import org.junit.Test;
 
 public class EJBLocatorTest {
 
   private EJBRegistry registry;
   
+  @Before
+  public void setup() {
+    registry = Skeleton.newMock(EJBRegistry.class);
+  }
+  
   @Test(expected=ModellerException.class)
   public void testUnavailable() throws ModellerException {
     new EJBLocationUnavailable().findEJBs(null, null, null);



Mime
View raw message