Changeset 8078
- Timestamp:
- 06/21/12 16:05:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/DeepCloneableCloningTest.cs
r8052 r8078 125 125 try { 126 126 clone = (IDeepCloneable)item.Clone(new Cloner()); 127 } catch (Exception e) { 127 } 128 catch (Exception e) { 128 129 TestContext.WriteLine(Environment.NewLine + deepCloneableType.FullName + ":"); 129 130 TestContext.WriteLine("ERROR! " + e.GetType().Name + @" was thrown during cloning. … … 145 146 var clonedObjects = new HashSet<object>(clone.GetObjectGraphObjects(excludeStaticMembers: true).Where(x => !x.GetType().IsValueType), new ReferenceEqualityComparer()); 146 147 147 return originalObjects.Intersect(clonedObjects );148 return originalObjects.Intersect(clonedObjects, new ReferenceEqualityComparer()); 148 149 } 149 150
Note: See TracChangeset
for help on using the changeset viewer.