Changeset 13879
- Timestamp:
- 06/08/16 15:14:04 (8 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 13494,13510,13676
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Common/3.3/ObjectExtensions.cs
r12009 r13879 66 66 /// * string, decimal, DateTime 67 67 /// * Arrays of types not collected 68 /// * All types from System.Reflection.Emit 68 69 /// </summary> 69 70 private static bool ExcludeType(Type type) { … … 77 78 typeof(Delegate).IsAssignableFrom(type) || 78 79 typeof(Pointer).IsAssignableFrom(type) || 79 type == typeof(System.Reflection.Emit.SignatureHelper)||80 type.Namespace == "System.Reflection.Emit" || 80 81 (type.HasElementType && ExcludeType(type.GetElementType())); 81 82 } -
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 13510,13676
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab-3.3/CollectObjectGraphTest.cs
r12009 r13879 41 41 get { return testContextInstance; } 42 42 set { testContextInstance = value; } 43 } 44 45 [TestMethod] 46 [Description("Verify that the object graph traversal is working by checking the number of objects after traversal.")] 47 [TestCategory("General")] 48 [TestCategory("Essential")] 49 [TestProperty("Time", "medium")] 50 public void TestObjectGraphTraversal() { 51 GeneticAlgorithm ga = (GeneticAlgorithm)XmlParser.Deserialize(@"Test Resources\GA_SymbReg.hl"); 52 var objects = ga.GetObjectGraphObjects().ToList(); 53 54 // Should be 3982, but count may change slightly as members are added or removed 55 Assert.IsTrue(objects.Count > 1, "Number of objects in the object graph seems to small."); 43 56 } 44 57
Note: See TracChangeset
for help on using the changeset viewer.