Changeset 9885 for stable/HeuristicLab.Tests/HeuristicLab.PluginInfraStructure-3.3/InstallationManagerTest.cs
- Timestamp:
- 08/20/13 17:03:31 (11 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 9764-9775,9777-9778,9782-9786,9792,9803,9806-9807,9810
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 9764-9775,9777-9778,9782-9786,9792,9803,9806
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.PluginInfraStructure-3.3/InstallationManagerTest.cs
r9456 r9885 25 25 26 26 namespace HeuristicLab.PluginInfrastructure.Tests { 27 28 29 27 /// <summary> 30 28 ///This is a test class for InstallationManagerTest and is intended … … 33 31 [TestClass()] 34 32 public class InstallationManagerTest { 35 36 37 private TestContext testContextInstance;38 39 /// <summary>40 ///Gets or sets the test context which provides41 ///information about and functionality for the current test run.42 ///</summary>43 public TestContext TestContext {44 get {45 return testContextInstance;46 }47 set {48 testContextInstance = value;49 }50 }51 52 #region Additional test attributes53 //54 //You can use the following additional attributes as you write your tests:55 //56 //Use ClassInitialize to run code before running the first test in the class57 //[ClassInitialize()]58 //public static void MyClassInitialize(TestContext testContext)59 //{60 //}61 //62 //Use ClassCleanup to run code after all tests in a class have run63 //[ClassCleanup()]64 //public static void MyClassCleanup()65 //{66 //}67 //68 //Use TestInitialize to run code before running each test69 //[TestInitialize()]70 //public void MyTestInitialize()71 //{72 //}73 //74 //Use TestCleanup to run code after each test has run75 //[TestCleanup()]76 //public void MyTestCleanup()77 //{78 //}79 //80 #endregion81 82 83 33 /// <summary> 84 34 ///A test for GetRemotePluginList 85 35 ///</summary> 86 [TestMethod()] 36 [TestMethod] 37 [TestCategory("General")] 38 [TestProperty("Time", "long")] 87 39 public void GetRemotePluginListTest() { 88 40 string pluginDir = Environment.CurrentDirectory; … … 91 43 var pluginList = target.GetRemotePluginList(); 92 44 Assert.IsTrue(pluginList != null); 93 } 94 catch (Exception e) { 45 } catch (Exception e) { 95 46 Assert.Fail("Connection to the update service failed. " + e.Message); 96 47 } … … 100 51 ///A test for GetRemoteProductList 101 52 ///</summary> 102 [TestMethod()] 53 [TestMethod] 54 [TestCategory("General")] 55 [TestProperty("Time", "short")] 103 56 public void GetRemoteProductListTest() { 104 57 string pluginDir = Environment.CurrentDirectory; … … 107 60 var productList = target.GetRemoteProductList(); 108 61 Assert.IsTrue(productList != null); 109 } 110 catch (Exception e) { 62 } catch (Exception e) { 111 63 Assert.Fail("Connection to the update service failed. " + e.Message); 112 64 }
Note: See TracChangeset
for help on using the changeset viewer.