Index: Core/Common/test/Core.Common.Gui.Test/Core.Common.Gui.Test.csproj
===================================================================
diff -u -r0ae715fe2b16306e4147fed9749bae67ce186168 -rd212065881d696420fd33c789c917501e09c7fc0
--- Core/Common/test/Core.Common.Gui.Test/Core.Common.Gui.Test.csproj (.../Core.Common.Gui.Test.csproj) (revision 0ae715fe2b16306e4147fed9749bae67ce186168)
+++ Core/Common/test/Core.Common.Gui.Test/Core.Common.Gui.Test.csproj (.../Core.Common.Gui.Test.csproj) (revision d212065881d696420fd33c789c917501e09c7fc0)
@@ -119,6 +119,7 @@
+
UserControl
Index: Core/Common/test/Core.Common.Gui.Test/Forms/ViewManager/AvalonDockDockingManagerTest.cs
===================================================================
diff -u
--- Core/Common/test/Core.Common.Gui.Test/Forms/ViewManager/AvalonDockDockingManagerTest.cs (revision 0)
+++ Core/Common/test/Core.Common.Gui.Test/Forms/ViewManager/AvalonDockDockingManagerTest.cs (revision d212065881d696420fd33c789c917501e09c7fc0)
@@ -0,0 +1,64 @@
+using Core.Common.Gui.Forms.ViewManager;
+using Core.Common.Utils.Reflection;
+
+using NUnit.Framework;
+
+using Rhino.Mocks;
+
+using Xceed.Wpf.AvalonDock;
+using Xceed.Wpf.AvalonDock.Layout;
+
+namespace Core.Common.Gui.Test.Forms.ViewManager
+{
+ [TestFixture]
+ public class AvalonDockDockingManagerTest
+ {
+ [Test]
+ [RequiresSTA]
+ public void ViewTextChangedResultsInTabNameChanged()
+ {
+ var mocks = new MockRepository();
+ var dockManager = mocks.Stub();
+ var view = new TestView();
+
+ var dock = new AvalonDockDockingManager(dockManager, new[]
+ {
+ ViewLocation.Document
+ });
+ dock.Add(view, ViewLocation.Document);
+
+ var layout = TypeUtils.CallPrivateMethod(dock, "GetLayoutContent", view);
+
+ Assert.AreEqual("", layout.Title);
+ view.Text = @"Test";
+
+ Assert.AreEqual("Test", layout.Title);
+ }
+
+ [Test]
+ [RequiresSTA]
+ public void SwitchingTabCausesOldTabsActiveControlToLoseFocusTools9109()
+ {
+ var view = new TestView();
+ var view2 = new TestView();
+
+ // create an avalon dock/tab with two views
+ var dock = new AvalonDockDockingManager(new DockingManager(), new[]
+ {
+ ViewLocation.Document
+ });
+ dock.Add(view, ViewLocation.Document);
+ dock.Add(view2, ViewLocation.Document);
+ dock.ActivateView(view);
+
+ // set a textbox active
+ view.ActiveControl = view.Controls[0];
+
+ // switch to other tab
+ dock.ActivateView(view2);
+
+ // assert the textbox is no longer active
+ Assert.IsNull(view.ActiveControl);
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/App.config'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/Core.Common.Test.csproj'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/Core/AssemblyInfoTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/Gui/Forms/AvalonDockDockingManagerTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/Gui/Forms/PropertyGridView/PropertyResolverTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Core/Common/test/Core.Common.Test/Gui/Resources/image1.png
===================================================================
diff -u -r6633a5deea8082d57dec6185caf4ff428f034672 -rd212065881d696420fd33c789c917501e09c7fc0
Binary files differ
Index: Core/Common/test/Core.Common.Test/Gui/Resources/image2.png
===================================================================
diff -u -r6633a5deea8082d57dec6185caf4ff428f034672 -rd212065881d696420fd33c789c917501e09c7fc0
Binary files differ
Index: Core/Common/test/Core.Common.Test/Gui/Resources/image3.png
===================================================================
diff -u -r6633a5deea8082d57dec6185caf4ff428f034672 -rd212065881d696420fd33c789c917501e09c7fc0
Binary files differ
Index: Core/Common/test/Core.Common.Test/Gui/Resources/image4.png
===================================================================
diff -u -r6633a5deea8082d57dec6185caf4ff428f034672 -rd212065881d696420fd33c789c917501e09c7fc0
Binary files differ
Index: Core/Common/test/Core.Common.Test/Gui/Resources/image5.png
===================================================================
diff -u -r6633a5deea8082d57dec6185caf4ff428f034672 -rd212065881d696420fd33c789c917501e09c7fc0
Binary files differ
Index: Core/Common/test/Core.Common.Test/Gui/Resources/image6.png
===================================================================
diff -u -r6633a5deea8082d57dec6185caf4ff428f034672 -rd212065881d696420fd33c789c917501e09c7fc0
Binary files differ
Index: Core/Common/test/Core.Common.Test/Gui/Resources/image7.png
===================================================================
diff -u -r6633a5deea8082d57dec6185caf4ff428f034672 -rd212065881d696420fd33c789c917501e09c7fc0
Binary files differ
Index: Core/Common/test/Core.Common.Test/Gui/Resources/image8.png
===================================================================
diff -u -r6633a5deea8082d57dec6185caf4ff428f034672 -rd212065881d696420fd33c789c917501e09c7fc0
Binary files differ
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/Properties/AssemblyInfo.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/Properties/Resources.Designer.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/Properties/Resources.resx'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/TestObjects/TestDockingManager.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/TestObjects/TestSettings.Designer.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/TestObjects/TestSettings.settings'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/TestObjects/TestView.Designer.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/TestObjects/TestView.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/TestObjects/TestView.resx'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag d212065881d696420fd33c789c917501e09c7fc0 refers to a dead (removed) revision in file `Core/Common/test/Core.Common.Test/packages.config'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Core/Plugins/test/Core.Plugins.DotSpatial.Test/Core.Plugins.DotSpatial.Test.csproj
===================================================================
diff -u -rf2859c13f845d1cb1f654022aad4f48cdb5d908b -rd212065881d696420fd33c789c917501e09c7fc0
--- Core/Plugins/test/Core.Plugins.DotSpatial.Test/Core.Plugins.DotSpatial.Test.csproj (.../Core.Plugins.DotSpatial.Test.csproj) (revision f2859c13f845d1cb1f654022aad4f48cdb5d908b)
+++ Core/Plugins/test/Core.Plugins.DotSpatial.Test/Core.Plugins.DotSpatial.Test.csproj (.../Core.Plugins.DotSpatial.Test.csproj) (revision d212065881d696420fd33c789c917501e09c7fc0)
@@ -58,6 +58,7 @@
+
..\..\..\..\packages\Fluent.Ribbon.3.4.0\lib\net40\System.Windows.Interactivity.dll
@@ -77,6 +78,12 @@
Component
+
+ UserControl
+
+
+ TestView.cs
+
@@ -105,10 +112,6 @@
{D749EE4C-CE50-4C17-BF01-9A953028C126}
Core.Common.TestUtil
-
- {E0990383-FB2E-47D1-99CD-9B9FA2929E5B}
- Core.Common.Test
-
{AA47E858-A2A7-470E-8B2D-C76AE8ED9CCD}
Core.Components.DotSpatial
@@ -125,7 +128,11 @@
-
+
+
+ TestView.cs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
Index: Ringtoets.sln
===================================================================
diff -u -ra65bc56647a666fad39e7fe48fbce3a5c040dfee -rd212065881d696420fd33c789c917501e09c7fc0
--- Ringtoets.sln (.../Ringtoets.sln) (revision a65bc56647a666fad39e7fe48fbce3a5c040dfee)
+++ Ringtoets.sln (.../Ringtoets.sln) (revision d212065881d696420fd33c789c917501e09c7fc0)
@@ -104,8 +104,6 @@
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ringtoets.Piping.Service.Test", "Ringtoets\Piping\test\Ringtoets.Piping.Service.Test\Ringtoets.Piping.Service.Test.csproj", "{D783543B-46A1-4848-A812-AF5A5259ED7E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core.Common.Test", "Core\Common\test\Core.Common.Test\Core.Common.Test.csproj", "{E0990383-FB2E-47D1-99CD-9B9FA2929E5B}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core.Common.Integration.Test", "Core\Common\test\Core.Common.Integration.Test\Core.Common.Integration.Test.csproj", "{A6A434E0-AE5A-4D5B-97D7-532B00FBDFE9}"
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Application.Ringtoets.Setup", "Application\Ringtoets\src\Application.Ringtoets.Setup\Application.Ringtoets.Setup.wixproj", "{3CCB05DB-C7B3-4EF7-B41D-22B6D2A3774E}"
@@ -460,14 +458,6 @@
{D783543B-46A1-4848-A812-AF5A5259ED7E}.Release|x86.Build.0 = Release|x86
{D783543B-46A1-4848-A812-AF5A5259ED7E}.ReleaseForCodeCoverage|x86.ActiveCfg = ReleaseForCodeCoverage|x86
{D783543B-46A1-4848-A812-AF5A5259ED7E}.ReleaseForCodeCoverage|x86.Build.0 = ReleaseForCodeCoverage|x86
- {E0990383-FB2E-47D1-99CD-9B9FA2929E5B}.CreateInstaller|x86.ActiveCfg = Release|x86
- {E0990383-FB2E-47D1-99CD-9B9FA2929E5B}.CreateInstallerWithDemoProject|x86.ActiveCfg = Release|x86
- {E0990383-FB2E-47D1-99CD-9B9FA2929E5B}.Debug|x86.ActiveCfg = Debug|x86
- {E0990383-FB2E-47D1-99CD-9B9FA2929E5B}.Debug|x86.Build.0 = Debug|x86
- {E0990383-FB2E-47D1-99CD-9B9FA2929E5B}.Release|x86.ActiveCfg = Release|x86
- {E0990383-FB2E-47D1-99CD-9B9FA2929E5B}.Release|x86.Build.0 = Release|x86
- {E0990383-FB2E-47D1-99CD-9B9FA2929E5B}.ReleaseForCodeCoverage|x86.ActiveCfg = ReleaseForCodeCoverage|x86
- {E0990383-FB2E-47D1-99CD-9B9FA2929E5B}.ReleaseForCodeCoverage|x86.Build.0 = ReleaseForCodeCoverage|x86
{A6A434E0-AE5A-4D5B-97D7-532B00FBDFE9}.CreateInstaller|x86.ActiveCfg = Release|x86
{A6A434E0-AE5A-4D5B-97D7-532B00FBDFE9}.CreateInstallerWithDemoProject|x86.ActiveCfg = Release|x86
{A6A434E0-AE5A-4D5B-97D7-532B00FBDFE9}.Debug|x86.ActiveCfg = Debug|x86
@@ -828,28 +818,27 @@
{041EDC04-3A1E-4FBA-BEB7-F391571C609F} = {05D133D6-D7D8-4872-9B53-2753DD3F8BF9}
{F8FFD6DD-19DA-47CE-A0BD-53F4E7D8BB86} = {05D133D6-D7D8-4872-9B53-2753DD3F8BF9}
{11FE8C37-49EB-4FF2-8583-DABC9816FFC8} = {05D133D6-D7D8-4872-9B53-2753DD3F8BF9}
- {8261CCE1-98D7-465B-BC94-4ED239DE7F2E} = {9E35F3EA-D3C3-4D80-8399-689C49B68324}
{0D9858E1-CF2D-4DE5-AC0E-64401900D531} = {9E35F3EA-D3C3-4D80-8399-689C49B68324}
+ {8261CCE1-98D7-465B-BC94-4ED239DE7F2E} = {9E35F3EA-D3C3-4D80-8399-689C49B68324}
{4B4F0984-5730-4E28-93E7-DDE0F29BA550} = {FE36E7E0-D5F7-48E3-9730-D05443351EAD}
{209AC67F-DCFA-4355-B45A-9D9A2E4593D2} = {FE36E7E0-D5F7-48E3-9730-D05443351EAD}
{39EB5D07-C076-484C-9621-B34C4E5BF64C} = {85F88AB0-CA03-48D3-B5A0-DF0848C24AB0}
{EE8D5A6C-4871-452A-A69B-F04E374D715E} = {85F88AB0-CA03-48D3-B5A0-DF0848C24AB0}
- {F49BD8B2-332A-4C91-A196-8CCE0A2C7D98} = {8261CCE1-98D7-465B-BC94-4ED239DE7F2E}
- {30E4C2AE-719E-4D70-9FA9-668A9767FBFA} = {8261CCE1-98D7-465B-BC94-4ED239DE7F2E}
- {3BBFD65B-B277-4E50-AE6D-BD24C3434609} = {8261CCE1-98D7-465B-BC94-4ED239DE7F2E}
- {9A2D67E6-26AC-4D17-B11A-2B4372F2F572} = {8261CCE1-98D7-465B-BC94-4ED239DE7F2E}
- {1D27F91F-4E62-4EAF-A0A8-A32708B9A9B1} = {8261CCE1-98D7-465B-BC94-4ED239DE7F2E}
+ {C90B77DA-E421-43CC-B82E-529651BC21AC} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
{7F937E31-02CA-41D9-B7D4-1079CF452C72} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
{D749EE4C-CE50-4C17-BF01-9A953028C126} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
- {E0990383-FB2E-47D1-99CD-9B9FA2929E5B} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
{A6A434E0-AE5A-4D5B-97D7-532B00FBDFE9} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
{FAFDB463-9612-41F4-B3DD-FF9C6E7023BA} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
{D5EC1DF2-03C9-467B-B6AF-BE5AC83417F8} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
{26214BD0-DAFB-4CFC-8EB2-80C5D53C859E} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
{A8CE1456-1880-4FC8-84B3-D618EA88F384} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
{FAF691DE-EAF5-44E0-A865-5A03FB395ED1} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
{0EDC6D7D-E9CD-408A-9EA9-3E7D426809C8} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
- {C90B77DA-E421-43CC-B82E-529651BC21AC} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
+ {F49BD8B2-332A-4C91-A196-8CCE0A2C7D98} = {8261CCE1-98D7-465B-BC94-4ED239DE7F2E}
+ {30E4C2AE-719E-4D70-9FA9-668A9767FBFA} = {8261CCE1-98D7-465B-BC94-4ED239DE7F2E}
+ {3BBFD65B-B277-4E50-AE6D-BD24C3434609} = {8261CCE1-98D7-465B-BC94-4ED239DE7F2E}
+ {9A2D67E6-26AC-4D17-B11A-2B4372F2F572} = {8261CCE1-98D7-465B-BC94-4ED239DE7F2E}
+ {1D27F91F-4E62-4EAF-A0A8-A32708B9A9B1} = {8261CCE1-98D7-465B-BC94-4ED239DE7F2E}
{93E73FAB-FAE8-49C6-9ABB-27D24DF761F6} = {4B4F0984-5730-4E28-93E7-DDE0F29BA550}
{ED20DBA9-D577-423F-A68D-A0A8130FB10B} = {4B4F0984-5730-4E28-93E7-DDE0F29BA550}
{4163B996-3455-4324-A38A-9F2F0E6FCB52} = {4B4F0984-5730-4E28-93E7-DDE0F29BA550}