Browse Source

Fixed build.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3517 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 17 years ago
parent
commit
05c09266d3
  1. 5
      src/AddIns/BackendBindings/Python/PythonBinding/Test/RunPythonCommandTestFixture.cs

5
src/AddIns/BackendBindings/Python/PythonBinding/Test/RunPythonCommandTestFixture.cs

@ -53,7 +53,7 @@ namespace PythonBinding.Tests @@ -53,7 +53,7 @@ namespace PythonBinding.Tests
// Create the message view category.
messageViewCategory = new MessageViewCategory("Python");
messageViewCategory.Cleared += MessageViewCategoryCleared;
messageViewCategory.TextSet += MessageViewCategoryCleared;
// Run the command.
RunPythonCommand command = new RunPythonCommand(workbench, options, processRunner, messageViewCategory, padDescriptor);
@ -118,8 +118,9 @@ namespace PythonBinding.Tests @@ -118,8 +118,9 @@ namespace PythonBinding.Tests
Assert.IsFalse(condition.IsValid(null, null));
}
void MessageViewCategoryCleared(object sender, EventArgs e)
void MessageViewCategoryCleared(object sender, TextEventArgs e)
{
if (e.Text == "")
messageViewCategoryCleared = true;
}
}

Loading…
Cancel
Save