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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Clients.Common;
|
---|
6 | using HeuristicLab.Services.Hive.Common.ServiceContracts;
|
---|
7 |
|
---|
8 | namespace 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.