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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2017-08-04 23:13:50 +0300
committerWes Haggard <Wes.Haggard@microsoft.com>2017-08-04 23:13:50 +0300
commitf7627dede3fec607a3663cd79204ad6ce10ba63d (patch)
treef1c9ee48e64776ce189f2a28d210e0df314d1f06 /src
parent4e8bba2b812351154826a0f0a68970043f5ee159 (diff)
Remove SkipOnFramework UAP on the ServiceController tests
We no longer need to skip because the tests are now netcoreapp and netfx specific so we won't try to run them on uap now.
Diffstat (limited to 'src')
-rw-r--r--src/System.ServiceProcess.ServiceController/tests/SafeServiceControllerTests.cs3
-rw-r--r--src/System.ServiceProcess.ServiceController/tests/ServiceBaseTests.cs1
-rw-r--r--src/System.ServiceProcess.ServiceController/tests/ServiceControllerTests.cs1
3 files changed, 1 insertions, 4 deletions
diff --git a/src/System.ServiceProcess.ServiceController/tests/SafeServiceControllerTests.cs b/src/System.ServiceProcess.ServiceController/tests/SafeServiceControllerTests.cs
index 1cb0515ef8..c9ffab58bf 100644
--- a/src/System.ServiceProcess.ServiceController/tests/SafeServiceControllerTests.cs
+++ b/src/System.ServiceProcess.ServiceController/tests/SafeServiceControllerTests.cs
@@ -6,7 +6,6 @@ using Xunit;
namespace System.ServiceProcess.Tests
{
- [SkipOnTargetFramework(TargetFrameworkMonikers.Uap, "Appx doesn't allow to access ServiceController")]
public static class SafeServiceControllerTests
{
private const string KeyIsoSvcName = "KEYISO";
@@ -17,7 +16,7 @@ namespace System.ServiceProcess.Tests
bool foundKeyIsoSvc = false;
bool foundSamSvc = false;
bool foundOtherSvc = false;
-
+
foreach (var service in ServiceController.GetServices())
{
// The CNG Key Isolation service (KeyIso) and Security Accounts Manager (SAM) service (SamSs)
diff --git a/src/System.ServiceProcess.ServiceController/tests/ServiceBaseTests.cs b/src/System.ServiceProcess.ServiceController/tests/ServiceBaseTests.cs
index 3c51f3673e..db05035a82 100644
--- a/src/System.ServiceProcess.ServiceController/tests/ServiceBaseTests.cs
+++ b/src/System.ServiceProcess.ServiceController/tests/ServiceBaseTests.cs
@@ -14,7 +14,6 @@ using Xunit;
namespace System.ServiceProcess.Tests
{
[OuterLoop(/* Modifies machine state */)]
- [SkipOnTargetFramework(TargetFrameworkMonikers.Uap, "Appx doesn't allow to access ServiceBase")]
public class ServiceBaseTests : IDisposable
{
private readonly TestServiceProvider _testService;
diff --git a/src/System.ServiceProcess.ServiceController/tests/ServiceControllerTests.cs b/src/System.ServiceProcess.ServiceController/tests/ServiceControllerTests.cs
index 59868931f7..dfd3e5fc34 100644
--- a/src/System.ServiceProcess.ServiceController/tests/ServiceControllerTests.cs
+++ b/src/System.ServiceProcess.ServiceController/tests/ServiceControllerTests.cs
@@ -11,7 +11,6 @@ using Xunit;
namespace System.ServiceProcess.Tests
{
[OuterLoop(/* Modifies machine state */)]
- [SkipOnTargetFramework(TargetFrameworkMonikers.Uap, "Appx doesn't allow to access ServiceController")]
public class ServiceControllerTests : IDisposable
{
private readonly TestServiceProvider _testService;