Commit Graph
8 Commits
Author SHA1 Message Date
Gert Driesen baab1f11d4 * Process.cs: In PriorityClass setter, first check whether value is
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
2007-12-22 09:48:37 +00:00
Gert Driesen 3b0d04fd6c * Process.cs: Modified StartInfo to throw ArgumentNullException when
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
2007-12-04 16:37:36 +00:00
Robert Jordan a9a707f13e 2007-11-02 Robert Jordan <[email protected]>
* ProcessTest.cs (TestRedirectedOutputIsAsync):
	Comment out the failing asserts until I've found out why they are
	failing.

svn path=/trunk/mcs/; revision=88725
2007-11-02 15:27:20 +00:00
Robert Jordan 8217b4728a 2007-11-02 Robert Jordan <[email protected]>
* ProcessTest.cs (TestRedirectedOutputIsAsync):
	Wait for the pending async operation.

svn path=/trunk/mcs/; revision=88707
2007-11-02 01:42:43 +00:00
Robert Jordan a042cffb4c 2007-11-02 Robert Jordan <[email protected]>
* ProcessTest.cs (TestRedirectedOutputIsAsync):
	Instrument to see why the build bots are failing.


svn path=/trunk/mcs/; revision=88703
2007-11-02 00:28:43 +00:00
Robert Jordan f48a4ff696 2007-11-01 Robert Jordan <[email protected]>
* 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-11-01 21:26:27 +00:00
Robert Jordan 535abaefa2 In Test/System.Diagnostics:
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
2007-10-30 18:35:42 +00:00
Gert Driesen 2016ab5b30 * ProcessTest.cs: Added null check tests.
* 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
2007-01-02 15:07:35 +00:00