1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using ICSharpCode.Reports.Core;
6
using ICSharpCode.Reports.Core.Interfaces;
9
namespace ICSharpCode.Reports.Addin.Test.Dialogs
12
public class TextEditorDialogFixture
15
public void ConstructorWithEmptyString()
17
IStringBasedEditorDialog ed = new DummyEditorDialog(String.Empty);
18
Assert.AreEqual(ed.TextValue,String.Empty,"TextValue should be empty");
22
public void ConstructorWithText ()
24
string s = "myteststring";
25
IStringBasedEditorDialog ed = new DummyEditorDialog(s);
26
Assert.AreEqual (ed.TextValue,s);
32
ReportModel m = ReportModel.Create ();