Last change
on this file since 3976 was
3976,
checked in by bfarka, 14 years ago
|
added first service method and unittest for service
added abstract unit test for starting a service host (1046)
|
File size:
979 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 UnitTests.service {
|
---|
8 | /// <summary>
|
---|
9 | /// Zusammenfassungsbeschreibung für HeuristicLabManagementServiceTest
|
---|
10 | /// </summary>
|
---|
11 | [TestClass]
|
---|
12 | public class HeuristicLabManagementServiceTest : AbstractHeuristicLabServiceTest {
|
---|
13 |
|
---|
14 |
|
---|
15 | private TestContext testContextInstance;
|
---|
16 |
|
---|
17 | /// <summary>
|
---|
18 | ///Ruft den Textkontext mit Informationen über
|
---|
19 | ///den aktuellen Testlauf sowie Funktionalität für diesen auf oder legt diese fest.
|
---|
20 | ///</summary>
|
---|
21 | public TestContext TestContext {
|
---|
22 | get {
|
---|
23 | return testContextInstance;
|
---|
24 | }
|
---|
25 | set {
|
---|
26 | testContextInstance = value;
|
---|
27 | }
|
---|
28 | }
|
---|
29 |
|
---|
30 | [TestMethod()]
|
---|
31 | public void TestCreateRoleTest() {
|
---|
32 | new ServiceManagementRemote.AuthorizationManagementServiceClient().CreateRole("myRole", true);
|
---|
33 | }
|
---|
34 |
|
---|
35 |
|
---|
36 | }
|
---|
37 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.