// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Text; using System.IO; using System.Xml; using System.Diagnostics; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using NUnit.Framework; using ICSharpCode.WpfDesign.Designer; using ICSharpCode.WpfDesign.Designer.Xaml; using ICSharpCode.WpfDesign.Designer.Services; namespace ICSharpCode.WpfDesign.Tests.Designer { [TestFixture] public class ModelTests : ModelTestHelper { [Test] public void SetButtonWidth() { DesignItem button = CreateCanvasContext(""); button.Properties["Width"].SetValue(100.0); AssertCanvasDesignerOutput("", button.Context); AssertLog(""); } [Test] public void UndoRedoTest() { DesignItem button = CreateCanvasContext("