From 50bf57497f172a3f4cf59e50ed457aeb0afce56a Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Mon, 5 Feb 2007 16:02:52 +0000 Subject: [PATCH] Fixed build. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2366 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../BackendBindings/WixBinding/Test/Utils/MockViewContent.cs | 4 ++-- .../Test/Tree/XmlTreeViewClipboardHandlerTestFixture.cs | 2 +- src/Main/Base/Test/CSharpExpressionFinderTests.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockViewContent.cs b/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockViewContent.cs index 2f14ac0f2c..6a1fd4190a 100644 --- a/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockViewContent.cs +++ b/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockViewContent.cs @@ -39,7 +39,7 @@ namespace WixBinding.Tests.Utils #pragma warning disable 67 public event EventHandler TabPageTextChanged; - public event EventHandler ViewActivated; + public event EventHandler SwitchedTo; public event EventHandler Disposed; public event EventHandler IsDirtyChanged; public event EventHandler TitleNameChanged; @@ -144,7 +144,7 @@ namespace WixBinding.Tests.Utils } } - public void SwitchedTo() + public void OnSwitchedTo() { throw new NotImplementedException(); } diff --git a/src/AddIns/DisplayBindings/XmlEditor/Test/Tree/XmlTreeViewClipboardHandlerTestFixture.cs b/src/AddIns/DisplayBindings/XmlEditor/Test/Tree/XmlTreeViewClipboardHandlerTestFixture.cs index 3e67b73ea1..5d33521d9c 100644 --- a/src/AddIns/DisplayBindings/XmlEditor/Test/Tree/XmlTreeViewClipboardHandlerTestFixture.cs +++ b/src/AddIns/DisplayBindings/XmlEditor/Test/Tree/XmlTreeViewClipboardHandlerTestFixture.cs @@ -44,7 +44,7 @@ namespace XmlEditor.Tests.Tree clipboardHandler = view as IClipboardHandler; xmlView.XmlEditor.Text = "

"; - view.SwitchedTo(); + ((IViewContent)view).OnSwitchedTo(); htmlTreeNode = treeView.Nodes[0] as XmlElementTreeNode; htmlTreeNode.PerformInitialization(); diff --git a/src/Main/Base/Test/CSharpExpressionFinderTests.cs b/src/Main/Base/Test/CSharpExpressionFinderTests.cs index 96b6b77675..a61a5b0c54 100644 --- a/src/Main/Base/Test/CSharpExpressionFinderTests.cs +++ b/src/Main/Base/Test/CSharpExpressionFinderTests.cs @@ -139,7 +139,7 @@ class Main { [Test] public void NewException() { - FindFull(program2, "otFoundException", "NotFoundException()", ExpressionContext.TypeDerivingFrom(ParserService.DefaultProjectContentRegistry.Mscorlib.GetClass("System.Exception", 0), true)); + FindFull(program2, "otFoundException", "NotFoundException()", ExpressionContext.TypeDerivingFrom(ParserService.DefaultProjectContentRegistry.Mscorlib.SystemTypes.Exception, true)); } } }