Changeset 11203 for branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab-3.3/DeepCloneableCloningTest.cs
- Timestamp:
- 07/18/14 12:35:00 (10 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll11 10 HeuristicLab 3.3.5.1.ReSharper.user 12 11 HeuristicLab 3.3.6.0.ReSharper.user 13 12 HeuristicLab.4.5.resharper.user 14 13 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development16 14 HeuristicLab.resharper.user 17 15 ProtoGen.exe … … 19 17 _ReSharper.HeuristicLab 20 18 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests22 19 _ReSharper.HeuristicLab.ExtLibs 23 20 bin 24 21 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HiveStatistics/sources/HeuristicLab.Tests
- Property svn:mergeinfo changed
-
branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab-3.3/DeepCloneableCloningTest.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 30 30 using Microsoft.VisualStudio.TestTools.UnitTesting; 31 31 32 namespace HeuristicLab .Tests {32 namespace HeuristicLab_33.Tests { 33 33 /// <summary> 34 34 /// Summary description for DeepCloneableCloningTest … … 40 40 public static void MyClassInitialize(TestContext testContext) { 41 41 PluginLoader.Assemblies.Any(); 42 }43 44 private TestContext testContextInstance;45 public TestContext TestContext {46 get { return testContextInstance; }47 set { testContextInstance = value; }48 42 } 49 43 … … 61 55 } 62 56 57 private TestContext testContextInstance; 63 58 private readonly HashSet<Type> excludedTypes; 64 59 60 /// <summary> 61 ///Gets or sets the test context which provides 62 ///information about and functionality for the current test run. 63 ///</summary> 64 public TestContext TestContext { 65 get { 66 return testContextInstance; 67 } 68 set { 69 testContextInstance = value; 70 } 71 } 72 73 #region Additional test attributes 74 // 75 // You can use the following additional attributes as you write your tests: 76 // 77 // Use ClassInitialize to run code before running the first test in the class 78 // [ClassInitialize()] 79 // public static void MyClassInitialize(TestContext testContext) { } 80 // 81 // Use ClassCleanup to run code after all tests in a class have run 82 // [ClassCleanup()] 83 // public static void MyClassCleanup() { } 84 // 85 // Use TestInitialize to run code before running each test 86 // [TestInitialize()] 87 // public void MyTestInitialize() { } 88 // 89 // Use TestCleanup to run code after each test has run 90 // [TestCleanup()] 91 // public void MyTestCleanup() { } 92 // 93 #endregion 94 65 95 [TestMethod] 66 [TestCategory("General")] 67 [TestCategory("Essential")] 68 [TestProperty("Time", "long")] 96 [DeploymentItem(@"HeuristicLab-3.3\Resources\SamplesExperimentFinished.hl")] 69 97 public void TestCloningFinishedExperiment() { 70 Experiment experiment = (Experiment)XmlParser.Deserialize( @"Test Resources\SamplesExperimentFinished.hl");98 Experiment experiment = (Experiment)XmlParser.Deserialize("SamplesExperimentFinished.hl"); 71 99 72 100 Experiment clone = (Experiment)experiment.Clone(new Cloner()); … … 77 105 78 106 [TestMethod] 79 [TestCategory("General")]80 [TestCategory("Essential")]81 [TestProperty("Time", "long")]82 107 public void TestCloningAllDeepCloneables() { 83 108 PluginLoader.Assemblies.ToArray();
Note: See TracChangeset
for help on using the changeset viewer.