Imported Upstream version 4.3.2.467

Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
Xamarin Public Jenkins
2016-02-22 11:00:01 -05:00
parent f302175246
commit f3e3aab35a
4097 changed files with 122406 additions and 82300 deletions

View File

@@ -1,125 +0,0 @@
2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : add test for bug #615800.
2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : add test for bug #615801.
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : don't use ToUniversalTime()
which makes test results timezone dependent.
2010-03-10 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : oops, the test was careless.
Use fixed date.
2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : add test for bug #586169.
* JsonWriterTest.cs : add standalone write case for "\/".
2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs :
enable TypeIsNotPartsOfKnownTypes(), and add more related tests.
2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : make some tests narrow down
possible cause of errors to detect expected errors more precisely.
2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : null-string case is working.
2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : invalidate previous non-working
tests.
2010-01-25 Sebastien Pouliot <sebastien@ximian.com>
* DataContractJsonSerializerTest.cs: Add non-working test cases
for null-string, known types and handling floating point special
values
2009-12-11 Chris Toshok <toshok@ximian.com>
* DataContractJsonSerializerTest.cs: add a test case for
non-public properties.
2009-12-11 Atsushi Enomoto <atsushi@ximian.com>
* JsonReaderTest.cs : another number parse case.
2009-11-20 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : added ignored test case that
verifies 2.1 behavior (with another case that justifies removal
of the previous hack).
2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : added test for
alwaysEmitTypeInformation argument.
2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : fix non-datacontract
serialization test. It depended on IPAddress field internals
(runtime serialization incompatibility).
2009-03-13 Andreia Gaita <avidigal@novell.com>
* JsonReaderTest.cs: test for skip and depth (if depth fails, skip is affected)
2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : fixed some tests to match
.NET RTM behavior. Added read-only collection case, (but [Ignore]d).
2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : added test for contract-less
serialization.
2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : added couple of DBNull tests.
2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : added deserialization tests
for typed object with "__type".
2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
* JsonReaderTest.cs : test GetAttribute() for "__type".
2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
* JsonReaderTest.cs : added tests for "__type" attributes (some of
them are not working yet).
2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
* JsonReaderTest.cs : test "type" attribute in several nodes.
2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : some more deserialization tests.
2008-01-22 Atsushi Enomoto <atsushi@ximian.com>
* JsonWriterTest.cs : added test for writing __type attribute.
* DataContractJsonSerializerTest.cs : added more random-ish tests.
2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs :
moved from Test/System.Runtime.Serialization and fixed some.
* JsonReaderTest.cs, JsonWriterTest.cs : moved from Test/System.Xml.

View File

@@ -59,11 +59,9 @@ namespace MonoTests.System.ServiceModel.Description
Assert.AreEqual (WebMessageBodyStyle.Bare, b.DefaultBodyStyle, "#1");
Assert.AreEqual (WebMessageFormat.Xml, b.DefaultOutgoingRequestFormat, "#2");
Assert.AreEqual (WebMessageFormat.Xml, b.DefaultOutgoingResponseFormat, "#3");
#if NET_4_0
Assert.IsFalse (b.AutomaticFormatSelectionEnabled, "#11");
Assert.IsFalse (b.FaultExceptionEnabled, "#12");
Assert.IsFalse (b.HelpEnabled, "#13");
#endif
}
[Test]

View File

@@ -1,4 +1,4 @@
#if NET_4_0 && !MOBILE
#if !MOBILE
using System;
using System.IO;
using System.Runtime.Serialization;

View File

@@ -72,7 +72,7 @@ namespace MonoTests.System.ServiceModel.Web
ch.Close ();
}
#if NET_4_0 && !MOBILE
#if !MOBILE
[Test]
public void CreateAtom10Response ()
{
@@ -138,7 +138,7 @@ namespace MonoTests.System.ServiceModel.Web
string TestJson3 (string s1, string s2);
}
#if NET_4_0 && !MOBILE
#if !MOBILE
public class HogeService : IHogeService
{
static XmlWriterSettings settings = new XmlWriterSettings () { OmitXmlDeclaration = true };

View File

@@ -32,5 +32,15 @@ namespace MonoTests.System.ServiceModel
Assert.AreEqual (typeof (WebMessageEncodingBindingElement), bc [0].GetType (), "#2");
Assert.AreEqual (typeof (HttpTransportBindingElement), bc [1].GetType (), "#3");
}
[Test]
public void DefaultSchemeBasedOnSecurityMode ()
{
WebHttpBinding b = new WebHttpBinding(WebHttpSecurityMode.TransportCredentialOnly);
Assert.AreEqual("http", b.Scheme, "#1");
b = new WebHttpBinding(WebHttpSecurityMode.Transport);
Assert.AreEqual("https", b.Scheme, "#2");
}
}
}