Xamarin Public Jenkins (auto-signing) e46a49ecf1 Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
2018-01-24 17:04:36 +00:00

28 lines
814 B
C#

#if !MOBILE && !XAMMAC_4_5
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");
}
}
}
#endif