Browse Source

A test for a Property wich could not be found on WindowClone!

But we should throw a Exception that the Property is not writeable!
pull/586/head
jogibear9988 11 years ago
parent
commit
edc54d7487
  1. 15
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SamplesTests.cs

15
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SamplesTests.cs

@ -17,6 +17,8 @@ @@ -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 @@ -380,7 +382,18 @@ bb
</Window>");
}
[Test]
[Test]
public void Window1()
{
var xaml= @"<Window
xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"" IsActive=""true"">
</Window>";
XamlParser.Parse(new StringReader(xaml));
}
[Test]
public void CData1()
{
TestLoading(@"<Window

Loading…
Cancel
Save