Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Services.Authentication Prototype/UnitTests/service/HeuristicLabManagementServiceTest.cs @ 3976

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 
1using System;
2using System.Text;
3using System.Collections.Generic;
4using System.Linq;
5using Microsoft.VisualStudio.TestTools.UnitTesting;
6
7namespace 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.