Changeset 2602 for trunk/components/blitz/test/ome/icy/service/utests/ServiceFactoryConcurrentSessionsTest.java
- Timestamp:
- 07/06/08 10:05:22 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/components/blitz/test/ome/icy/service/utests/ServiceFactoryConcurrentSessionsTest.java
r2383 r2602 8 8 9 9 import java.util.ArrayList; 10 import java.util.HashMap; 10 11 import java.util.List; 11 12 … … 20 21 import omero.api.IAdminPrx; 21 22 import omero.api.IAdminPrxHelper; 23 import omero.constants.CLIENTUUID; 22 24 23 25 import org.jmock.Mock; … … 49 51 "classpath:omero/test.xml", 50 52 "classpath:ome/services/blitz-servantDefinitions.xml" }); 53 Ice.Current current = new Ice.Current(); 54 { 55 current.ctx = new HashMap<String, String>(); 56 current.ctx.put(CLIENTUUID.value, "clientuuid"); 57 } 51 58 52 59 @Override … … 77 84 Principal p = new Principal("user1", "group", "event"); 78 85 79 sf1 = new ServiceFactoryI(c tx, manager, executor, p,86 sf1 = new ServiceFactoryI(current, ctx, manager, executor, p, 80 87 new ArrayList<HardWiredInterceptor>()); 81 88 curr1.id = id1; … … 83 90 84 91 Principal p2 = new Principal("user2", "group", "event"); 85 sf2 = new ServiceFactoryI(c tx, manager, executor, p2,92 sf2 = new ServiceFactoryI(current, ctx, manager, executor, p2, 86 93 new ArrayList<HardWiredInterceptor>()); 87 94 curr2.id = id2;
