Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3599 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
3 changed files with 39 additions and 3 deletions
@ -0,0 +1,33 @@
@@ -0,0 +1,33 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using System.Windows.Forms; |
||||
using System.Xml; |
||||
|
||||
using ICSharpCode.Core; |
||||
using ICSharpCode.XmlEditor; |
||||
using NUnit.Framework; |
||||
using XmlEditor.Tests.Utils; |
||||
|
||||
namespace XmlEditor.Tests.Tree |
||||
{ |
||||
/// <summary>
|
||||
/// Fixes a null exception that could occur if the TextBoxTextChanged event is fired before the
|
||||
/// XmlTreeEditor is created.
|
||||
/// </summary>
|
||||
[TestFixture] |
||||
public class TextBoxTextChangedBeforeEditorLoadedTestFixture |
||||
{ |
||||
[Test] |
||||
public void FireTextBoxTextChangedEventBeforeXmlTreeEditorCreated() |
||||
{ |
||||
DerivedXmlTreeViewContainerControl treeViewContainer = new DerivedXmlTreeViewContainerControl(); |
||||
treeViewContainer.CallTextBoxTextChanged(); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue