Imported Upstream version 4.6.0.125

Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-03 10:59:49 +00:00
parent a569aebcfd
commit e79aa3c0ed
17047 changed files with 3137615 additions and 392334 deletions

View File

@@ -1,26 +0,0 @@
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
* TypeElement.cs : disable a test that causes NRE on .NET.
2006-01-13 Raja R Harinath <rharinath@novell.com>
* TypeElementTest.cs (Ctors1): Don't expect a null-reference
exception.
2003-05-13 Martin Willemoes Hansen <mwh@sysrq.dk>
* XmlFormatExtensionAttributeTest.cs: Inherits from Assertion and
Assertion. prefixes removed.
2003-02-22 Dave Bettin <dave@opendotnet.com>
* Moved over to Nunit2 Tests
* Removed AllTests.cs
2002-08-09 Tim Coleman <tim@timcoleman.com>
* AllTests.cs:
* ChangeLog:
* XmlFormatExtensionAttributeTest.cs:
New files added for test suite.

View File

@@ -1,140 +0,0 @@
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
2008-12-09 Atsushi Enomoto <atsushi@ximian.com>
* 443095.wsdl, WebServicesInteroperabilityTest.cs : added
new test for R2305 checker.
2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
* WebServicesInteroperabilityTest.cs : new test. wsdl with <import>
should not result in an error.
* check-import.wsdl, check-import2.wsdl : test helper files.
2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionTest.cs : check RetrievalUrl before/after Read().
Sadly it does not provide the actual URL...
2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
* test3.wsdl: added missing file (though the test is ignored).
2008-06-10 Vladimir Krasnov <vladimirk@mainsoft.com>
* ServiceDescriptionReflectorTest.cs: added tests for bug fixes:
#345448, #345449, #360241
2008-03-26 Lluis Sanchez Gual <lluis@novell.com>
* ServiceDescriptionReflectorTest.cs: Added another test for bug
#345448.
2008-02-22 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionReflectorTest.cs : mark Bug345448() NotWorking.
2008-01-08 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionReflectorTest.cs : added test for empty SOAP
action.
2007-10-10 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionReflectorTest.cs : added test for bug #332150.
2007-05-11 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionImporterTest.cs : added ignored test for #81457.
2007-05-11 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionReflectorTest.cs : added test for 78953 (not
working, hard to fix) and 79807 (already fixed).
2007-02-22 Raja R Harinath <rharinath@novell.com>
Fix compile error
* ServiceDescriptionReflectorTest.cs (NullableContainer): Hide in
1.1 profile.
2007-02-19 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionReflectorTest.cs : added test for methods with
nullable return type.
2007-01-19 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionImporterTest.cs : new test.
* test2.wsdl : new test support file.
2006-12-15 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionFormatExtensionCollectionTest.cs :
new test.
2006-11-15 Atsushi Enomoto <atsushi@ximian.com>
* WebReferenceTest.cs : added new test (so minor).
2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
* WebReferenceOptionsTest.cs :
Read() actually causes invalid operation.
2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
* WebReferenceOptionsTest.cs :
added test for Read(). Fixed namespace URI.
2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
* WebReferenceOptionsTest.cs : new test.
2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionTest.cs : added test for invalid Read() inputs.
2006-09-07 Ankit Jain <jankit@novell.com>
* ServiceDescriptionTest.cs (Ctor): New.
2006-09-05 Ankit Jain <jankit@novell.com>
* ServiceDescriptionTest.cs (Namespaces): New.
2006-05-03 Ankit Jain <jankit@novell.com>
* ServiceDescriptionTest.cs (Extensions) New test.
(CheckExtensions):
(CheckXmlElement): New. Helper methods.
* test.wsdl: Test wsdl.
2006-04-27 Ankit Jain <jankit@novell.com>
* ServiceDescriptionTest.cs (ExtensibleAttributes): New test.
2006-02-04 Gert Driesen <drieseng@users.sourceforge.net>
* ServiceDescriptionReflectorTest.cs: Use only one include as otherwise
the order of elements is not consistent on MS.NET.
2006-02-04 Gert Driesen <drieseng@users.sourceforge.net>
* ServiceDescriptionReflectorTest.cs: New test, currently marked
NotWorking.
2005-10-05 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionTest.cs : new file (for part of bug #76311).
2003-09-14 Lluis Sanchez Gual <lluis@ximian.com>
* BindingCollectionTest.cs ChangeLog DocumentableItemTest.cs
OperationCollectionTest.cs OperationMessageCollectionTest.cs
OperationMessageTest.cs PortTypeCollectionTest.cs PortTypeTest.cs
ServiceCollectionTest.cs ServiceDescriptionCollectionTest.cs
SoapBodyBindingTest.cs SoapOperationBindingTest.cs TypesTest.cs
New test files by Erik LeBel.

View File

@@ -1,17 +0,0 @@
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
2003-05-13 Martin Willemoes Hansen <mwh@sysrq.dk>
* ContractReferenceTest.cs: Inherits from Assertion and Assertion.
prefixes removed.
2003-02-22 Dave Bettin <dave@opendotnet.com>
* Moved over to Nunit2 Tests
* Removed AllTests.cs
2002-08-09 Tim Coleman <tim@timcoleman.com>
* AllTests.cs:
* ChangeLog:
* ContractReferenceTest.cs:
New files added for test suite.

View File

@@ -0,0 +1,45 @@
//
// MonoTests.System.Web.Services.Discovery.DiscoveryClientProtocolTest.cs
//
// Author:
// Marcos Henrich (marcos.henrich@xamarin.com)
//
// Copyright (C) Xamarin Inc. 2016
//
using NUnit.Framework;
using System;
using System.IO;
using System.Web.Services.Discovery;
namespace MonoTests.System.Web.Services.Discovery {
[TestFixture]
public class DiscoveryClientProtocolTest {
[Test] // Covers #36116
[Category ("InetAccess")]
public void ReadWriteTest ()
{
string directory = Path.Combine (Path.GetTempPath (), Path.GetRandomFileName ());
Directory.CreateDirectory (directory);
try {
string url = "http://www.w3schools.com/WebServices/TempConvert.asmx";
var p1 = new DiscoveryClientProtocol ();
p1.DiscoverAny (url);
p1.ResolveAll ();
p1.WriteAll (directory, "Reference.map");
var p2 = new DiscoveryClientProtocol ();
var results = p2.ReadAll (Path.Combine (directory, "Reference.map"));
Assert.AreEqual (2, results.Count);
Assert.AreEqual ("TempConvert.disco", results [0].Filename);
Assert.AreEqual ("TempConvert.wsdl", results [1].Filename);
} finally {
Directory.Delete (directory, true);
}
}
}
}

View File

@@ -1,46 +0,0 @@
2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
* SoapHttpClientProtocolTest.cs: actually those tests fails on mono
on Windows, so mark them as Ignore (not only in 2.0).
2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
* SoapHttpClientProtocolTest.cs: disabled connection-oriented tests
that do not work fine on .NET 2.0.
2007-06-16 Gert Driesen <drieseng@users.sourceforge.net>
* LogicalMethodInfoTest.cs: Fixed namespace.
* WebClientProtocolTest.cs: Fixed namespace.
* SoapHttpClientProtocolTest.cs: Fixed namespace. Added test for
bug #81886.
* SoapServerTypeTest.cs: Fixed namespace.
* SocketResponder.cs: Sync with copy in System assembly.
2007-05-11 Atsushi Enomoto <atsushi@ximian.com>
* SoapServerTypeTest.cs : make sure that SoapRpcServiceAttribute works.
2007-05-08 Atsushi Enomoto <atsushi@ximian.com>
* SoapServerTypeTest.cs : added some more tests related to server
methods.
2007-05-08 Atsushi Enomoto <atsushi@ximian.com>
* SoapServerTypeTest.cs : added some .ctor() tests to verify
validity of attributes on the service class.
2007-05-08 Atsushi Enomoto <atsushi@ximian.com>
* LogicalMethodInfoTest.cs : new test (cosmetic for now).
2007-04-23 Atsushi Enomoto <atsushi@ximian.com>
* SoapServerTypeTest.cs : added new test (one is not working yet).
It will be very useful when we test service type generation.
2007-01-15 Gert Driesen <drieseng@users.sourceforge.net>
* SoapHttpClientProtocolTest.cs: Added test for bug #79988.
* SocketResponder.cs: Utility class for emulating Web Service backend.

View File

@@ -1,21 +0,0 @@
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
* WebServiceTest.cs : new test (for bug #331183).
2003-05-13 Martin Willemoes Hansen <mwh@sysrq.dk>
* Tests inherits from Assertion and Assertion. prefix is removed.
2003-02-22 Dave Bettin <dave@opendotnet.com>
* Moved over to Nunit2 Tests
* Removed AllTests.cs
2002-08-07 Tim Coleman <tim@timcoleman.com>
* AllTests.cs:
* ChangeLog:
* WebMethodAttributeTest.cs:
* WebServiceAttributeTest.cs:
New files and directories added for test suite.