Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@xamarin.com>2011-10-26 11:57:11 +0400
committerMike Krüger <mkrueger@xamarin.com>2011-10-26 11:57:50 +0400
commitd11c606e5b8568c4fd3366d6f6d32a1ec556b8f9 (patch)
tree702a36198bc5a991fbaa3fd7f37d391091db56b3 /main/tests
parente7127cbcf3aebc3638f1ed5215480b4ce65eee18 (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.cs15
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 ()
{