diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2011-10-26 11:57:11 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2011-10-26 11:57:50 +0400 |
commit | d11c606e5b8568c4fd3366d6f6d32a1ec556b8f9 (patch) | |
tree | 702a36198bc5a991fbaa3fd7f37d391091db56b3 /main/tests | |
parent | e7127cbcf3aebc3638f1ed5215480b4ce65eee18 (diff) |
[Undo] Removed begin/end atomic undo action functions & replaced them
with an IDispoable pattern.
Diffstat (limited to 'main/tests')
-rw-r--r-- | main/tests/UnitTests/MonoDevelop.CSharpBinding/TestViewContent.cs | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/tests/UnitTests/MonoDevelop.CSharpBinding/TestViewContent.cs b/main/tests/UnitTests/MonoDevelop.CSharpBinding/TestViewContent.cs index 7908c75bff..774567ccac 100644 --- a/main/tests/UnitTests/MonoDevelop.CSharpBinding/TestViewContent.cs +++ b/main/tests/UnitTests/MonoDevelop.CSharpBinding/TestViewContent.cs @@ -180,12 +180,17 @@ namespace MonoDevelop.CSharpBinding.Tests {
} - public void BeginAtomicUndo ()
+ class DisposeStub : IDisposable
{
- } - public void EndAtomicUndo () - { - } + public void Dispose ()
+ {
+ }
+ }
+
+ public IDisposable OpenUndoGroup ()
+ {
+ return new DisposeStub ();
+ }
public TextEditorData GetTextEditorData () { |