Commit Graph
29 Commits
Author SHA1 Message Date
Marek Safar 9bc33d4aae [corlib] Use shared version of utf8 encoding in stream reader 2014-02-05 16:56:02 +01:00
Marek Safar d3b817cbb8 [corlib] Initialize null stream reader 2014-02-04 13:14:33 +01:00
Marek Safar afa79435aa Update for mobile profile 2013-02-07 16:34:21 +01:00
Marek Safar 185743cacd Rewrite of async StreamReader/StreamWritter operations to not fail on subsequent async call. Fixes #9761 2013-02-01 18:29:54 +01:00
Gonzalo Paniagua Javier d341faf689 2010-03-17 Gonzalo Paniagua Javier <[email protected]>
* StreamReaderTest.cs: test for bug 589236. The detected encoding is
	different from the one provided in the ctor.


svn path=/trunk/mcs/; revision=153802
2010-03-18 02:56:09 +00:00
Carlos Alberto Cortez 0a32a75f14 2010-01-23 Carlos Alberto Cortez <[email protected]>
* StreamReaderTest.cs: New test for encoding detection.


svn path=/trunk/mcs/; revision=150091
2010-01-24 04:07:46 +00:00
Sebastien Pouliot 00a9a5e7ca 2009-04-27 Sebastien Pouliot <[email protected]>
* StreamReaderTest.cs: Fix build for NET_1_1


svn path=/trunk/mcs/; revision=132787
2009-04-27 21:12:30 +00:00
Miguel de Icaza 8b1742d19b Reapply
svn path=/trunk/mcs/; revision=132666
2009-04-25 18:59:23 +00:00
Miguel de Icaza c2545dcc09 Revert 132601, 132602 as it made the csharp console stop working
svn path=/trunk/mcs/; revision=132638
2009-04-24 23:43:12 +00:00
Gonzalo Paniagua Javier 4cc36d1481 2009-04-24 Gonzalo Paniagua Javier <[email protected]>
* StreamReaderTest.cs: new test. Using Peek() when we did a short read
	should block if needed.


svn path=/trunk/mcs/; revision=132602
2009-04-24 16:46:27 +00:00
Gonzalo Paniagua Javier c770834fff test for bug 445326
svn path=/trunk/mcs/; revision=126133
2009-02-06 23:02:58 +00:00
Miguel de Icaza c6e197166f Add support for detecting UTF32 and UTF-32 bigendian
patch from  Peter Dettman ([email protected])


svn path=/trunk/mcs/; revision=73779
2007-03-06 04:26:50 +00:00
Gert Driesen ff94436d2a * StreamReaderTest.cs: Use Assert class instead of deprecation
Assertion. Clean-up some tests.

svn path=/trunk/mcs/; revision=72045
2007-01-31 18:34:13 +00:00
Gert Driesen a292a0b1f8 * StreamReaderTest.cs: Added test for bug #75526.
svn path=/trunk/mcs/; revision=71703
2007-01-25 19:26:30 +00:00
Sebastien Pouliot a55d9fad1b 2006-01-02 Sebastien Pouliot <[email protected]>
* StreamReaderTest.cs: Added test case when reading a new line (see 
	bug #77108 for details).
	* StringReaderTest.cs: Added test case when reading a new line (see 
	bug #77108 for details).


svn path=/trunk/mcs/; revision=54954
2006-01-02 15:21:48 +00:00
Gonzalo Paniagua Javier 4f3c209364 2005-10-20 Gonzalo Paniagua Javier <[email protected]>
* StreamReaderTest.cs: more tests for ReadLine().


svn path=/trunk/mcs/; revision=52003
2005-10-20 20:27:44 +00:00
Ben Maurer 2cac9d1d6b eol style
svn path=/trunk/mcs/; revision=46462
2005-06-23 23:11:11 +00:00
Sebastien Pouliot 15b3b0d548 2004-05-24 Sebastien Pouliot <[email protected]>
* StreamReaderTest.cs: New tests for integer overflow and null handling

svn path=/trunk/mcs/; revision=27998
2004-05-24 20:13:55 +00:00
Nick Drochak 8f495974eb 2003-05-22 Nick Drochak <[email protected]>
* StreamReaderTest.cs:
	* StreamWriterTest.cs: Forgot nunit v2 TestFixture attribute

svn path=/trunk/mcs/; revision=14800
2003-05-22 14:59:09 +00:00
Nick Drochak aed9b02192 2003/05/20 Nick Drochak <[email protected]>
* FileTest.cs:
	* StreamReaderTest.cs:
	* StreamWriterTest.cs: Workaround for process holding on to directory
	that prevented cleanup and deletion.

svn path=/trunk/mcs/; revision=14715
2003-05-20 05:29:20 +00:00
Ville Palo d2cd5b7653 2003-05-15 Ville Palo <[email protected]>
* StreamReaderTest.cs:
	* StreamWriterTest.cs: now use temp-dir

svn path=/trunk/mcs/; revision=14593
2003-05-15 07:52:57 +00:00
Gonzalo Paniagua Javier f5af57621e 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
* StreamReaderTest.cs: added test for exception when the nase stream is
	closed. Make the reader.CurrentEncoding test work.

svn path=/trunk/mcs/; revision=12320
2003-03-07 18:45:08 +00:00
Nick Drochak 99a25b98bd 2002-12-21 Nick Drochak <[email protected]>
* all: make tests build and run under nunit2

svn path=/trunk/mcs/; revision=9817
2002-12-21 14:15:43 +00:00
Nick Drochak 999104f3d0 2002-09-19 Nick Drochak <[email protected]>
* StreamReaderTest.cs: Pinpoint error closing streams

svn path=/trunk/mcs/; revision=7620
2002-09-19 14:11:54 +00:00
Nick Drochak 94205af0d6 2002-05-15 Nick Drochak <[email protected]>
* StreamReaderTest.cs:
	* StreamWriterTest.cs:
	Make sure invalid file name has invalid characters in it.  These are
	platform dependant.

svn path=/trunk/mcs/; revision=4627
2002-05-14 11:49:25 +00:00
Nick Drochak e1df4b00fd 2002-05-05 Nick Drochak <[email protected]>
* StreamReaderTest.cs: Change location of sample file. Use memory
	stream instead of file stream to eliminate reliance on file io
	for now.  That area is still a bit immature.

	* resources: New directory to hold files open/read, etc. by unit
	tests.

svn path=/trunk/mcs/; revision=4274
2002-05-04 11:32:12 +00:00
Nick Drochak d5c25179ff 2002-05-01 Nick Drochak <[email protected]>
* StreamReaderTest.cs:
	* StreamWriterTest.cs: Catch and display exception info where it wasn't
	being caught before.

svn path=/trunk/mcs/; revision=4192
2002-05-01 11:05:31 +00:00
David Brandt 7e34896962 Fixing small incorrectness in test.
svn path=/trunk/mcs/; revision=2432
2002-02-15 18:50:40 +00:00
David Brandt 2d3115739c Adding System.IO.StreamReaderTest. Only non-inherited methods are tested.
svn path=/trunk/mcs/; revision=2429
2002-02-15 16:06:22 +00:00