• 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/ServiceFactoryConcurrentSessionsTest.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/ServiceFactoryConcurrentSessionsTest.java (modified) (5 diffs)

Legend:

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

    r2383 r2602  
    88 
    99import java.util.ArrayList; 
     10import java.util.HashMap; 
    1011import java.util.List; 
    1112 
    … …  
    2021import omero.api.IAdminPrx; 
    2122import omero.api.IAdminPrxHelper; 
     23import omero.constants.CLIENTUUID; 
    2224 
    2325import org.jmock.Mock; 
    … …  
    4951            "classpath:omero/test.xml", 
    5052            "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    } 
    5158 
    5259    @Override 
    … …  
    7784        Principal p = new Principal("user1", "group", "event"); 
    7885 
    79         sf1 = new ServiceFactoryI(ctx, manager, executor, p, 
     86        sf1 = new ServiceFactoryI(current, ctx, manager, executor, p, 
    8087                new ArrayList<HardWiredInterceptor>()); 
    8188        curr1.id = id1; 
    … …  
    8390 
    8491        Principal p2 = new Principal("user2", "group", "event"); 
    85         sf2 = new ServiceFactoryI(ctx, manager, executor, p2, 
     92        sf2 = new ServiceFactoryI(current, ctx, manager, executor, p2, 
    8693                new ArrayList<HardWiredInterceptor>()); 
    8794        curr2.id = id2; 

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/