Commit Graph
7 Commits
Author SHA1 Message Date
Marcos Henrich 97e5bfb498 Test Encoder.Convert and UTF8Encoder.Convert behaviors.
Added class ExposedEncoder to test the virtual method Encoder.Convert behavior.
Test UTF8Encoder.Convert override.
2014-08-04 15:26:53 +01:00
Atsushi Eno 132a16ca07 Revert "Merge pull request #622 from killabytenow/master"
This reverts commit 392bae3c45, reversing
changes made to 61cd9ee8b6.
2013-07-13 23:56:59 +09:00
Gerardo García Peña d624211706 MS.NET implementation returns 1000 not 625. 2013-05-21 13:43:23 +02:00
Martin Potter e3d59a330e Updating System.Text.Encoder's Convert method bounds checking to be compliant with Microsoft's documentation. (http://msdn.microsoft.com/en-us/library/dh0797c4.aspx) 2012-08-05 21:18:33 -07:00
Jb Evain 37111e4f26 in System.Text:
2009-01-13  Jb Evain  <[email protected]>

	* Encoding.cs: when creating a ForwardingEncoder or a
	ForwardingDecoder, don't crash if the Encoding doesn't
	provide an EncoderFallback or a DecoderFallback.

in Test/System.Text:
2009-01-13  Jb Evain  <[email protected]>

	* EncoderTest.cs: Make sure we can get an encoder for a custom
	encoding.
	* DecoderTest.cs: ditto.

svn path=/trunk/mcs/; revision=123196
2009-01-13 15:25:45 +00:00
Kornél Pál 546a1134d2 Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +00:00
Atsushi Eno 20ef4631cf 2006-03-30 Atsushi Enomoto <[email protected]>
* Encoder.cs, Decoder.cs : implemented Convert(). Also added argument
	  check in some methods.

	* EncoderTest.cs, DecoderTest.cs : new tests, for Convert().

	* corlib_test.dll.sources: added EncoderTest.cs and DecoderTest.cs.


svn path=/trunk/mcs/; revision=58819
2006-03-30 19:08:18 +00:00