From edc54d74875cd504d097deebf35b54882acc38dc Mon Sep 17 00:00:00 2001 From: jogibear9988 Date: Sat, 1 Nov 2014 00:51:03 +0100 Subject: [PATCH] A test for a Property wich could not be found on WindowClone! But we should throw a Exception that the Property is not writeable! --- .../Tests/XamlDom/SamplesTests.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SamplesTests.cs b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SamplesTests.cs index 37902a37d2..25e1d33ead 100644 --- a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SamplesTests.cs +++ b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SamplesTests.cs @@ -17,6 +17,8 @@ // DEALINGS IN THE SOFTWARE. using System; +using System.IO; +using ICSharpCode.WpfDesign.XamlDom; using NUnit.Framework; namespace ICSharpCode.WpfDesign.Tests.XamlDom @@ -380,7 +382,18 @@ bb "); } - [Test] + [Test] + public void Window1() + { + var xaml= @" +"; + + XamlParser.Parse(new StringReader(xaml)); + } + + [Test] public void CData1() { TestLoading(@"