From 493cb79ff4976479be5cc7c6f1fe2d5d9b710425 Mon Sep 17 00:00:00 2001 From: sepidehMS Date: Mon, 6 Feb 2017 13:28:24 -0800 Subject: Add comments to PlatformSpecific tests --- src/System.Security.Cryptography.Encoding/tests/Oid.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/System.Security.Cryptography.Encoding/tests/Oid.cs') diff --git a/src/System.Security.Cryptography.Encoding/tests/Oid.cs b/src/System.Security.Cryptography.Encoding/tests/Oid.cs index a0b85ce295..476ed2ba65 100644 --- a/src/System.Security.Cryptography.Encoding/tests/Oid.cs +++ b/src/System.Security.Cryptography.Encoding/tests/Oid.cs @@ -181,7 +181,7 @@ namespace System.Security.Cryptography.Encoding.Tests [Theory] [MemberData(nameof(ValidOidFriendlyNameHashAlgorithmPairs))] - [PlatformSpecific(TestPlatforms.Windows)] + [PlatformSpecific(TestPlatforms.Windows)] // Uses P/Invokes to get the Oid lookup table public static void LookupOidByValue_Method_WrongGroup(string oidValue, string friendlyName) { // Oid group is implemented strictly - no fallback to OidGroup.All as with many other parts of Crypto. @@ -237,7 +237,7 @@ namespace System.Security.Cryptography.Encoding.Tests [Theory] [MemberData(nameof(ValidOidFriendlyNameHashAlgorithmPairs))] - [PlatformSpecific(TestPlatforms.Windows)] + [PlatformSpecific(TestPlatforms.Windows)] // Uses P/Invokes to get the Oid lookup table public static void LookupOidByFriendlyName_Method_WrongGroup(string oidValue, string friendlyName) { // Oid group is implemented strictly - no fallback to OidGroup.All as with many other parts of Crypto. @@ -259,7 +259,7 @@ namespace System.Security.Cryptography.Encoding.Tests } [Fact] - [PlatformSpecific(TestPlatforms.AnyUnix)] + [PlatformSpecific(TestPlatforms.AnyUnix)] // Uses P/Invokes to search Oid in the lookup table public static void LookupOidByValue_Method_UnixOnly() { // This needs to be an OID not in the static lookup table. The purpose is to verify the @@ -273,7 +273,7 @@ namespace System.Security.Cryptography.Encoding.Tests } [Fact] - [PlatformSpecific(TestPlatforms.AnyUnix)] + [PlatformSpecific(TestPlatforms.AnyUnix)] // Uses P/Invokes to search Oid in the lookup table public static void LookupOidByFriendlyName_Method_UnixOnly() { // This needs to be a name not in the static lookup table. The purpose is to verify the -- cgit v1.2.3