Changeset 4661
- Timestamp:
- 10/29/10 15:11:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab/3.3/Tests/CloningConstructorTest.cs
r4660 r4661 35 35 if (!found) 36 36 errorMessage.Append(Environment.NewLine + deepCloneableType.ToString() + ": No cloning constructor is defined."); 37 38 if (!deepCloneableType.IsAbstract) { 39 MethodInfo cloneMethod = deepCloneableType.GetMethod("Clone", new Type[] { typeof(Cloner) }); 40 if (cloneMethod == null) 41 errorMessage.Append(Environment.NewLine + deepCloneableType.ToString() + ": No virtual cloning method is defined."); 42 } 37 43 } 38 44 Assert.IsTrue(errorMessage.Length == 0, errorMessage.ToString());
Note: See TracChangeset
for help on using the changeset viewer.