• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 2602 for trunk/components/blitz/test/ome/icy/service/utests/ServiceFactoryKeepAliveUnitTest.java

Show
Ignore:
Timestamp:
07/06/08 10:05:22 (5 months ago)
Author:
jmoore
Message:

ticket:1017 - Updating blitz integration tests

Files:
1 modified

  • trunk/components/blitz/test/ome/icy/service/utests/ServiceFactoryKeepAliveUnitTest.java (modified) (3 diffs)

Legend:

Unmodified
Added
Removed
  • trunk/components/blitz/test/ome/icy/service/utests/ServiceFactoryKeepAliveUnitTest.java

    r2383 r2602  
    1818import omero.api.ServiceInterfacePrx; 
    1919import omero.api._IQueryTie; 
     20import omero.constants.CLIENTUUID; 
    2021 
    2122import org.jmock.Mock; 
    … …  
    4243    Ice.Identity id = Ice.Util.stringToIdentity("test"); 
    4344    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    } 
    4450 
    4551    @Override 
    … …  
    5864        cacheMock.expects(once()).method("get").will( 
    5965                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); 
    6268    } 
    6369 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/