projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[System] Remove Process.Start and related API from TvOS/WatchOS.
[mono.git]
/
mcs
/
class
/
System
/
Test
/
System.Diagnostics
/
ProcessTest.cs
diff --git
a/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
b/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
index d4372a1ddddc76083a6022ab54d46aa4212ec533..615b0aed3e694e59c12d6de98f0c83272b707672 100644
(file)
--- a/
mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
+++ b/
mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
@@
-104,6
+104,7
@@
namespace MonoTests.System.Diagnostics
}
}
}
}
+#if MONO_FEATURE_PROCESS_START
[Test] // Start ()
public void Start1_FileName_Empty ()
{
[Test] // Start ()
public void Start1_FileName_Empty ()
{
@@
-841,7
+842,6
@@
namespace MonoTests.System.Diagnostics
Assert.AreEqual (1, exitedCalledCounter);
}
Assert.AreEqual (1, exitedCalledCounter);
}
-
ProcessStartInfo GetCrossPlatformStartInfo ()
{
if (RunningOnUnix) {
ProcessStartInfo GetCrossPlatformStartInfo ()
{
if (RunningOnUnix) {
@@
-855,6
+855,7
@@
namespace MonoTests.System.Diagnostics
} else
return new ProcessStartInfo ("help", "");
}
} else
return new ProcessStartInfo ("help", "");
}
+#endif // MONO_FEATURE_PROCESS_START
[Test]
public void ProcessName_NotStarted ()
[Test]
public void ProcessName_NotStarted ()
@@
-876,6
+877,7
@@
namespace MonoTests.System.Diagnostics
Assert.IsNull (e.InnerException, "IOE inner exception should be null");
}
Assert.IsNull (e.InnerException, "IOE inner exception should be null");
}
+#if MONO_FEATURE_PROCESS_START
[Test]
[NUnit.Framework.Category ("MobileNotWorking")]
public void ProcessName_AfterExit ()
[Test]
[NUnit.Framework.Category ("MobileNotWorking")]
public void ProcessName_AfterExit ()
@@
-906,6
+908,7
@@
namespace MonoTests.System.Diagnostics
Assert.IsNull (e.InnerException, "IOE inner exception should be null");
}
Assert.IsNull (e.InnerException, "IOE inner exception should be null");
}
+#endif // MONO_FEATURE_PROCESS_START
[Test]
public void Handle_ThrowsOnNotStarted ()
[Test]
public void Handle_ThrowsOnNotStarted ()
@@
-923,6
+926,7
@@
namespace MonoTests.System.Diagnostics
Assert.IsFalse (Process.GetCurrentProcess ().HasExited);
}
Assert.IsFalse (Process.GetCurrentProcess ().HasExited);
}
+#if MONO_FEATURE_PROCESS_START
[Test]
[NUnit.Framework.Category ("MobileNotWorking")]
public void DisposeWithDisposedStreams ()
[Test]
[NUnit.Framework.Category ("MobileNotWorking")]
public void DisposeWithDisposedStreams ()
@@
-952,6
+956,7
@@
namespace MonoTests.System.Diagnostics
p.StandardInput.Write ('x');
}
}
p.StandardInput.Write ('x');
}
}
+#endif // MONO_FEATURE_PROCESS_START
[Test]
public void Modules () {
[Test]
public void Modules () {