Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/20/13 17:03:31 (11 years ago)
Author:
mkommend
Message:

#2088: Merged all changesets regarding the unit test restructuring in the stable branch.

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Tests

  • stable/HeuristicLab.Tests/HeuristicLab.PluginInfraStructure-3.3/InstallationManagerTest.cs

    r9456 r9885  
    2525
    2626namespace HeuristicLab.PluginInfrastructure.Tests {
    27 
    28 
    2927  /// <summary>
    3028  ///This is a test class for InstallationManagerTest and is intended
     
    3331  [TestClass()]
    3432  public class InstallationManagerTest {
    35 
    36 
    37     private TestContext testContextInstance;
    38 
    39     /// <summary>
    40     ///Gets or sets the test context which provides
    41     ///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 attributes
    53     //
    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 class
    57     //[ClassInitialize()]
    58     //public static void MyClassInitialize(TestContext testContext)
    59     //{
    60     //}
    61     //
    62     //Use ClassCleanup to run code after all tests in a class have run
    63     //[ClassCleanup()]
    64     //public static void MyClassCleanup()
    65     //{
    66     //}
    67     //
    68     //Use TestInitialize to run code before running each test
    69     //[TestInitialize()]
    70     //public void MyTestInitialize()
    71     //{
    72     //}
    73     //
    74     //Use TestCleanup to run code after each test has run
    75     //[TestCleanup()]
    76     //public void MyTestCleanup()
    77     //{
    78     //}
    79     //
    80     #endregion
    81 
    82 
    8333    /// <summary>
    8434    ///A test for GetRemotePluginList
    8535    ///</summary>
    86     [TestMethod()]
     36    [TestMethod]
     37    [TestCategory("General")]
     38    [TestProperty("Time", "long")]
    8739    public void GetRemotePluginListTest() {
    8840      string pluginDir = Environment.CurrentDirectory;
     
    9143        var pluginList = target.GetRemotePluginList();
    9244        Assert.IsTrue(pluginList != null);
    93       }
    94       catch (Exception e) {
     45      } catch (Exception e) {
    9546        Assert.Fail("Connection to the update service failed. " + e.Message);
    9647      }
     
    10051    ///A test for GetRemoteProductList
    10152    ///</summary>
    102     [TestMethod()]
     53    [TestMethod]
     54    [TestCategory("General")]
     55    [TestProperty("Time", "short")]
    10356    public void GetRemoteProductListTest() {
    10457      string pluginDir = Environment.CurrentDirectory;
     
    10760        var productList = target.GetRemoteProductList();
    10861        Assert.IsTrue(productList != null);
    109       }
    110       catch (Exception e) {
     62      } catch (Exception e) {
    11163        Assert.Fail("Connection to the update service failed. " + e.Message);
    11264      }
Note: See TracChangeset for help on using the changeset viewer.