6 Commits
Author SHA1 Message Date
Alexander Köplinger 77cf4cc4f8 [tests] Remove MONOMAC ifdef from BCL tests (#13694)
It was set by xamarin-macios when they were still taking the raw .cs source files
but since we switched to prebuilt binaries we need to replace it with
some define we're actually setting in Mono.

Most cases can be replaced by just XAMMAC_4_5 since MOBILE is defined on the xammac profile.
2019-03-27 20:21:48 +01:00
Alexander Köplinger e7a2d94f75 [bcl] Fix a few hardcoded socket ports in tests (#5471)
* [System] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

* [System.Runtime.Remoting] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

Additionally remove a copy of RemotingServicesTest.cs from corlib
which also exists in System.Runtime.Remoting in updated form.

* [System.ServiceModel] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

* [System.Net.Http] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

The additional "keep-alive" header in Send_Complete_NoContent() and
Send_Transfer_Encoding_Chunked() is because we were using the same
port for all tests before so other tests would clear the header.
This doesn't happen now that we use distinct test ports.

* [System.ServiceModel.Web] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.
2017-08-31 10:53:35 +02:00
Chris Hamons bb0564ff3c Mono BCL test fixes so XM can run them (#4210) 2017-01-10 16:59:08 -06:00
Sebastien Pouliot 7f8fa9a8a5 Allow running System.ServiceModel.Web unit tests on the MOBILE profiles (using the same .sources file) 2013-07-24 08:58:44 -04:00
Atsushi Eno 3ae78fa0b4 2009-10-07 Atsushi Enomoto <[email protected]>
* WebScriptServiceHostFactory.cs : I have to again revert the
	  previous change; it does fill endpoints regardless of hosting
	  environment (now with tests).

	* WebScriptEnablingBehavior.cs : validate body style.
	* WebHttpBehavior.cs : operations could miss WebGet/WebInvoke and
	  we should not crash by NRE because of missing of those atts.

	* WebScriptServiceHostFactoryTest.cs : add tests for contract and
	  wrapped validity.


svn path=/trunk/mcs/; revision=143637
2009-10-07 12:57:57 +00:00
Atsushi Eno 90d557790e 2009-10-02 Atsushi Enomoto <[email protected]>
* WebScriptServiceHostFactoryTest.cs : new test.

	* System.ServiceModel.Web_test.dll.sources :
	   add WebScriptServiceHostFactoryTest.cs.


svn path=/trunk/mcs/; revision=143248
2009-10-02 07:38:39 +00:00