Expression tree cloner can now also create shallow field based clones
git-svn-id: file:///srv/devel/repo-conversion/nusu@241 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
e7d1c9720b
commit
cd6cec42d3
8 changed files with 794 additions and 592 deletions
|
|
@ -123,6 +123,8 @@ namespace Nuclex.Support.Cloning {
|
|||
HierarchicalReferenceType original, HierarchicalReferenceType clone,
|
||||
bool isDeepClone, bool isPropertyBasedClone
|
||||
) {
|
||||
Assert.AreNotSame(original, clone);
|
||||
|
||||
if(isPropertyBasedClone) {
|
||||
Assert.AreEqual(0, clone.TestField);
|
||||
Assert.AreEqual(0, clone.ValueTypeField.TestField);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue