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 System.Resources;
6
using ICSharpCode.Core;
7
using ICSharpCode.SharpDevelop;
8
using ICSharpCode.UnitTesting;
11
namespace UnitTesting.Tests.Tree
14
public class TestResultIgnoreTaskWithNoMessageTestFixture
19
public void SetUpFixture()
21
ResourceManager rm = new ResourceManager("UnitTesting.Tests.Strings", GetType().Assembly);
22
ResourceService.RegisterNeutralStrings(rm);
28
TestResult testResult = new TestResult("MyNamespace.MyTests");
29
testResult.ResultType = TestResultType.Ignored;
30
task = TestResultTask.Create(testResult, null);
34
public void TaskMessageEqualsIsTakenFromStringResource()
36
Assert.AreEqual("Test case 'MyNamespace.MyTests' was not executed.", task.Description);