Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9770 for trunk/sources


Ignore:
Timestamp:
07/26/13 13:03:41 (11 years ago)
Author:
mkommend
Message:

#2088: Removed useless brackets in the TestMethod attribute and added test categories and properties for SymExpTreeEncoding unit test.

Location:
trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/AllArchitectureAlteringOperatorsTest.cs

    r9764 r9770  
    2424using System.Diagnostics;
    2525using HeuristicLab.Data;
    26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2726using HeuristicLab.Random;
    2827using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    3736    private TestContext testContextInstance;
    3837
    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     [TestMethod()]
     38    [TestMethod]
    5339    [Timeout(3600000)]
     40    [TestCategory("Encodings.SymbolicExpressionTree")]
     41    [TestProperty("Time", "long")]
    5442    public void AllArchitectureAlteringOperatorsDistributionTest() {
    5543      var trees = new List<ISymbolicExpressionTree>();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ArgumentCreaterTest.cs

    r9764 r9770  
    3535    private TestContext testContextInstance;
    3636
    37     /// <summary>
    38     ///Gets or sets the test context which provides
    39     ///information about and functionality for the current test run.
    40     ///</summary>
    41     public TestContext TestContext {
    42       get {
    43         return testContextInstance;
    44       }
    45       set {
    46         testContextInstance = value;
    47       }
    48     }
    49 
    50     [TestMethod()]
     37    [TestMethod]
     38    [TestCategory("Encodings.SymbolicExpressionTree")]
     39    [TestProperty("Time", "long")]
    5140    public void ArgumentCreaterDistributionsTest() {
    5241      var trees = new List<ISymbolicExpressionTree>();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ArgumentDeleterTest.cs

    r9764 r9770  
    3535    private TestContext testContextInstance;
    3636
    37     /// <summary>
    38     ///Gets or sets the test context which provides
    39     ///information about and functionality for the current test run.
    40     ///</summary>
    41     public TestContext TestContext {
    42       get {
    43         return testContextInstance;
    44       }
    45       set {
    46         testContextInstance = value;
    47       }
    48     }
    49 
    50     [TestMethod()]
     37    [TestMethod]
     38    [TestCategory("Encodings.SymbolicExpressionTree")]
     39    [TestProperty("Time", "long")]
    5140    public void ArgumentDeleterDistributionsTest() {
    5241      var trees = new List<ISymbolicExpressionTree>();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ArgumentDuplicaterTest.cs

    r9764 r9770  
    3535    private TestContext testContextInstance;
    3636
    37     /// <summary>
    38     ///Gets or sets the test context which provides
    39     ///information about and functionality for the current test run.
    40     ///</summary>
    41     public TestContext TestContext {
    42       get {
    43         return testContextInstance;
    44       }
    45       set {
    46         testContextInstance = value;
    47       }
    48     }
    49 
    50     [TestMethod()]
     37    [TestMethod]
     38    [TestCategory("Encodings.SymbolicExpressionTree")]
     39    [TestProperty("Time", "long")]
    5140    public void ArgumentDuplicaterDistributionsTest() {
    5241      var trees = new List<ISymbolicExpressionTree>();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ChangeNodeTypeManipulationTest.cs

    r9764 r9770  
    3434    private TestContext testContextInstance;
    3535
    36     /// <summary>
    37     ///Gets or sets the test context which provides
    38     ///information about and functionality for the current test run.
    39     ///</summary>
    40     public TestContext TestContext {
    41       get {
    42         return testContextInstance;
    43       }
    44       set {
    45         testContextInstance = value;
    46       }
    47     }
    48 
    49     [TestMethod()]
     36    [TestMethod]
     37    [TestCategory("Encodings.SymbolicExpressionTree")]
     38    [TestProperty("Time", "medium")]
    5039    public void ChangeNodeTypeManipulationDistributionsTest() {
    5140      SymbolicExpressionTreeStringFormatter formatter = new SymbolicExpressionTreeStringFormatter();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/FullTreeCreatorTest.cs

    r9764 r9770  
    3535    private TestContext testContextInstance;
    3636
    37     /// <summary>
    38     ///Gets or sets the test context which provides
    39     ///information about and functionality for the current test run.
    40     ///</summary>
    41     public TestContext TestContext {
    42       get {
    43         return testContextInstance;
    44       }
    45       set {
    46         testContextInstance = value;
    47       }
    48     }
    4937
    50     [TestMethod()]
     38    [TestMethod]
     39    [TestCategory("Encodings.SymbolicExpressionTree")]
     40    [TestProperty("Time", "long")]
    5141    public void FullTreeCreatorDistributionsTest() {
    5242      var randomTrees = new List<ISymbolicExpressionTree>();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/GrowTreeCreatorTest.cs

    r9764 r9770  
    3535    private TestContext testContextInstance;
    3636
    37     /// <summary>
    38     ///Gets or sets the test context which provides
    39     ///information about and functionality for the current test run.
    40     ///</summary>
    41     public TestContext TestContext {
    42       get {
    43         return testContextInstance;
    44       }
    45       set {
    46         testContextInstance = value;
    47       }
    48     }
    49 
    50     [TestMethod()]
     37    [TestMethod]
     38    [TestCategory("Encodings.SymbolicExpressionTree")]
     39    [TestProperty("Time", "long")]
    5140    public void GrowTreeCreatorDistributionsTest() {
    5241      var randomTrees = new List<ISymbolicExpressionTree>();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ProbabilisticTreeCreaterTest.cs

    r9764 r9770  
    3535    private TestContext testContextInstance;
    3636
    37     /// <summary>
    38     ///Gets or sets the test context which provides
    39     ///information about and functionality for the current test run.
    40     ///</summary>
    41     public TestContext TestContext {
    42       get {
    43         return testContextInstance;
    44       }
    45       set {
    46         testContextInstance = value;
    47       }
    48     }
    49 
    5037    [TestMethod()]
     38    [TestCategory("Encodings.SymbolicExpressionTree")]
     39    [TestProperty("Time", "long")]
    5140    public void ProbabilisticTreeCreaterDistributionsTest() {
    5241      var randomTrees = new List<ISymbolicExpressionTree>();
     
    8473
    8574    [TestMethod]
     75    [TestCategory("Encodings.SymbolicExpressionTree")]
     76    [TestProperty("Time", "short")]
    8677    public void ProbabilisticTreeCreatorSpecificTreeSizesTest() {
    8778      var trees = new List<ISymbolicExpressionTree>();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ReplaceBranchManipulationTest.cs

    r9764 r9770  
    3434    private TestContext testContextInstance;
    3535
    36     /// <summary>
    37     ///Gets or sets the test context which provides
    38     ///information about and functionality for the current test run.
    39     ///</summary>
    40     public TestContext TestContext {
    41       get {
    42         return testContextInstance;
    43       }
    44       set {
    45         testContextInstance = value;
    46       }
    47     }
    48 
    49     [TestMethod()]
     36    [TestMethod]
     37    [TestCategory("Encodings.SymbolicExpressionTree")]
     38    [TestProperty("Time", "long")]
    5039    public void ReplaceBranchManipulationDistributionsTest() {
    5140      SymbolicExpressionTreeStringFormatter formatter = new SymbolicExpressionTreeStringFormatter();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubroutineCreaterTest.cs

    r9764 r9770  
    2222using System;
    2323using System.Collections.Generic;
    24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2524using HeuristicLab.Random;
    2625using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    3433    private TestContext testContextInstance;
    3534
    36     /// <summary>
    37     ///Gets or sets the test context which provides
    38     ///information about and functionality for the current test run.
    39     ///</summary>
    40     public TestContext TestContext {
    41       get {
    42         return testContextInstance;
    43       }
    44       set {
    45         testContextInstance = value;
    46       }
    47     }
    48 
    49     [TestMethod()]
     35    [TestMethod]
     36    [TestCategory("Encodings.SymbolicExpressionTree")]
     37    [TestProperty("Time", "long")]
    5038    public void SubroutineCreaterDistributionsTest() {
    5139      var trees = new List<ISymbolicExpressionTree>();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubroutineDeleterTest.cs

    r9764 r9770  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2625using HeuristicLab.Random;
    2726using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    3534    private TestContext testContextInstance;
    3635
    37     /// <summary>
    38     ///Gets or sets the test context which provides
    39     ///information about and functionality for the current test run.
    40     ///</summary>
    41     public TestContext TestContext {
    42       get {
    43         return testContextInstance;
    44       }
    45       set {
    46         testContextInstance = value;
    47       }
    48     }
    49 
    50     [TestMethod()]
     36    [TestMethod]
     37    [TestCategory("Encodings.SymbolicExpressionTree")]
     38    [TestProperty("Time", "long")]
    5139    public void SubroutineDeleterDistributionsTest() {
    5240      var trees = new List<ISymbolicExpressionTree>();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubroutineDuplicaterTest.cs

    r9764 r9770  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2625using HeuristicLab.Random;
    2726using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    3534    private TestContext testContextInstance;
    3635
    37     /// <summary>
    38     ///Gets or sets the test context which provides
    39     ///information about and functionality for the current test run.
    40     ///</summary>
    41     public TestContext TestContext {
    42       get {
    43         return testContextInstance;
    44       }
    45       set {
    46         testContextInstance = value;
    47       }
    48     }
    49 
    50     [TestMethod()]
     36    [TestMethod]
     37    [TestCategory("Encodings.SymbolicExpressionTree")]
     38    [TestProperty("Time", "long")]
    5139    public void SubroutineDuplicaterDistributionsTest() {
    5240      var trees = new List<ISymbolicExpressionTree>();
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubtreeCrossoverTest.cs

    r9764 r9770  
    2323using System.Collections.Generic;
    2424using System.Diagnostics;
    25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2625using HeuristicLab.Random;
    2726using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    3332    private TestContext testContextInstance;
    3433
    35     /// <summary>
    36     ///Gets or sets the test context which provides
    37     ///information about and functionality for the current test run.
    38     ///</summary>
    39     public TestContext TestContext {
    40       get {
    41         return testContextInstance;
    42       }
    43       set {
    44         testContextInstance = value;
    45       }
    46     }
    47 
    48     [TestMethod()]
     34    [TestMethod]
     35    [TestCategory("Encodings.SymbolicExpressionTree")]
     36    [TestProperty("Time", "long")]
    4937    public void SubtreeCrossoverDistributionsTest() {
    5038      int generations = 5;
Note: See TracChangeset for help on using the changeset viewer.