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:
5 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Tests

  • stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis-3.4/OnlineCalculatorPerformanceTest.cs

    r9456 r9885  
    2323using System.Diagnostics;
    2424using System.Linq;
    25 using HeuristicLab.Problems.DataAnalysis;
    2625using HeuristicLab.Random;
    2726using Microsoft.VisualStudio.TestTools.UnitTesting;
    2827
    29 namespace HeuristicLab.Problems.DataAnalysis_34.Tests {
     28namespace HeuristicLab.Problems.DataAnalysis.Tests {
    3029  [TestClass]
    3130  public class OnlineCalculatorPerformanceTest {
     
    3534
    3635    private TestContext testContextInstance;
    37 
    3836    /// <summary>
    3937    ///Gets or sets the test context which provides
     
    4745
    4846    [TestMethod]
     47    [TestCategory("Problems.DataAnalysis")]
     48    [TestProperty("Time", "medium")]
    4949    public void OnlineAccuracyCalculatorPerformanceTest() {
    5050      TestCalculatorPerfomance(OnlineAccuracyCalculator.Calculate);
    5151    }
    5252    [TestMethod]
     53    [TestCategory("Problems.DataAnalysis")]
     54    [TestProperty("Time", "medium")]
    5355    public void OnlineCovarianceCalculatorPerformanceTest() {
    5456      TestCalculatorPerfomance(OnlineCovarianceCalculator.Calculate);
    5557    }
    5658    [TestMethod]
     59    [TestCategory("Problems.DataAnalysis")]
     60    [TestProperty("Time", "medium")]
    5761    public void OnlineMeanAbsolutePercentageErrorCalculatorPerformanceTest() {
    5862      TestCalculatorPerfomance(OnlineMeanAbsolutePercentageErrorCalculator.Calculate);
     
    6064
    6165    [TestMethod]
     66    [TestCategory("Problems.DataAnalysis")]
     67    [TestProperty("Time", "medium")]
    6268    public void OnlineMeanSquaredErrorCalculatorPerformanceTest() {
    6369      TestCalculatorPerfomance(OnlineMeanSquaredErrorCalculator.Calculate);
    6470    }
    6571    [TestMethod]
     72    [TestCategory("Problems.DataAnalysis")]
     73    [TestProperty("Time", "medium")]
    6674    public void OnlineNormalizedMeanSquaredErrorCalculatorPerformanceTest() {
    6775      TestCalculatorPerfomance(OnlineNormalizedMeanSquaredErrorCalculator.Calculate);
    6876    }
    6977    [TestMethod]
     78    [TestCategory("Problems.DataAnalysis")]
     79    [TestProperty("Time", "medium")]
    7080    public void OnlinePearsonsRSquaredCalculatorPerformanceTest() {
    7181      TestCalculatorPerfomance(OnlinePearsonsRSquaredCalculator.Calculate);
  • stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis-3.4/StatisticCalculatorsTest.cs

    r9456 r9885  
    2323using System.Linq;
    2424using HeuristicLab.Common;
    25 using HeuristicLab.Problems.DataAnalysis;
    2625using Microsoft.VisualStudio.TestTools.UnitTesting;
    27 namespace HeuristicLab.Problems.DataAnalysis_34.Tests {
     26namespace HeuristicLab.Problems.DataAnalysis.Tests {
    2827
    2928  [TestClass()]
     
    5453
    5554    [TestMethod]
     55    [TestCategory("Problems.DataAnalysis")]
     56    [TestProperty("Time", "short")]
    5657    public void CalculateMeanAndVarianceTest() {
    5758      System.Random random = new System.Random(31415);
     
    8586
    8687    [TestMethod]
     88    [TestCategory("Problems.DataAnalysis")]
     89    [TestProperty("Time", "short")]
    8790    public void CalculatePearsonsRSquaredTest() {
    8891      System.Random random = new System.Random(31415);
     
    114117      }
    115118    }
    116     [TestMethod]
     119
     120    [TestMethod]
     121    [TestCategory("Problems.DataAnalysis")]
     122    [TestProperty("Time", "short")]
    117123    public void CalculatePearsonsRSquaredOfConstantTest() {
    118124      System.Random random = new System.Random(31415);
     
    141147
    142148    [TestMethod]
     149    [TestCategory("Problems.DataAnalysis")]
     150    [TestProperty("Time", "short")]
    143151    public void CalculateHoeffdingsDTest() {
    144152      OnlineCalculatorError error;
  • stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis-3.4/ThresholdCalculatorsTest.cs

    r9456 r9885  
    2020#endregion
    2121
    22 using HeuristicLab.Problems.DataAnalysis;
    2322using Microsoft.VisualStudio.TestTools.UnitTesting;
    24 namespace HeuristicLab.Problems.DataAnalysis_34.Tests {
     23
     24namespace HeuristicLab.Problems.DataAnalysis.Tests {
    2525
    2626  [TestClass()]
    2727  public class ThresholdCalculatorsTest {
    2828    [TestMethod]
     29    [TestCategory("Problems.DataAnalysis")]
     30    [TestProperty("Time", "short")]
    2931    public void NormalDistributionCutPointsThresholdCalculatorTest() {
    3032
Note: See TracChangeset for help on using the changeset viewer.