12using System.Windows.Controls;
13using System.Windows.Documents;
14using System.Windows.Ink;
15using System.Windows.Input;
16using System.Windows.Media;
17using System.Windows.Media.Animation;
18using System.Windows.Shapes;
27using TestClass = NUnit.Framework.TestFixtureAttribute;
28using TestInitialize = NUnit.Framework.SetUpAttribute;
29using TestCleanup = NUnit.Framework.TearDownAttribute;
30using TestMethod = NUnit.Framework.TestAttribute;
32using Microsoft.VisualStudio.TestTools.UnitTesting;
38 [System.Diagnostics.DebuggerStepThrough]
88 int expected = (DateTime.Now -
new DateTime(1, 1, 1)).Days / 365;
128 string city1 = a.
City;
131 int age2 = p.
Age = 2;
132 string city2 = a.
City =
"two";
185 int age1 = p.
Age = 1;
186 string city1 = a.
City =
"one";
189 int age2 = p.
Age = 2;
190 string city2 = a.
City =
"two";
193 string city3 = a.
City =
"three";
298 string city1 = a.
City;
302 int age2 = p.
Age = 2;
303 string city2 = a.
City =
"two";
339 context.Assert.Try(p.CancelEdit);
Exception indicating a problem with the use of the n-level undo feature in CSLA .NET.
UnitTestContext GetContext()
void MultiEditUndoSuccess()
void ApplyEditOnChildThenRoot()
void UndoUninitializedValues()
void ApplyEditWithChildSuccess()
void UndoWithDeleteAddToList()
void UndoParentThenChildEnsureNoEditLevelMismatch()
void ApplyChildAfterRootUndo()
void UndoAfterApplyEditFail()