Commit Graph
339 Commits
Author SHA1 Message Date
Marek Safar 1242b4b82c [corlib] Enumerate all subdirectories including the first one. Fixes #22857 2014-09-11 11:20:44 +02:00
Alexander Köplinger ddcfc42070 Cleanup namespace names of class lib tests to follow convention
A couple of the test suites didn't follow the MonoTests.<namespace of class under test> naming convention for the namespace.
2014-09-04 18:55:58 +02:00
Zoltan Varga 03aee949f1 Merge pull request #1200 from akoeplinger/remove-jvm
[Cleanup] Remove TARGET_JVM
2014-08-28 19:17:43 -04:00
João Matos 1bff9d890f Fixed Path.GetFullPath to work correctly when the current path is '/'.
Fixes xambug #833.
2014-08-08 19:03:39 +01:00
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Alexander Köplinger b0032294da [Test] Cleaned up how a bunch of tests were ignored
Previously, many tests just had a return statement when the test shouldn't
be executed (e.g. Unix-only). This made it look like the test was successful
when in fact it wasn't executed at all.
Assert.Ignore() is now used instead to correctly exclude those tests.
2014-02-23 19:44:21 +01:00
Sebastien Pouliot 2a81c70eaa [Test] Change FileTtest.MoveTest to use the temporary directory so it can be executed, without an access denied, on most environment (e.g. an iOS device) 2014-02-18 08:44:28 -05:00
Miguel de Icaza 040ba8b7e8 [mscorlib] Path: fix GetFullPath (/../bin/bash) to return /bin/bash, not bin/bash, fixes 17083 2014-02-12 13:19:31 -05:00
Marek Safar 8d56b51656 Fixes build 2014-02-06 18:08:38 +01:00
Marek Safar 5a20d0438a [corlib] Path.Combine with variable arguments length where one is empty should give same result as other Combine overloads 2014-02-05 16:56:03 +01:00
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 4de39e0eac [corlib] BinaryStream sting reading from custom stream uses correct count. Fixes #15143 2014-01-17 21:59:40 +01:00
Rodrigo Kumpera 4b0111dac9 [corlib] Add an exhaustive regression test for file sharing and File.Move. 2014-01-08 20:47:01 -05:00
Sebastien Pouliot de00f9d473 Ensure the new FileStream unit tests does not throw in the non-main thread (which nunit-console won't report but other tools, like Touch.Unit, will) 2013-07-09 20:17:37 -04:00
Marek Safar be2e73c7e8 Correctly reset buffer for nested asynchronous file stream writes. Fixes #12777 2013-07-05 18:47:22 +02:00
Sebastien Pouliot a60aa8fb41 Exclude the new System.IO.Directory unit test for iOS (no Mono.Unix) 2013-06-05 15:00:33 -04:00
Rodrigo Kumpera c21b959408 Fix 2.0 build. 2013-06-05 12:44:34 -04:00
Rodrigo Kumpera d6fd0cde05 Make sure the behavior between GetFiles and EnumerateFiles are the same regarding symlinks. Fixes BXC #12461
* Directory.cs: Only ignore symlinks when traversing subdirectories. This is the only case that it can result
	in loops.
2013-06-04 18:49:34 -04:00
Marek Safar ad8e0f742e StreamWriter async methods cannot call base TextWriter async methods. Fixes #11979 2013-05-09 17:42:28 +02:00
Rodrigo Kumpera abe9dc6206 Revert "Fix object::GetType when remoting is enabled."
This reverts commit 93e2d1dc48.
2013-03-01 10:54:09 -05:00
Rodrigo Kumpera 93e2d1dc48 Fix object::GetType when remoting is enabled. 2013-03-01 10:52:03 -05:00
TalAloni 9a59023366 Added tests to PathTest.cs 2013-03-01 09:04:11 +02:00
Marek Safar 762b050917 Merge tests from mobile branch 2013-02-26 16:28:36 +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
Marek Safar f0f4f4ae51 More mobile tests update 2013-02-14 13:06:49 +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
Rodrigo Kumpera 089ab9c975 DirectoryInfo should update its internal values when MoveTo is called. Fixes #7653. 2013-01-11 16:23:37 -05:00
Marek Safar c133ae2dc8 Merge pull request #485 from mtausig/master
Bugfix for DirectoryInfo.GetDirectories()
2012-10-29 09:49:43 -07:00
mtausig a8599daae7 Added Testcase for DirectoryInfo.GetDirectories with parameter
SearchOption.AlLDirectories
2012-10-29 11:06:41 +01:00
Marek Safar 2d12cfaf80 Flush StreamWriter buffer even if underlying stream is kept open. Fixes #7510 2012-10-04 11:53:14 +01:00
Larry Ewing 137a5c40cf Rework exception handling in MemoryStream async methods
Return faulted tasks for runtime errors when using the MemoryStream
Async methods.
2012-09-14 13:27:54 -05:00
Marek Safar c50576f5a2 Add Write7BitEncodedInt test 2012-06-13 15:18:43 +01:00
Marek Safar aab6b9a30b Move System tests to System assembly 2012-04-05 15:46:26 +01:00
Miguel de Icaza 3a5dd7f2df [corlib-tests] If MONO_IOMAP=all, special case the IsPathRooted tests to cope with its semantics 2012-02-24 17:46:30 -05:00
Marek Safar 09eb71f37c Fix MemoryStreamTest tests to compile under 2.0 profile 2012-01-14 10:00:20 +00:00
Dan Shechter d8b7dfbffb Matched FileStream behaviour with MS.NET 2011-11-05 20:57:32 +02:00
Zoltan Varga bb218f4cde Ignore some corlib tests which fail on linux 2011-10-11 03:49:52 +02:00
Marek Safar 7b51bb0cb1 Implement stream async methods 2011-09-28 08:09:33 +01:00
Marek Safar 7f4dbcc68b Add a few new async stream methods 2011-09-22 18:39:40 +01:00
Miguel de Icaza 2852ed0b59 Update copyrights 2011-09-13 18:26:13 -04:00
Sebastien Pouliot 97d989fa95 fix FileStream test failures under Mac OSX 2011-09-09 13:41:00 -04:00
Marek Safar 5241357859 Remove NET_2_0 2011-09-05 19:02:29 +01:00
Marek Safar 50f31db715 Make Stream BeginRead/BeginWrite asynchronous 2011-09-02 16:36:52 +01:00
Marek Safar 1feb50a5cf Make MemoryStream more .net compatible 2011-09-02 16:36:52 +01:00
Marek Safar 7601cbf07b Remove NET_2_0 conditional 2011-09-02 16:36:52 +01:00
Gonzalo Paniagua Javier 1e7c592026 Avoid null refs when capacity set to 0
This fixes bug #676060.
2011-03-08 18:05:46 -05:00
Steve Bjorg 48d34c69fb added units tests for TextReader ReadLine() and ReadToEnd() 2011-02-25 01:53:19 -05:00
Gonzalo Paniagua Javier bf7c6cfc35 BinaryWriter.BaseStream calls Flush()
Before returning the base stream, BinaryWriter.BaseStream calls Flush
	on it. Added test for this.

	Fixes bug #647948.
2010-10-24 18:43:18 -04:00