Skip to content

Commit

Permalink
fixed up the ignore tests
Browse files Browse the repository at this point in the history
  • Loading branch information
staxmanade committed Feb 24, 2010
1 parent 90cf636 commit 602e4a6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,6 @@ at StatLight.IntegrationTests.Silverlight.MSTestTests.this_should_be_a_Failing_t
}
}

if (message.MessageType == LogMessageType.TestInfrastructure)
{
if (message.DecoratorMatches(UnitTestLogDecorator.IsUnitTestMessage, v => (bool)v) &&
message.DecoratorMatches(UnitTestLogDecorator.TestRunFilter, v => v != null))
{
return true;
}
}


/*
MessageType=TestExecution
Expand Down
8 changes: 1 addition & 7 deletions src/StatLight.Client.Harness/UnitTestResultProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@
using Microsoft.Silverlight.Testing.Harness;
using StatLight.Client.Harness.ClientEventMapping;
using StatLight.Client.Harness.Events;
using StatLight.Core.Serialization;

namespace StatLight.Client.Harness
{
internal sealed class ServerHandlingLogProvider : LogProvider
{
protected override void ProcessRemainder(LogMessage message)
{
//var serializedString = message.Serialize();
//Server.PostMessage(serializedString);

//string traceMessage = TraceLogMessage(message).Serialize();
//Server.PostMessage(traceMessage);

try
{

ClientEvent clientEvent;
if (TryTranslateIntoClientEvent(message, out clientEvent))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace StatLight.Core.Tests.Reporting
{
namespace TestResultAggregatorTests
{
using Moq;
using NUnit.Framework;
using StatLight.Core.Events;
using StatLight.Core.Reporting;
Expand Down
6 changes: 5 additions & 1 deletion src/StatLight.Core/Reporting/TestResultAggregator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ public void Handle(TestExecutionMethodFailedClientEvent message)

public void Handle(TestExecutionMethodIgnoredClientEvent message)
{
//throw new NotImplementedException();
var msg = new TestCaseResult(ResultType.Ignored)
{
MethodName = message.Message,
};
_currentReport.AddResult(msg);
}

public void Handle(TraceClientEvent message)
Expand Down

0 comments on commit 602e4a6

Please sign in to comment.