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

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

Location:
stable
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Tests

  • stable/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GaussianProcessFunctionsTest.cs

    r9456 r9885  
    2424using Microsoft.VisualStudio.TestTools.UnitTesting;
    2525
    26 namespace HeuristicLab.Algorithms.DataAnalysis_34.Tests {
     26namespace HeuristicLab.Algorithms.DataAnalysis.Tests {
    2727  [TestClass]
    2828
     
    3030  public class GaussianProcessFunctionsTest {
    3131    [TestMethod]
     32    [TestCategory("Algorithms.DataAnalysis")]
     33    [TestProperty("Time", "short")]
    3234    public void MeanConstTest() {
    3335      TestMeanFunction(new MeanConst(), 0,
     
    4244
    4345    [TestMethod]
     46    [TestCategory("Algorithms.DataAnalysis")]
     47    [TestProperty("Time", "short")]
    4448    public void MeanZeroTest() {
    4549      TestMeanFunction(new MeanZero(), 0,
     
    5458
    5559    [TestMethod]
     60    [TestCategory("Algorithms.DataAnalysis")]
     61    [TestProperty("Time", "short")]
    5662    public void MeanSumTest() {
    5763      var sum = new MeanSum();
     
    7985    }
    8086    [TestMethod]
     87    [TestCategory("Algorithms.DataAnalysis")]
     88    [TestProperty("Time", "short")]
    8189    public void MeanProdTest() {
    8290      var prod = new MeanProduct();
     
    150158
    151159    [TestMethod]
     160    [TestCategory("Algorithms.DataAnalysis")]
     161    [TestProperty("Time", "short")]
    152162    public void MeanLinear() {
    153163      TestMeanFunction(new MeanLinear(), 0,
     
    176186
    177187    [TestMethod]
     188    [TestCategory("Algorithms.DataAnalysis")]
     189    [TestProperty("Time", "short")]
    178190    public void CovSeIsoTest() {
    179191      TestCovarianceFunction(new CovarianceSquaredExponentialIso(), 0,
     
    264276
    265277    [TestMethod]
     278    [TestCategory("Algorithms.DataAnalysis")]
     279    [TestProperty("Time", "short")]
    266280    public void CovNnTest() {
    267281      TestCovarianceFunction(new CovarianceNeuralNetwork(), 0,
     
    353367
    354368    [TestMethod]
     369    [TestCategory("Algorithms.DataAnalysis")]
     370    [TestProperty("Time", "short")]
    355371    public void CovRQIsoTest() {
    356372      TestCovarianceFunction(new CovarianceRationalQuadraticIso(), 0,
     
    466482
    467483    [TestMethod]
     484    [TestCategory("Algorithms.DataAnalysis")]
     485    [TestProperty("Time", "short")]
    468486    public void CovRQArdTest() {
    469487      TestCovarianceFunction(new CovarianceRationalQuadraticArd(), 0,
     
    690708
    691709    [TestMethod]
     710    [TestCategory("Algorithms.DataAnalysis")]
     711    [TestProperty("Time", "short")]
    692712    public void CovMaternIsoTest() {
    693713      var cov = new CovarianceMaternIso();
     
    875895
    876896    [TestMethod]
     897    [TestCategory("Algorithms.DataAnalysis")]
     898    [TestProperty("Time", "short")]
    877899    public void CovLinearTest() {
    878900      TestCovarianceFunction(new CovarianceLinear(), 0,
     
    897919
    898920    [TestMethod]
     921    [TestCategory("Algorithms.DataAnalysis")]
     922    [TestProperty("Time", "short")]
    899923    public void CovLinearArdTest() {
    900924      TestCovarianceFunction(new CovarianceLinearArd(), 0,
     
    10691093
    10701094    [TestMethod]
     1095    [TestCategory("Algorithms.DataAnalysis")]
     1096    [TestProperty("Time", "short")]
    10711097    public void CovPeriodicTest() {
    10721098      TestCovarianceFunction(new CovariancePeriodic(), 0,
     
    11871213
    11881214    [TestMethod]
     1215    [TestCategory("Algorithms.DataAnalysis")]
     1216    [TestProperty("Time", "short")]
    11891217    public void CovSEardTest() {
    11901218      TestCovarianceFunction(new CovarianceSquaredExponentialArd(), 0,
     
    13841412
    13851413    [TestMethod]
     1414    [TestCategory("Algorithms.DataAnalysis")]
     1415    [TestProperty("Time", "short")]
    13861416    public void CovSumTest() {
    13871417      var cov = new CovarianceSum();
     
    14821512
    14831513    [TestMethod]
     1514    [TestCategory("Algorithms.DataAnalysis")]
     1515    [TestProperty("Time", "short")]
    14841516    public void CovScaleTest() {
    14851517      var cov = new CovarianceScale();
     
    16041636
    16051637    [TestMethod]
     1638    [TestCategory("Algorithms.DataAnalysis")]
     1639    [TestProperty("Time", "short")]
    16061640    public void CovProdTest() {
    16071641      var cov = new CovarianceProduct();
  • stable/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GaussianProcessModelTest.cs

    r9456 r9885  
    2121
    2222using System.Linq;
    23 using HeuristicLab.Algorithms.DataAnalysis;
    2423using HeuristicLab.Problems.Instances.DataAnalysis;
    2524using Microsoft.VisualStudio.TestTools.UnitTesting;
    2625
    27 namespace HeuristicLab.Algorithms.DataAnalysis_34.Tests {
     26namespace HeuristicLab.Algorithms.DataAnalysis.Tests {
    2827  [TestClass]
    2928
     
    3231    [TestMethod]
    3332    [DeploymentItem(@"HeuristicLab.Algorithms.DataAnalysis-3.4/co2.txt")]
     33    [TestCategory("General")]
     34    [TestProperty("Time", "medium")]
    3435    public void GaussianProcessModelOutputTest() {
    3536      var provider = new RegressionCSVInstanceProvider();
  • stable/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GaussianProcessRegressionTest.cs

    r9456 r9885  
    2323using System.Linq;
    2424using System.Threading;
    25 using HeuristicLab.Algorithms.DataAnalysis;
    2625using HeuristicLab.Common;
    2726using HeuristicLab.Problems.DataAnalysis;
     
    2928using Microsoft.VisualStudio.TestTools.UnitTesting;
    3029
    31 namespace HeuristicLab.Algorithms.DataAnalysis_34.Tests {
     30namespace HeuristicLab.Algorithms.DataAnalysis.Tests {
    3231  [TestClass]
    3332  [DeploymentItem(@"HeuristicLab.Algorithms.DataAnalysis-3.4/co2.txt")]
     
    3635
    3736    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>
    4337    public TestContext TestContext {
    44       get {
    45         return testContextInstance;
    46       }
    47       set {
    48         testContextInstance = value;
    49       }
     38      get { return testContextInstance; }
     39      set { testContextInstance = value; }
    5040    }
    5141
     
    5444
    5545    [TestMethod]
     46    [TestCategory("Algorithms.DataAnalysis")]
     47    [TestProperty("Time", "long")]
    5648    public void GaussianProcessRegressionPerformanceTest() {
    5749      ex = null;
Note: See TracChangeset for help on using the changeset viewer.