Commit Graph
21 Commits
Author SHA1 Message Date
Marek Safar 4de39e0eac [corlib] BinaryStream sting reading from custom stream uses correct count. Fixes #15143 2014-01-17 21:59:40 +01:00
Marek Safar c132a3c3b0 Fix BinaryReader.ReadChars() no longer recursively calls BinaryReader.Read(). Patch based on tomspilman pull request #559 2013-02-21 12:42:06 +01:00
Robert Jordan 3b80e25382 2009-06-25 Robert Jordan <[email protected]>
* BinaryReaderTest.cs, BinaryWriterTest.cs, BufferedStreamTest.cs,
	PathTest.cs, PathTest.cs, StringWriterTest.cs, TextWriterTest.cs:
	Upgrade to new NUnit style.


svn path=/trunk/mcs/; revision=136815
2009-06-25 11:02:07 +00:00
Atsushi Eno 7a7f3b5b1b 2008-12-10 Atsushi Enomoto <[email protected]>
* BinaryReaderTest.cs : fix tests that are also failing under .NET
	  (Exposed by nunit24).


svn path=/trunk/mcs/; revision=121179
2008-12-10 00:53:33 +00:00
Zoltan Varga ed60685813 2008-10-12 Zoltan Varga <[email protected]>
* BinaryReaderTest.cs: Add a test for #434581.

svn path=/trunk/mcs/; revision=115561
2008-10-12 10:46:05 +00:00
Eyal Alalouf 30c28c41d7 Mark tests as not working under TARGET_JVM
svn path=/trunk/mcs/; revision=74246
2007-03-14 10:47:05 +00:00
Boris Kirzner 4145bfd988 Test fixes for TARGET_JVM.
svn path=/trunk/mcs/; revision=71890
2007-01-29 15:50:28 +00:00
Miguel de Icaza 7de618752f Add new test for 76849
svn path=/trunk/mcs/; revision=52170
2005-10-25 04:59:57 +00:00
Ben Maurer 68f4365510 In Test/System.IO:
2005-10-01  Ben Maurer  <[email protected]>

	* BinaryReaderTest.cs: new test for long, non-ascii strings

In System.IO:
2005-10-01  Ben Maurer  <[email protected]>

	* BinaryReader.cs: The patch below had a nasty little bug with
	long strings that had non-ascii chars in it, because it was
	looking at the char count, not the byte count.


svn path=/trunk/mcs/; revision=51081
2005-10-01 18:43:46 +00:00
Sebastien Pouliot 2c47c798a5 2004-05-29 Sebastien Pouliot <[email protected]>
* BinaryReader.cs: Added new cases to check exceptions thrown by Read
	methods.

svn path=/trunk/mcs/; revision=28467
2004-05-29 22:44:01 +00:00
David Sheldon 4819fbaeb7 2004-04-12 David Sheldon <[email protected]>
* BinaryReaderTest.cs: Changed series of bytes in
  ReadDecimal to be a cleaner representation of a real
  decimal, as was not a technically correct decimal.

Do we need to add some more tests for what we do with values such as those
in the old test case? With the old code, you could get a single value that
was not equal to its lexical representation. Not ideal.

> d is -18295873486192640
> d != -18295873486192640

svn path=/trunk/mcs/; revision=25372
2004-04-12 18:10:55 +00:00
Ville Palo 8782c126a7 2003-06-08 Ville Palo <[email protected]>
* BinaryWriterTest.cs:
	* BinaryReaderTest.cs:
	* DirectoryTest.cs:
	* FileTest.cs: now works with ms.net, clean ups, nunit2, ...

svn path=/trunk/mcs/; revision=15182
2003-06-08 15:59:52 +00:00
Nick Drochak 85a7b2a87e 2003-05-29 Nick Drochak <[email protected]>
* BinaryReaderTest.cs: fix my oversight
	* BinaryWriterTest.cs: cleanups
	* BufferedStreamTest.cs: cleanups
	* DirectoryInfoTest.cs: cleanups
	* DirectoryTest.cs: cleanups
	* FileStreamTest.cs: cleanups

svn path=/trunk/mcs/; revision=14994
2003-05-29 15:09:51 +00:00
Nick Drochak dfada10b44 2003-05-29 Nick Drochak <[email protected]>
* BinaryReaderTest.cs:
	* BinaryWriterTest.cs:
	* DirectoryInfoTest.cs:
	* DirectoryTest.cs:
	* FileInfoTest.cs:
	* FileStreamTest.cs:
	* FileSystemInfoTest.cs: Stop throwing exceptions on windows, and sub-
	class from Assertion for brevity.

svn path=/trunk/mcs/; revision=14972
2003-05-28 15:39:52 +00:00
Ben Maurer 219fafa72b 2003-05-18 Ben Maurer <[email protected]>
* *.cs Cleaned up tests to work around bug that prevented
	System.IO from seeing directories starting with '.'

svn path=/trunk/mcs/; revision=14668
2003-05-18 18:10:01 +00:00
Ville Palo 134e735cdc 2003-05-15 Ville Palo <[email protected]>
* BinaryReaderTest.cs:
	* BinaryWriterTest.cs:
	* BufferedStreamTest.cs:
	* DirectoryInfoTest.cs:
	* DirectoryTest.cs:
	* FileInfoTest.cs:
	* FileSystemInfoTest.cs: clean up, now use temp-dir

svn path=/trunk/mcs/; revision=14592
2003-05-15 06:22:55 +00:00
Ville Palo 5e4ad18d4c 2003-04-13 Ville Palo <[email protected]>
* BinaryStreamReader.cs: Added lots of tests. Somehow I missed that
	there are already testcases for BinaryStreamReader :/

svn path=/trunk/mcs/; revision=13575
2003-04-13 12:55:58 +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
Gonzalo Paniagua Javier b3c0ac9e01 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
* System.IO/BinaryReaderTest.cs: more tests.

	* System.Security.Cryptography/AllTests.cs:
	* System.Security.Cryptography/ChangeLog:
	* System.Security.Cryptography/MD5Test.cs: added new MD5Test.cs.

	Patch from Eduardo Garc�a Cebollero ([email protected]).

svn path=/trunk/mcs/; revision=7726
2002-09-23 01:00:15 +00:00
Nick Drochak 6ec3005613 2002-08-26 Nick Drochak <[email protected]>
* BinaryReaderTest.cs: Closing the stream twice doesn not throw any
	exceptions on .NET.

svn path=/trunk/mcs/; revision=7051
2002-08-26 14:47:25 +00:00
Gonzalo Paniagua Javier 0aca46a040 2002-08-17 Eduardo Garcia Cebollero <[email protected]>
* AllTests.cs: added BinaryReaderTest.Suite.
	* BinaryReaderTest.cs: New file.

svn path=/trunk/mcs/; revision=6709
2002-08-17 16:26:49 +00:00