Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/26/13 14:06:27 (11 years ago)
Author:
mkommend
Message:

#2088: Adapted HL-3.3.Tests, Algorithms.DataAnalysis.Tests, and Collections.Test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/ToStringTest.cs

    r9764 r9783  
    3131
    3232    private TestContext testContextInstance;
    33     /// <summary>
    34     ///Gets or sets the test context which provides
    35     ///information about and functionality for the current test run.
    36     ///</summary>
    3733    public TestContext TestContext {
    38       get {
    39         return testContextInstance;
    40       }
    41       set {
    42         testContextInstance = value;
    43       }
     34      get { return testContextInstance; }
     35      set { testContextInstance = value; }
    4436    }
    4537
     
    5143
    5244    [TestMethod]
     45    [TestCategory("General")]
     46    [TestCategory("Essential")]
     47    [TestProperty("Time", "long")]
    5348    public void TestToString() {
    5449      bool success = true;
     
    5752        try {
    5853          item.ToString();
    59         } catch (Exception e) {
     54        }
     55        catch (Exception e) {
    6056          TestContext.WriteLine(item.GetType() + " throws a " + e.GetType() + " in the ToString method.");
    6157          success = false;
Note: See TracChangeset for help on using the changeset viewer.