Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Tests-3.4/Mocks/MockServiceLocator.cs @ 5062

Last change on this file since 5062 was 5062, checked in by cneumuel, 14 years ago

#1233

  • implemented MockService, MockJob, MockServiceLocator
File size: 434 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Clients.Common;
6using HeuristicLab.Services.Hive.Common.ServiceContracts;
7
8namespace HeuristicLab.Clients.Hive.Slave.Tests {
9  internal class MockServiceLocator : IServiceLocator {
10
11    public Disposable<IHiveService> GetService() {
12      return new Disposable<IHiveService>(new MockHiveService());
13    }
14  }
15}
Note: See TracBrowser for help on using the repository browser.