Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2017-03-21 01:57:31 +0300
committerMarek Safar <marek.safar@gmail.com>2017-03-21 01:57:31 +0300
commit4d5f823b0fcbb4452b6f087d1c57df11576e583f (patch)
tree4db6ed7c60f7814730d135ffaae66e119e3f3c43 /mcs/class/System/Test
parent6c600321a77e53a498eee8c53538cd58f337afb4 (diff)
[System] Fix Process tests on watch
Diffstat (limited to 'mcs/class/System/Test')
-rw-r--r--mcs/class/System/Test/System.Diagnostics/ProcessTest.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs b/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
index cb3827785af..be41016a4d2 100644
--- a/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
+++ b/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
@@ -23,6 +23,13 @@ namespace MonoTests.System.Diagnostics
[TestFixture]
public class ProcessTest
{
+ static bool RunningOnUnix {
+ get {
+ int p = (int)Environment.OSVersion.Platform;
+ return ((p == 128) || (p == 4) || (p == 6));
+ }
+ }
+
[Test]
public void GetProcessById_MachineName_Null ()
{
@@ -729,13 +736,6 @@ namespace MonoTests.System.Diagnostics
bytesRead = stm.EndRead (ar);
}
- static bool RunningOnUnix {
- get {
- int p = (int)Environment.OSVersion.Platform;
- return ((p == 128) || (p == 4) || (p == 6));
- }
- }
-
public int bytesRead = -1;
[Test]