Files
mono/mcs/class/System.ServiceModel/Test/FeatureBased/Features.Serialization/MessageContractTest.cs
T
Atsushi Eno 32cf28affb 2010-04-19 Atsushi Enomoto <[email protected]>
* AsyncPatternTester.cs, MessageContractTest.cs, AsyncCallTest.cs:
	  enable working tests.


svn path=/trunk/mcs/; revision=155694
2010-04-19 07:29:04 +00:00

26 lines
780 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Proxy.MonoTests.Features.Client;
using NUnit.Framework;
namespace MonoTests.Features.Serialization
{
[TestFixture]
public class MessageContractTest : TestFixtureBase<MessageContractTesterContractClient, MonoTests.Features.Contracts.MessageContractTester, MonoTests.Features.Contracts.IMessageContractTesterContract>
{
[Test]
[Ignore ("fails under .NET; I never bothered to fix the test")]
public void TestMessageContract ()
{
TestMessage msg = new TestMessage ();
msg.Date = new DateTime (2014, 1, 1);
msg.FormatString = "yyyy-MM-dd";
TestMessage r = ((IMessageContractTesterContract) Client).FormatDate (msg);
Assert.AreEqual ("2014-01-01", r.FormattedDate, "#1");
}
}
}