Index: Core/Gui/test/Core.Gui.Test/Forms/ViewHost/AvalonDockViewHostTest.cs =================================================================== diff -u -rb39a21680f0e300022605504d0fe18e5bd41a969 -r919a438d2f95f8c60d77f8450f312bf516a643a4 --- Core/Gui/test/Core.Gui.Test/Forms/ViewHost/AvalonDockViewHostTest.cs (.../AvalonDockViewHostTest.cs) (revision b39a21680f0e300022605504d0fe18e5bd41a969) +++ Core/Gui/test/Core.Gui.Test/Forms/ViewHost/AvalonDockViewHostTest.cs (.../AvalonDockViewHostTest.cs) (revision 919a438d2f95f8c60d77f8450f312bf516a643a4) @@ -586,20 +586,26 @@ } [Test] - public void AddToolView_WithTitle_ViewAddedWithExpectedTitle() + [TestCase(ToolViewLocation.Left)] + [TestCase(ToolViewLocation.Right)] + [TestCase(ToolViewLocation.Bottom)] + public void AddToolView_WithAllPropertiesSet_ViewAddedWithExpectedProperties(ToolViewLocation toolViewLocation) { // Setup using (var avalonDockViewHost = new AvalonDockViewHost()) { const string title = "Random title"; + const string symbol = "Random symbol"; var testView = new TestView(); // Call - avalonDockViewHost.AddToolView(testView, ToolViewLocation.Left, title, string.Empty); + avalonDockViewHost.AddToolView(testView, toolViewLocation, title, symbol); // Assert - Assert.IsTrue(AvalonDockViewHostTestHelper.IsTitleSet(avalonDockViewHost, testView, title)); + CustomLayoutAnchorable layoutAnchorable = GetLayoutAnchorable(avalonDockViewHost, testView, toolViewLocation); + Assert.AreEqual(title, layoutAnchorable.Title); + Assert.AreEqual(symbol, layoutAnchorable.Symbol); } }