Commit Graph
16 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
Chris Hamons bb0564ff3c Mono BCL test fixes so XM can run them (#4210) 2017-01-10 16:59:08 -06:00
Alexander Köplinger 1492386668 [System/ServiceModel] Fix more hardcoded test ports
A test failed on Jenkins today with "address already in use".
Opportunistically replaced a few more hardcoded test ports to avoid failures in the future.
2016-03-05 15:50:28 +01:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Sebastien Pouliot 13b942c073 [System.ServiceModel.Web] Fix JsonQueryStringConverter.ConvertValueToString to work when running on any culture [#18437] 2014-03-17 21:46:33 -04: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
Enrico Sada 3331041eea add QueryStringConverter String <-> Enum
fix bug https://bugzilla.xamarin.com/show_bug.cgi?id=5230
2012-08-10 01:42:36 +02:00
Miguel de Icaza 2852ed0b59 Update copyrights 2011-09-13 18:26:13 -04:00
Atsushi Eno 3d385eb270 Skip serialization when the return type is void.
This batch should fix bug #206.
2011-08-24 12:14:48 -07:00
Atsushi Eno 2464cfc869 Read body content if required. Fixed all issues in bug #656020.
Now it considers message content format and IsWrapped[Request|Response] to
retrieve XmlObjectSerializer.
2011-01-20 15:32:33 +09:00
Atsushi Eno 997a5664a9 Enable duplicate "UriMatched" error check, with couple of FIXMEs.
.NET is very unclear about those UriTemplate behavior. Too minor to mind.
2011-01-19 20:22:45 +09:00
Atsushi Eno 7d5b5a1b7f Fix template match logic to first check HTTP-method-matching ones.
Part of the fix for bug #656020.
2011-01-19 19:01:49 +09:00
Atsushi Eno a1375bd687 2010-05-24 Atsushi Enomoto <[email protected]>
* JsonQueryStringConverter.cs : objects are regarded serializable as
	  long as they are public here, with some exceptions (not implemented).

	* JsonQueryStringConverterTest.cs : add more tests for CanConvert()
	  and reorganized some classes to make tests rational.


svn path=/trunk/mcs/; revision=157795
2010-05-24 12:38:12 +00:00
Atsushi Eno cd263cb1f4 2009-10-08 Atsushi Enomoto <[email protected]>
* JsonQueryStringConverter.cs : add custom body name support (used.
	  for AJAX). Handle string value (in very LAMESPEC way).
	* WebMessageFormatter.cs : add custom body name support.
	  Slightly changed reply serialization.
	  Convert deserialized values using QueryStringConverter.

	* WebScriptEnablingBehavior.cs : use JsonQueryStringConverter, with
	  "d" wrapper name. Allow only WrappedRequest.

	* JsonQueryStringConverterTest.cs : added some string deserialization
	  test. It just proved .NET is too lame.


svn path=/trunk/mcs/; revision=143747
2009-10-08 08:59:56 +00:00
Atsushi Eno ec2607604c 2009-09-02 Atsushi Enomoto <[email protected]>
* JsonQueryStringConverterTest.cs : comment out one cosmetic case
	  that is not working under .NET.


svn path=/trunk/mcs/; revision=141099
2009-09-02 08:44:31 +00:00
Jb Evain 982e3b35a4 move to from olive to mcs
svn path=/trunk/mcs/; revision=111188
2008-08-20 21:25:05 +00:00