- Timestamp:
- 07/26/13 14:06:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/ToStringTest.cs
r9764 r9783 31 31 32 32 private TestContext testContextInstance; 33 /// <summary>34 ///Gets or sets the test context which provides35 ///information about and functionality for the current test run.36 ///</summary>37 33 public TestContext TestContext { 38 get { 39 return testContextInstance; 40 } 41 set { 42 testContextInstance = value; 43 } 34 get { return testContextInstance; } 35 set { testContextInstance = value; } 44 36 } 45 37 … … 51 43 52 44 [TestMethod] 45 [TestCategory("General")] 46 [TestCategory("Essential")] 47 [TestProperty("Time", "long")] 53 48 public void TestToString() { 54 49 bool success = true; … … 57 52 try { 58 53 item.ToString(); 59 } catch (Exception e) { 54 } 55 catch (Exception e) { 60 56 TestContext.WriteLine(item.GetType() + " throws a " + e.GetType() + " in the ToString method."); 61 57 success = false;
Note: See TracChangeset
for help on using the changeset viewer.