Last change
on this file since 5062 was
5062,
checked in by cneumuel, 13 years ago
|
#1233
- implemented MockService, MockJob, MockServiceLocator
|
File size:
674 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Text;
|
---|
3 | using System.Collections.Generic;
|
---|
4 | using System.Linq;
|
---|
5 | using Microsoft.VisualStudio.TestTools.UnitTesting;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.Clients.Hive.Slave.Tests {
|
---|
8 | [TestClass]
|
---|
9 | public class SlaveTest {
|
---|
10 |
|
---|
11 | // Use ClassInitialize to run code before running the first test in the class
|
---|
12 | [ClassInitialize]
|
---|
13 | public static void MyClassInitialize(TestContext testContext) {
|
---|
14 | PluginLoader.pluginAssemblies.Any();
|
---|
15 | ServiceLocator.Instance = new MockServiceLocator();
|
---|
16 | }
|
---|
17 |
|
---|
18 | [TestMethod]
|
---|
19 | public void TestMethod1() {
|
---|
20 | SlaveDummy slave = new SlaveDummy();
|
---|
21 |
|
---|
22 | slave.SayHello();
|
---|
23 | }
|
---|
24 | }
|
---|
25 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.