From 633ace62b1f71c03cb79545cb5b5b9c67424f0dc Mon Sep 17 00:00:00 2001 From: Matt Ward Date: Sun, 5 Nov 2006 12:51:50 +0000 Subject: [PATCH] Fixed compilation errors and test failures in WixBinding.Tests after the DropDownEditor was moved to the SharpDevelop widgets project. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2025 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../{DropDownEditor.cs => WixDropDownEditor.cs} | 0 .../BackendBindings/WixBinding/Project/WixBinding.csproj | 2 +- .../PropertyGrid/DropDownPropertyDescriptorTestFixture.cs | 3 ++- .../Test/PropertyGrid/DropDownTypeEditorTestFixture.cs | 5 +++-- .../Test/Utils/MockWindowsFormsEditorService.cs | 1 + .../WixBinding/Test/WixBinding.Tests.csproj | 8 ++++++++ src/AddIns/BackendBindings/WixBinding/WixBinding.sln | 8 +++++++- 7 files changed, 22 insertions(+), 5 deletions(-) rename src/AddIns/BackendBindings/WixBinding/Project/Src/PropertyGrid/{DropDownEditor.cs => WixDropDownEditor.cs} (100%) diff --git a/src/AddIns/BackendBindings/WixBinding/Project/Src/PropertyGrid/DropDownEditor.cs b/src/AddIns/BackendBindings/WixBinding/Project/Src/PropertyGrid/WixDropDownEditor.cs similarity index 100% rename from src/AddIns/BackendBindings/WixBinding/Project/Src/PropertyGrid/DropDownEditor.cs rename to src/AddIns/BackendBindings/WixBinding/Project/Src/PropertyGrid/WixDropDownEditor.cs diff --git a/src/AddIns/BackendBindings/WixBinding/Project/WixBinding.csproj b/src/AddIns/BackendBindings/WixBinding/Project/WixBinding.csproj index 6c4471a81d..ebf9167a25 100644 --- a/src/AddIns/BackendBindings/WixBinding/Project/WixBinding.csproj +++ b/src/AddIns/BackendBindings/WixBinding/Project/WixBinding.csproj @@ -141,7 +141,7 @@ - + diff --git a/src/AddIns/BackendBindings/WixBinding/Test/PropertyGrid/DropDownPropertyDescriptorTestFixture.cs b/src/AddIns/BackendBindings/WixBinding/Test/PropertyGrid/DropDownPropertyDescriptorTestFixture.cs index 0d2620d8fc..99adfde107 100644 --- a/src/AddIns/BackendBindings/WixBinding/Test/PropertyGrid/DropDownPropertyDescriptorTestFixture.cs +++ b/src/AddIns/BackendBindings/WixBinding/Test/PropertyGrid/DropDownPropertyDescriptorTestFixture.cs @@ -5,6 +5,7 @@ // $Revision$ // +using ICSharpCode.SharpDevelop.Widgets.DesignTimeSupport; using ICSharpCode.WixBinding; using NUnit.Framework; using System; @@ -42,7 +43,7 @@ namespace WixBinding.Tests.PropertyGrid [Test] public void EditorAttributeTypeName() { - Assert.AreEqual(typeof(DropDownEditor).AssemblyQualifiedName, editorAttribute.EditorTypeName); + Assert.AreEqual(typeof(WixDropDownEditor).AssemblyQualifiedName, editorAttribute.EditorTypeName); } } } diff --git a/src/AddIns/BackendBindings/WixBinding/Test/PropertyGrid/DropDownTypeEditorTestFixture.cs b/src/AddIns/BackendBindings/WixBinding/Test/PropertyGrid/DropDownTypeEditorTestFixture.cs index 168a4df88d..616fa531f1 100644 --- a/src/AddIns/BackendBindings/WixBinding/Test/PropertyGrid/DropDownTypeEditorTestFixture.cs +++ b/src/AddIns/BackendBindings/WixBinding/Test/PropertyGrid/DropDownTypeEditorTestFixture.cs @@ -6,6 +6,7 @@ // using ICSharpCode.WixBinding; +using ICSharpCode.SharpDevelop.Widgets.DesignTimeSupport; using NUnit.Framework; using System; using System.Drawing.Design; @@ -18,7 +19,7 @@ namespace WixBinding.Tests.PropertyGrid [TestFixture] public class DropDownTypeEditorTestFixture { - DropDownEditor editor; + WixDropDownEditor editor; object newValue; string expectedNewValue; MockServiceProvider mockServiceProvider; @@ -28,7 +29,7 @@ namespace WixBinding.Tests.PropertyGrid [TestFixtureSetUp] public void SetUpFixture() { - editor = new DropDownEditor(); + editor = new WixDropDownEditor(); // Edit the value. mockServiceProvider = new MockServiceProvider(); diff --git a/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockWindowsFormsEditorService.cs b/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockWindowsFormsEditorService.cs index 4ef7637a30..51cb31d28a 100644 --- a/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockWindowsFormsEditorService.cs +++ b/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockWindowsFormsEditorService.cs @@ -5,6 +5,7 @@ // $Revision$ // +using ICSharpCode.SharpDevelop.Widgets.DesignTimeSupport; using ICSharpCode.WixBinding; using System; using System.Windows.Forms; diff --git a/src/AddIns/BackendBindings/WixBinding/Test/WixBinding.Tests.csproj b/src/AddIns/BackendBindings/WixBinding/Test/WixBinding.Tests.csproj index 111b8c0fc5..4f1836c19c 100644 --- a/src/AddIns/BackendBindings/WixBinding/Test/WixBinding.Tests.csproj +++ b/src/AddIns/BackendBindings/WixBinding/Test/WixBinding.Tests.csproj @@ -289,6 +289,14 @@ + + {8035765F-D51F-4A0C-A746-2FD100E19419} + ICSharpCode.SharpDevelop.Widgets + + + ICSharpCode.SharpDevelop.Widgets.dll + Always + \ No newline at end of file diff --git a/src/AddIns/BackendBindings/WixBinding/WixBinding.sln b/src/AddIns/BackendBindings/WixBinding/WixBinding.sln index 03db17373d..24d14c0ddb 100644 --- a/src/AddIns/BackendBindings/WixBinding/WixBinding.sln +++ b/src/AddIns/BackendBindings/WixBinding/WixBinding.sln @@ -1,5 +1,5 @@ Microsoft Visual Studio Solution File, Format Version 9.00 -# SharpDevelop 2.0.0.1697 +# SharpDevelop 2.1.0.1856 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WixBinding", "Project\WixBinding.csproj", "{e1b288a2-08ee-4318-8bbb-8ab72c69e33e}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WixBinding.Tests", "Test\WixBinding.Tests.csproj", "{388E7B64-0393-4EB4-A3E3-5C474F141853}" @@ -20,6 +20,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.SharpDevelop.Do EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XmlEditor", "..\..\DisplayBindings\XmlEditor\Project\XmlEditor.csproj", "{6B717BD1-CD5E-498C-A42E-9E6A4584DC48}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.SharpDevelop.Widgets", "..\..\..\Main\ICSharpCode.SharpDevelop.Widgets\Project\ICSharpCode.SharpDevelop.Widgets.csproj", "{8035765F-D51F-4A0C-A746-2FD100E19419}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -74,5 +76,9 @@ Global {924EE450-603D-49C1-A8E5-4AFAA31CE6F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {924EE450-603D-49C1-A8E5-4AFAA31CE6F3}.Release|Any CPU.Build.0 = Release|Any CPU {924EE450-603D-49C1-A8E5-4AFAA31CE6F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8035765F-D51F-4A0C-A746-2FD100E19419}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8035765F-D51F-4A0C-A746-2FD100E19419}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8035765F-D51F-4A0C-A746-2FD100E19419}.Release|Any CPU.Build.0 = Release|Any CPU + {8035765F-D51F-4A0C-A746-2FD100E19419}.Release|Any CPU.ActiveCfg = Release|Any CPU EndGlobalSection EndGlobal