Changeset 12722 for trunk/sources/HeuristicLab.Tests
- Timestamp:
- 07/10/15 16:49:32 (9 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:ignore
-
old new 23 23 bin 24 24 protoc.exe 25 obj
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
trunk/sources/HeuristicLab.Tests
- Property svn:mergeinfo changed
/branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Tests (added) merged: 11185,11289,11322,12694,12721
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/DeepCloneableCloningTest.cs
r12012 r12722 41 41 42 42 public DeepCloneableCloningTest() { 43 excludedTypes = new HashSet<Type>(); 44 excludedTypes.Add(typeof(HeuristicLab.Problems.DataAnalysis.Dataset)); 45 excludedTypes.Add(typeof(HeuristicLab.Problems.TravelingSalesman.DistanceMatrix)); 46 excludedTypes.Add(typeof(HeuristicLab.Problems.DataAnalysis.ClassificationEnsembleSolution)); 47 excludedTypes.Add(typeof(HeuristicLab.Problems.DataAnalysis.RegressionEnsembleSolution)); 43 excludedTypes = new HashSet<Type> { 44 typeof (HeuristicLab.Problems.DataAnalysis.Dataset), 45 typeof (HeuristicLab.Problems.TravelingSalesman.DistanceMatrix), 46 typeof (HeuristicLab.Problems.DataAnalysis.ClassificationEnsembleSolution), 47 typeof (HeuristicLab.Problems.DataAnalysis.RegressionEnsembleSolution), 48 typeof (HeuristicLab.Problems.Orienteering.DistanceMatrix) 49 }; 48 50 excludedTypes.Add(typeof(SymbolicExpressionGrammar).Assembly.GetType("HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.EmptySymbolicExpressionTreeGrammar")); 49 51 … … 87 89 try { 88 90 item = (IDeepCloneable)Activator.CreateInstance(deepCloneableType, nonPublic: false); 89 } 90 catch { continue; } // no default constructor 91 } catch { continue; } // no default constructor 91 92 92 93 IDeepCloneable clone = null; 93 94 try { 94 95 clone = (IDeepCloneable)item.Clone(new Cloner()); 95 } 96 catch (Exception e) { 96 } catch (Exception e) { 97 97 TestContext.WriteLine(Environment.NewLine + deepCloneableType.FullName + ":"); 98 98 TestContext.WriteLine("ERROR! " + e.GetType().Name + @" was thrown during cloning. -
trunk/sources/HeuristicLab.Tests/HeuristicLab.Tests.csproj
r12700 r12722 346 346 <SpecificVersion>False</SpecificVersion> 347 347 <HintPath>..\bin\HeuristicLab.Problems.Programmable.Views-3.3.dll</HintPath> 348 <Private>False</Private> 349 </Reference> 350 <Reference Include="HeuristicLab.Problems.Orienteering-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 351 <HintPath>..\bin\HeuristicLab.Problems.Orienteering-3.3.dll</HintPath> 348 352 <Private>False</Private> 349 353 </Reference> … … 418 422 <Compile Include="HeuristicLab-3.3\PluginDependenciesTest.cs" /> 419 423 <Compile Include="HeuristicLab-3.3\PluginLoader.cs" /> 424 <Compile Include="HeuristicLab-3.3\Samples\VnsOpSampleTest.cs" /> 420 425 <Compile Include="HeuristicLab-3.3\Samples\EsGriewankSampleTest.cs" /> 421 426 <Compile Include="HeuristicLab-3.3\Samples\GaussianProcessRegressionSampleTest.cs" />
Note: See TracChangeset
for help on using the changeset viewer.