Changeset 2602 for trunk/components/blitz/test/ome/icy/service/utests/ServiceFactoryKeepAliveUnitTest.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/ServiceFactoryKeepAliveUnitTest.java
r2383 r2602 18 18 import omero.api.ServiceInterfacePrx; 19 19 import omero.api._IQueryTie; 20 import omero.constants.CLIENTUUID; 20 21 21 22 import org.jmock.Mock; … … 42 43 Ice.Identity id = Ice.Util.stringToIdentity("test"); 43 44 Map<String, Ice.Object> map = new HashMap<String, Ice.Object>(); 45 Ice.Current current = new Ice.Current(); 46 { 47 current.ctx = new HashMap<String, String>(); 48 current.ctx.put(CLIENTUUID.value, "clientuuid"); 49 } 44 50 45 51 @Override … … 58 64 cacheMock.expects(once()).method("get").will( 59 65 returnValue(new Element("activeServants", map))); 60 sf = new ServiceFactoryI( null, manager, executor, new Principal("a",61 "b", "c"), null);66 sf = new ServiceFactoryI(current, null, manager, executor, 67 new Principal("a", "b", "c"), null); 62 68 } 63 69
