@@ -616,7 +616,7 @@ struct SigningTests {
616
616
}
617
617
618
618
@Test (
619
- . enableIfRealSigningIdentityTestEnabled
619
+ . enabled ( if : isRealSigningIdentityTestEnabled ( ) )
620
620
)
621
621
func cMSEndToEndWithRSAKeyADPCertificate( ) async throws {
622
622
@@ -676,7 +676,7 @@ struct SigningTests {
676
676
}
677
677
678
678
@Test (
679
- . enableIfRealSigningIdentityTestEnabled
679
+ . enabled ( if : isRealSigningIdentityTestEnabled ( ) )
680
680
)
681
681
func cMSEndToEndWithECKeyADPCertificate( ) async throws {
682
682
let keyAndCertChain = try ecADPKeyAndCertChain ( )
@@ -735,9 +735,7 @@ struct SigningTests {
735
735
736
736
737
737
@Test (
738
- . enabledOn( platform: . MacOS) ,
739
- . enableIfRealSigningIdentityTestEnabled,
740
- . enableIfEnvVarSet( " REAL_SIGNING_IDENTITY_LABEL " )
738
+ . enabled( if: isMacOS ( ) && isRealSigningIdentityTestEnabled ( ) && isEnvironmentVariableSet ( " REAL_SIGNING_IDENTITY_LABEL " ) )
741
739
)
742
740
func testCMS1_0_0EndToEndWithADPSigningIdentityFromKeychain( ) async throws {
743
741
let label = try #require(
@@ -793,9 +791,7 @@ struct SigningTests {
793
791
}
794
792
795
793
@Test (
796
- . enabledOn( platform: . MacOS) ,
797
- . enableIfRealSigningIdentityTestEnabled,
798
- . enableIfEnvVarSet( " REAL_SIGNING_IDENTITY_LABEL " )
794
+ . enabled( if: isMacOS ( ) && isRealSigningIdentityTestEnabled ( ) && isEnvironmentVariableSet ( " REAL_SIGNING_IDENTITY_LABEL " ) )
799
795
)
800
796
func testCMSEndToEndWithECKeyADPSigningIdentityFromKeychain( ) async throws {
801
797
let label = try #require(
@@ -849,9 +845,7 @@ struct SigningTests {
849
845
}
850
846
851
847
@Test (
852
- . enabledOn( platform: . MacOS) ,
853
- . enableIfRealSigningIdentityTestEnabled,
854
- . enableIfEnvVarSet( " REAL_SIGNING_IDENTITY_LABEL " )
848
+ . enabled( if: isMacOS ( ) && isRealSigningIdentityTestEnabled ( ) && isEnvironmentVariableSet ( " REAL_SIGNING_IDENTITY_LABEL " ) )
855
849
)
856
850
func MSEndToEndWithRSAKeyADPSigningIdentityFromKeychain( ) async throws {
857
851
let label = try #require(
0 commit comments