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.
2008-12-25 Miguel de Icaza <[email protected]>
* ProcessTest.cs: Created a test case from bug 459450.
2008-12-25 Leszek Ciesielski <[email protected]>
* System.Diagnostics/Process.cs: Raise the
Process.OutputDataReceived and Process.ErrorDataReceived with null
arguments at the end. This is the documented behavior:
http://msdn.microsoft.com/en-us/library/system.diagnostics.datareceivedeventargs.data.aspx
And CruiseControl.NET depended on this. Bug #459450.
* Microsoft.CSharp/CSharpCodeCompiler.cs: Fix the code, as it
depened on the previous broken behavior.
svn path=/trunk/mcs/; revision=122125
2008-06-21 Robert Jordan <[email protected]>
* Process.cs (Start_common): UserName may be null or empty.
Fixes bug #350543.
In Test/System.Diagnostics:
2008-06-21 Robert Jordan <[email protected]>
* ProcessTest.cs (Start_UseShellExecuteWithEmptyUserName):
add test for bug #350543.
svn path=/trunk/mcs/; revision=106452
valid and remove LAMESPEC since the documentation has been corrected
for .NET 3.5. Code formatting.
* ProcessTest.cs: Added tests for PriorityClass.
svn path=/trunk/mcs/; revision=91804
value is set to null, instead of ArgumentException. Remove check if
file name is rooted and exists when UseShellExecute is false, and let
runtime handle this. Fixes bug #345565. When a process cannot be started, do
not access ProcessStartInfo.EnvironmentVariables since that would not allow us
to re-use the instance when changing UseShellExecute. Added argument check in
Start (ProcessStartInfo). Code formatting.
* ProcessTest.cs: Added tests for Start overloads.
svn path=/trunk/mcs/; revision=90693
* ProcessTest.cs (TestRedirectedOutputIsAsync):
Comment out the failing asserts until I've found out why they are
failing.
svn path=/trunk/mcs/; revision=88725
* ProcessTest.cs (TestRedirectedOutputIsAsync):
Replace the generated script with a simple one (command line based).
Add additional assert for Process.ExitCode == 0.
svn path=/trunk/mcs/; revision=88688
2007-10-30 Robert Jordan <[email protected]>
* ProcessTest.cs: Add tests for bug #319829.
In System.Diagnostics:
2007-10-30 Robert Jordan <[email protected]>
* Process.cs: Wrap the redirected streams with a stream
that provides real async Begin/Read|Write operations.
Fixes bug #319829.
In System.IO:
2007-10-30 Robert Jordan <[email protected]>
* MonoSyncFileStream.cs: Add.
svn path=/trunk/mcs/; revision=88491
* Process.cs: Allow GetProcesses and GetProcessById overloads with
machine name to work for local machine.
* System_test.dll.sources: Added ProcessTest.cs.
svn path=/trunk/mcs/; revision=70366