From 8337ccdfdcd930b84fa81cf0502984de51484eb3 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Wed, 20 Mar 2024 18:18:47 +0100 Subject: [PATCH] WIP: Migrate phpunit metadata to attributes --- tests/WSSecurity/XML/auth/ClaimTypeTest.php | 9 ++++++--- .../XML/auth/ConstrainedManyValueTest.php | 16 +++++++++------ .../XML/auth/ConstrainedSingleValueTest.php | 20 +++++++++++++------ .../XML/auth/ConstrainedValueTest.php | 16 ++++++++------- tests/WSSecurity/XML/auth/DescriptionTest.php | 9 ++++++--- tests/WSSecurity/XML/auth/DisplayNameTest.php | 9 ++++++--- .../WSSecurity/XML/auth/DisplayValueTest.php | 9 ++++++--- .../XML/auth/EncryptedValueTest.php | 9 ++++++--- .../XML/auth/StructuredValueTest.php | 9 ++++++--- .../XML/auth/ValueGreaterThanOrEqualTest.php | 9 ++++++--- .../XML/auth/ValueGreaterThanTest.php | 9 ++++++--- .../WSSecurity/XML/auth/ValueInRangenTest.php | 9 ++++++--- .../XML/auth/ValueLessThanOrEqualTest.php | 9 ++++++--- .../WSSecurity/XML/auth/ValueLessThanTest.php | 9 ++++++--- .../XML/auth/ValueLowerBoundTest.php | 9 ++++++--- .../ValueOneOfWithStructuredValuesTest.php | 9 ++++++--- .../XML/auth/ValueOneOfWithValuesTest.php | 9 ++++++--- tests/WSSecurity/XML/auth/ValueTest.php | 6 ++++-- .../XML/auth/ValueUpperBoundTest.php | 9 ++++++--- .../fed/AdditionalContextProcessedTest.php | 10 ++++++---- .../fed/ApplicationServiceEndpointTest.php | 9 ++++++--- .../XML/fed/AttributeServiceEndpointTest.php | 6 ++++++ .../XML/fed/AttributeServiceEndpointsTest.php | 9 ++++++--- .../XML/fed/AuthenticationTokenTest.php | 10 ++++++---- .../XML/fed/AutomaticPseudonymsTest.php | 7 ++++--- tests/WSSecurity/XML/fed/ClaimDialectTest.php | 9 ++++++--- .../XML/fed/ClaimDialectsOfferedTest.php | 9 ++++++--- .../XML/fed/ClaimTypesOfferedTest.php | 10 ++++++---- .../XML/fed/ClaimTypesRequestedTest.php | 10 ++++++---- .../XML/fed/ClientPseudonymTest.php | 10 ++++++---- tests/WSSecurity/XML/fed/DisplayNameTest.php | 10 ++++++---- tests/WSSecurity/XML/fed/EMailTest.php | 10 ++++++---- tests/WSSecurity/XML/fed/FederationIDTest.php | 13 +++++++----- .../XML/fed/FederationMetadataHandlerTest.php | 10 ++++++---- .../XML/fed/FederationMetadataTest.php | 10 ++++++---- tests/WSSecurity/XML/fed/FederationTest.php | 10 ++++++---- .../XML/fed/FilterPseudonymsTest.php | 10 ++++++---- tests/WSSecurity/XML/fed/FreshnessTest.php | 10 ++++++---- tests/WSSecurity/XML/fed/IssuerNameTest.php | 9 ++++++--- .../XML/fed/IssuesSpecificPolicyFaultTest.php | 10 ++++++---- .../fed/LogicalServiceNamesOfferedTest.php | 9 ++++++--- tests/WSSecurity/XML/fed/PPIDTest.php | 6 ++++++ .../XML/fed/PassiveRequestorEndpointTest.php | 9 ++++++--- .../XML/fed/PassiveRequestorEndpointsTest.php | 9 ++++++--- tests/WSSecurity/XML/fed/ProofTokenTest.php | 9 ++++++--- .../WSSecurity/XML/fed/PseudonymBasisTest.php | 9 ++++++--- .../XML/fed/PseudonymServiceEndpointTest.php | 9 ++++++--- tests/WSSecurity/XML/fed/PseudonymTest.php | 10 ++++++---- tests/WSSecurity/XML/fed/RealmTest.php | 7 ++++--- .../XML/fed/ReferenceDigestTest.php | 10 ++++++---- tests/WSSecurity/XML/fed/ReferenceEPRTest.php | 10 ++++++---- .../XML/fed/ReferenceToken11Test.php | 10 ++++++---- .../WSSecurity/XML/fed/ReferenceTokenTest.php | 12 +++++++---- .../WSSecurity/XML/fed/ReferenceTypeTest.php | 13 +++++++----- tests/WSSecurity/XML/fed/RelativeToTest.php | 9 ++++++--- .../XML/fed/RequestProofTokenTest.php | 10 ++++++---- .../XML/fed/RequestPseudonymTest.php | 9 ++++++--- .../XML/fed/RequireBearerTokensTest.php | 10 ++++++---- .../XML/fed/RequireReferenceTokenTest.php | 13 +++++++----- .../XML/fed/RequireSharedCookiesTest.php | 10 ++++++---- .../XML/fed/RequireSignedTokensTest.php | 10 ++++++---- .../fed/RequiresGenericClaimDialectTest.php | 10 ++++++---- .../fed/SecurityTokenServiceEndpointTest.php | 9 ++++++--- .../WSSecurity/XML/fed/SecurityTokenTest.php | 9 ++++++--- tests/WSSecurity/XML/fed/SerialNoTest.php | 13 +++++++----- tests/WSSecurity/XML/fed/SignOutBasisTest.php | 10 ++++++---- tests/WSSecurity/XML/fed/SignOutTest.php | 10 ++++++---- .../SingleSignOutNotificationEndpointTest.php | 9 ++++++--- ...SingleSignOutNotificationEndpointsTest.php | 9 ++++++--- .../SingleSignOutSubscriptionEndpointTest.php | 9 ++++++--- ...SingleSignOutSubscriptionEndpointsTest.php | 9 ++++++--- tests/WSSecurity/XML/fed/TargetScopesTest.php | 9 ++++++--- tests/WSSecurity/XML/fed/TokenTypeTest.php | 9 ++++++--- .../XML/fed/TokenTypesOfferedTest.php | 9 ++++++--- tests/WSSecurity/XML/fed/WebBindingTest.php | 10 ++++++---- tests/WSSecurity/XML/sp/AbsXPathTest.php | 1 + .../WSSecurity/XML/sp/AlgorithmSuiteTest.php | 1 + .../XML/sp/AsymmetricBindingTest.php | 1 + tests/WSSecurity/XML/sp/AttachmentsTest.php | 1 + tests/WSSecurity/XML/sp/Basic128Rsa15Test.php | 1 + .../XML/sp/Basic128Sha256Rsa15Test.php | 1 + .../WSSecurity/XML/sp/Basic128Sha256Test.php | 1 + tests/WSSecurity/XML/sp/Basic128Test.php | 1 + tests/WSSecurity/XML/sp/Basic192Rsa15Test.php | 1 + .../XML/sp/Basic192Sha256Rsa15Test.php | 1 + .../WSSecurity/XML/sp/Basic192Sha256Test.php | 1 + tests/WSSecurity/XML/sp/Basic192Test.php | 1 + tests/WSSecurity/XML/sp/Basic256Rsa15Test.php | 1 + .../XML/sp/Basic256Sha256Rsa15Test.php | 1 + .../WSSecurity/XML/sp/Basic256Sha256Test.php | 1 + tests/WSSecurity/XML/sp/Basic256Test.php | 1 + tests/WSSecurity/XML/sp/BodyTest.php | 1 + .../WSSecurity/XML/sp/BootstrapPolicyTest.php | 1 + .../XML/sp/ContentEncryptedElementsTest.php | 1 + .../XML/sp/EncryptBeforeSigningTest.php | 1 + .../XML/sp/EncryptSignatureTest.php | 1 + .../XML/sp/EncryptedElementsTest.php | 1 + .../WSSecurity/XML/sp/EncryptedPartsTest.php | 1 + .../XML/sp/EncryptedSupportingTokensTest.php | 1 + .../WSSecurity/XML/sp/EncryptionTokenTest.php | 1 + ...EndorsingEncryptedSupportingTokensTest.php | 1 + .../XML/sp/EndorsingSupportingTokensTest.php | 1 + tests/WSSecurity/XML/sp/HashPasswordTest.php | 1 + tests/WSSecurity/XML/sp/HeaderTest.php | 1 + .../XML/sp/HttpBasicAuthenticationTest.php | 1 + .../XML/sp/HttpDigestAuthenticationTest.php | 1 + tests/WSSecurity/XML/sp/HttpsTokenTest.php | 1 + .../XML/sp/IncludeTimestampTest.php | 1 + tests/WSSecurity/XML/sp/InclusiveC14NTest.php | 1 + .../XML/sp/InitiatorEncryptionTokenTest.php | 1 + .../XML/sp/InitiatorSignatureTokenTest.php | 1 + .../WSSecurity/XML/sp/InitiatorTokenTest.php | 1 + tests/WSSecurity/XML/sp/IssuedTokenTest.php | 1 + tests/WSSecurity/XML/sp/IssuerNameTest.php | 1 + tests/WSSecurity/XML/sp/IssuerTest.php | 1 + tests/WSSecurity/XML/sp/KerberosTokenTest.php | 1 + tests/WSSecurity/XML/sp/KeyValueTokenTest.php | 1 + tests/WSSecurity/XML/sp/LaxTest.php | 1 + tests/WSSecurity/XML/sp/LaxTsFirstTest.php | 1 + tests/WSSecurity/XML/sp/LaxTsLastTest.php | 1 + tests/WSSecurity/XML/sp/LayoutTest.php | 1 + .../XML/sp/MustNotSendAmendTest.php | 1 + .../XML/sp/MustNotSendCancelTest.php | 1 + .../XML/sp/MustNotSendRenewTest.php | 1 + .../XML/sp/MustSupportClientChallengeTest.php | 1 + .../XML/sp/MustSupportIssuedTokensTest.php | 1 + .../sp/MustSupportRefEmbeddedTokenTest.php | 1 + .../XML/sp/MustSupportRefEncryptedKeyTest.php | 1 + .../XML/sp/MustSupportRefExternalURITest.php | 1 + .../XML/sp/MustSupportRefIssuerSerialTest.php | 1 + .../sp/MustSupportRefKeyIdentifierTest.php | 1 + .../XML/sp/MustSupportRefThumbprintTest.php | 1 + .../XML/sp/MustSupportServerChallengeTest.php | 1 + tests/WSSecurity/XML/sp/NoPasswordTest.php | 1 + .../sp/OnlySignEntireHeadersAndBodyTest.php | 1 + tests/WSSecurity/XML/sp/ProtectTokensTest.php | 1 + .../WSSecurity/XML/sp/ProtectionTokenTest.php | 1 + .../XML/sp/RecipientEncryptionTokenTest.php | 1 + .../XML/sp/RecipientSignatureTokenTest.php | 1 + .../WSSecurity/XML/sp/RecipientTokenTest.php | 1 + tests/WSSecurity/XML/sp/RelTokenTest.php | 1 + .../sp/RequestSecurityTokenTemplateTest.php | 1 + .../XML/sp/RequireAppliesToTest.php | 1 + .../XML/sp/RequireClientCertificateTest.php | 1 + .../XML/sp/RequireClientEntropyTest.php | 1 + .../XML/sp/RequireDerivedKeysTest.php | 1 + .../sp/RequireEmbeddedTokenReferenceTest.php | 1 + .../XML/sp/RequireExplicitDerivedKeysTest.php | 1 + .../sp/RequireExternalUriReferenceTest.php | 1 + .../XML/sp/RequireImpliedDerivedKeysTest.php | 1 + .../XML/sp/RequireInternalReferenceTest.php | 1 + .../sp/RequireIssuerSerialReferenceTest.php | 1 + .../sp/RequireKeyIdentifierReferenceTest.php | 1 + ...uireRequestSecurityTokenCollectionTest.php | 1 + .../XML/sp/RequireServerEntropyTest.php | 1 + .../sp/RequireSignatureConfirmationTest.php | 1 + .../XML/sp/RequireThumbprintReferenceTest.php | 1 + .../XML/sp/RequiredElementsTest.php | 1 + tests/WSSecurity/XML/sp/RequiredPartsTest.php | 1 + tests/WSSecurity/XML/sp/RsaKeyValueTest.php | 1 + .../XML/sp/SC13SecurityContextTokenTest.php | 1 + .../XML/sp/SOAPNormalization10Test.php | 1 + .../WSSecurity/XML/sp/STRTransform10Test.php | 1 + tests/WSSecurity/XML/sp/SamlTokenTest.php | 1 + .../XML/sp/SecureConversationTokenTest.php | 1 + .../XML/sp/SecurityContextTokenTest.php | 1 + .../WSSecurity/XML/sp/SignatureTokenTest.php | 1 + .../WSSecurity/XML/sp/SignedElementsTest.php | 1 + .../SignedEncryptedSupportingTokensTest.php | 1 + ...EndorsingEncryptedSupportingTokensTest.php | 1 + .../SignedEndorsingSupportingTokensTest.php | 1 + tests/WSSecurity/XML/sp/SignedPartsTest.php | 1 + .../XML/sp/SignedSupportingTokensTest.php | 1 + .../XML/sp/SpnegoContextTokenTest.php | 1 + tests/WSSecurity/XML/sp/StrictTest.php | 1 + .../XML/sp/SupportingTokensTest.php | 1 + .../XML/sp/SymmetricBindingTest.php | 1 + .../XML/sp/TransportBindingTest.php | 1 + .../WSSecurity/XML/sp/TransportTokenTest.php | 1 + .../WSSecurity/XML/sp/TripleDesRsa15Test.php | 1 + .../XML/sp/TripleDesSha256Rsa15Test.php | 1 + .../WSSecurity/XML/sp/TripleDesSha256Test.php | 1 + tests/WSSecurity/XML/sp/TripleDesTest.php | 1 + tests/WSSecurity/XML/sp/Trust13Test.php | 1 + tests/WSSecurity/XML/sp/UsernameTokenTest.php | 1 + tests/WSSecurity/XML/sp/Wss10Test.php | 1 + tests/WSSecurity/XML/sp/Wss11Test.php | 1 + .../sp/WssGssKerberosV5ApReqToken11Test.php | 1 + .../XML/sp/WssKerberosV5ApReqToken11Test.php | 1 + .../XML/sp/WssRelV10Token10Test.php | 1 + .../XML/sp/WssRelV10Token11Test.php | 1 + .../XML/sp/WssRelV20Token10Test.php | 1 + .../XML/sp/WssRelV20Token11Test.php | 1 + .../XML/sp/WssSamlV11Token10Test.php | 1 + .../XML/sp/WssSamlV11Token11Test.php | 1 + .../XML/sp/WssSamlV20Token11Test.php | 1 + .../XML/sp/WssUsernameToken10Test.php | 1 + .../XML/sp/WssUsernameToken11Test.php | 1 + .../XML/sp/WssX509Pkcs7Token10Test.php | 1 + .../XML/sp/WssX509Pkcs7Token11Test.php | 1 + .../XML/sp/WssX509PkiPathV1Token10Test.php | 1 + .../XML/sp/WssX509PkiPathV1Token11Test.php | 1 + .../XML/sp/WssX509V1Token11Test.php | 1 + .../XML/sp/WssX509V3Token10Test.php | 1 + .../XML/sp/WssX509V3Token11Test.php | 1 + tests/WSSecurity/XML/sp/X509TokenTest.php | 1 + tests/WSSecurity/XML/sp/XPath10Test.php | 1 + tests/WSSecurity/XML/sp/XPathFilter20Test.php | 1 + tests/WSSecurity/XML/sp/XPathTest.php | 1 + tests/WSSecurity/XML/wsa/ActionTest.php | 1 + tests/WSSecurity/XML/wsa/AddressTest.php | 1 + .../XML/wsa/EndpointReferenceTest.php | 1 + tests/WSSecurity/XML/wsa/FaultToTest.php | 1 + tests/WSSecurity/XML/wsa/FromTest.php | 1 + tests/WSSecurity/XML/wsa/MessageIDTest.php | 1 + tests/WSSecurity/XML/wsa/MetadataTest.php | 1 + .../WSSecurity/XML/wsa/ProblemActionTest.php | 1 + .../XML/wsa/ProblemHeaderQNameTest.php | 1 + tests/WSSecurity/XML/wsa/ProblemIRITest.php | 1 + .../XML/wsa/ReferenceParametersTest.php | 1 + tests/WSSecurity/XML/wsa/RelatesToTest.php | 1 + tests/WSSecurity/XML/wsa/ReplyToTest.php | 1 + tests/WSSecurity/XML/wsa/RetryAfterTest.php | 1 + tests/WSSecurity/XML/wsa/SoapActionTest.php | 1 + tests/WSSecurity/XML/wsa/ToTest.php | 1 + tests/WSSecurity/XML/wsp/AllTest.php | 1 + tests/WSSecurity/XML/wsp/AppliesToTest.php | 1 + tests/WSSecurity/XML/wsp/ExactlyOneTest.php | 1 + .../XML/wsp/PolicyAttachmentTest.php | 1 + .../XML/wsp/PolicyReferenceTest.php | 1 + tests/WSSecurity/XML/wsp/PolicyTest.php | 1 + .../XML/wsse/BinarySecurityTokenTest.php | 1 + tests/WSSecurity/XML/wsse/EmbeddedTest.php | 1 + .../WSSecurity/XML/wsse/KeyIdentifierTest.php | 1 + tests/WSSecurity/XML/wsse/NonceTest.php | 1 + tests/WSSecurity/XML/wsse/PasswordTest.php | 1 + tests/WSSecurity/XML/wsse/ReferenceTest.php | 1 + tests/WSSecurity/XML/wsse/SecurityTest.php | 1 + .../XML/wsse/SecurityTokenReferenceTest.php | 1 + .../XML/wsse/TransformationParametersTest.php | 1 + tests/WSSecurity/XML/wsse/UsernameTest.php | 1 + .../WSSecurity/XML/wsse/UsernameTokenTest.php | 1 + .../XML/wst/AllowPostdatingTest.php | 1 + .../XML/wst/AuthenticationTypeTest.php | 1 + .../WSSecurity/XML/wst/AuthenticatorTest.php | 1 + .../WSSecurity/XML/wst/BinaryExchangeTest.php | 1 + tests/WSSecurity/XML/wst/BinarySecretTest.php | 1 + tests/WSSecurity/XML/wst/CancelTargetTest.php | 1 + .../XML/wst/CanonicalizationAlgorithmTest.php | 1 + tests/WSSecurity/XML/wst/ChallengeTest.php | 1 + tests/WSSecurity/XML/wst/ClaimsTest.php | 1 + tests/WSSecurity/XML/wst/CodeTest.php | 1 + tests/WSSecurity/XML/wst/CombinedHashTest.php | 1 + .../XML/wst/ComputedKeyAlgorithmTest.php | 1 + tests/WSSecurity/XML/wst/ComputedKeyTest.php | 1 + tests/WSSecurity/XML/wst/DelegatableTest.php | 1 + tests/WSSecurity/XML/wst/DelegateToTest.php | 1 + tests/WSSecurity/XML/wst/EncryptWithTest.php | 1 + .../XML/wst/EncryptionAlgorithmTest.php | 1 + tests/WSSecurity/XML/wst/EncryptionTest.php | 1 + tests/WSSecurity/XML/wst/EntropyTest.php | 1 + tests/WSSecurity/XML/wst/ForwardableTest.php | 1 + tests/WSSecurity/XML/wst/IssuedTokensTest.php | 1 + tests/WSSecurity/XML/wst/IssuerTest.php | 1 + .../XML/wst/KeyExchangeTokenTest.php | 1 + tests/WSSecurity/XML/wst/KeySizeTest.php | 1 + tests/WSSecurity/XML/wst/KeyTypeTest.php | 1 + .../XML/wst/KeyWrapAlgorithmTest.php | 1 + tests/WSSecurity/XML/wst/LifetimeTest.php | 1 + tests/WSSecurity/XML/wst/OnBehalfOfTest.php | 1 + tests/WSSecurity/XML/wst/ParticipantTest.php | 1 + tests/WSSecurity/XML/wst/ParticipantsTest.php | 1 + tests/WSSecurity/XML/wst/PrimaryTest.php | 1 + .../XML/wst/ProofEncryptionTest.php | 1 + tests/WSSecurity/XML/wst/ReasonTest.php | 1 + tests/WSSecurity/XML/wst/RenewTargetTest.php | 1 + tests/WSSecurity/XML/wst/RenewingTest.php | 1 + tests/WSSecurity/XML/wst/RequestKETTest.php | 1 + .../RequestSecurityTokenCollectionTest.php | 1 + ...estSecurityTokenResponseCollectionTest.php | 1 + .../wst/RequestSecurityTokenResponseTest.php | 1 + .../XML/wst/RequestSecurityTokenTest.php | 1 + tests/WSSecurity/XML/wst/RequestTypeTest.php | 1 + .../wst/RequestedAttachedReferenceTest.php | 1 + .../XML/wst/RequestedProofTokenTest.php | 1 + .../XML/wst/RequestedSecurityTokenTest.php | 1 + .../XML/wst/RequestedTokenCancelledTest.php | 1 + .../wst/RequestedUnattachedReferenceTest.php | 1 + .../XML/wst/SignChallengeResponseTest.php | 1 + .../WSSecurity/XML/wst/SignChallengeTest.php | 1 + tests/WSSecurity/XML/wst/SignWithTest.php | 1 + .../XML/wst/SignatureAlgorithmTest.php | 1 + tests/WSSecurity/XML/wst/StatusTest.php | 1 + tests/WSSecurity/XML/wst/TokenTypeTest.php | 1 + tests/WSSecurity/XML/wst/UseKeyTest.php | 1 + .../WSSecurity/XML/wst/ValidateTargetTest.php | 1 + tests/WSSecurity/XML/wsu/CreatedTest.php | 1 + tests/WSSecurity/XML/wsu/ExpiresTest.php | 1 + tests/WSSecurity/XML/wsu/TimestampTest.php | 1 + tests/WSSecurity/XML/wsx/DialectTest.php | 1 + tests/WSSecurity/XML/wsx/GetMetadataTest.php | 1 + tests/WSSecurity/XML/wsx/IdentifierTest.php | 1 + tests/WSSecurity/XML/wsx/LocationTest.php | 1 + .../XML/wsx/MetadataReferenceTest.php | 1 + .../XML/wsx/MetadataSectionTest.php | 1 + tests/WSSecurity/XML/wsx/MetadataTest.php | 1 + 306 files changed, 700 insertions(+), 262 deletions(-) diff --git a/tests/WSSecurity/XML/auth/ClaimTypeTest.php b/tests/WSSecurity/XML/auth/ClaimTypeTest.php index 65f1f80b..c17974bf 100644 --- a/tests/WSSecurity/XML/auth/ClaimTypeTest.php +++ b/tests/WSSecurity/XML/auth/ClaimTypeTest.php @@ -4,9 +4,12 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractClaimType; use SimpleSAML\WSSecurity\XML\auth\ClaimType; use SimpleSAML\WSSecurity\XML\auth\Description; use SimpleSAML\WSSecurity\XML\auth\DisplayName; @@ -23,11 +26,11 @@ /** * Tests for auth:ClaimType. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ClaimType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractClaimType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ClaimType::class)] +#[CoversClass(AbstractClaimType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ClaimTypeTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/auth/ConstrainedManyValueTest.php b/tests/WSSecurity/XML/auth/ConstrainedManyValueTest.php index 0a865f03..5af7b0ec 100644 --- a/tests/WSSecurity/XML/auth/ConstrainedManyValueTest.php +++ b/tests/WSSecurity/XML/auth/ConstrainedManyValueTest.php @@ -4,8 +4,12 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; +use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\TestCase; use SimpleSAML\Assert\AssertionFailedException; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedManyValueType; use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\WSSecurity\XML\auth\Value; use SimpleSAML\WSSecurity\XML\auth\ValueOneOf; @@ -16,19 +20,20 @@ /** * Tests for auth:ConstrainedManyValueType. * - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedManyValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(StructuredValue::class)] +#[CoversClass(ValueOneOf::class)] +#[CoversClass(AbstractConstrainedManyValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ConstrainedManyValueTest extends TestCase { /** * Test creating an object from scratch. * * @param class-string $class - * - * @dataProvider classProvider */ + #[DataProvider('classProvider')] public function testMarshallingEmpty(string $class): void { $x = new $class([], []); @@ -40,9 +45,8 @@ public function testMarshallingEmpty(string $class): void * Test creating an object from scratch with both Value and StructuredValue. * * @param class-string $class - * - * @dataProvider classProvider */ + #[DataProvider('classProvider')] public function testMarshallingIllegalCombination(string $class): void { $attr1 = new XMLAttribute('urn:x-simplesamlphp:namespace', 'ssp', 'attr1', 'testval1'); diff --git a/tests/WSSecurity/XML/auth/ConstrainedSingleValueTest.php b/tests/WSSecurity/XML/auth/ConstrainedSingleValueTest.php index ddd638c6..ec8fa7ed 100644 --- a/tests/WSSecurity/XML/auth/ConstrainedSingleValueTest.php +++ b/tests/WSSecurity/XML/auth/ConstrainedSingleValueTest.php @@ -4,8 +4,12 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; +use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\TestCase; use SimpleSAML\Assert\AssertionFailedException; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType; use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\WSSecurity\XML\auth\Value; use SimpleSAML\WSSecurity\XML\auth\ValueGreaterThan; @@ -21,19 +25,24 @@ /** * Tests for auth:ConstrainedSingleValueType. * - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ValueGreaterThan::class)] +#[CoversClass(ValueGreaterThanOrEqual::class)] +#[CoversClass(ValueLessThan::class)] +#[CoversClass(ValueLessThanOrEqual::class)] +#[CoversClass(ValueLowerBound::class)] +#[CoversClass(ValueUpperBound::class)] +#[CoversClass(AbstractConstrainedSingleValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ConstrainedSingleValueTest extends TestCase { /** * Test creating an object from scratch. * * @param class-string $class - * - * @dataProvider classProvider */ + #[DataProvider('classProvider')] public function testMarshallingEmpty(string $class): void { $x = new $class(null, null); @@ -45,9 +54,8 @@ public function testMarshallingEmpty(string $class): void * Test creating an object from scratch with both Value and StructuredValue. * * @param class-string $class - * - * @dataProvider classProvider */ + #[DataProvider('classProvider')] public function testMarshallingIllegalCombination(string $class): void { $attr1 = new XMLAttribute('urn:x-simplesamlphp:namespace', 'ssp', 'attr1', 'testval1'); diff --git a/tests/WSSecurity/XML/auth/ConstrainedValueTest.php b/tests/WSSecurity/XML/auth/ConstrainedValueTest.php index 5d04ed09..e4bcc15d 100644 --- a/tests/WSSecurity/XML/auth/ConstrainedValueTest.php +++ b/tests/WSSecurity/XML/auth/ConstrainedValueTest.php @@ -4,7 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; +use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedValueType; use SimpleSAML\WSSecurity\XML\auth\ConstrainedValue; //use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\WSSecurity\XML\auth\Value; @@ -22,11 +26,11 @@ /** * Tests for auth:ConstrainedValue. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ConstrainedValue - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ConstrainedValue::class)] +#[CoversClass(AbstractConstrainedValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ConstrainedValueTest extends TestCase { private static string $resourcePath; @@ -64,11 +68,10 @@ public static function setUpBeforeClass(): void /** * Test creating a ConstrainedValue object from scratch. * - * @dataProvider classProvider - * * @param class-string $class * @param string $xmlRepresentation */ + #[DataProvider('classProvider')] public function testMarshalling(string $class, string $xmlRepresentation): void { $xmlRepresentation = DOMDocumentFactory::fromFile( @@ -101,11 +104,10 @@ public function testMarshalling(string $class, string $xmlRepresentation): void /** * Test creating a ConstrainedValue from XML. * - * @dataProvider classProvider - * * @param class-string $class * @param string $xmlRepresentation */ + #[DataProvider('classProvider')] public function testUnmarshalling(string $class, string $xmlRepresentation): void { $xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/WSSecurity/XML/auth/DescriptionTest.php b/tests/WSSecurity/XML/auth/DescriptionTest.php index e3d37053..28d5f044 100644 --- a/tests/WSSecurity/XML/auth/DescriptionTest.php +++ b/tests/WSSecurity/XML/auth/DescriptionTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractDescriptionType; use SimpleSAML\WSSecurity\XML\auth\Description; use SimpleSAML\XML\Attribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,11 +19,11 @@ /** * Tests for auth:Description. * - * @covers \SimpleSAML\WSSecurity\XML\auth\Description - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractDescriptionType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(Description::class)] +#[CoversClass(AbstractDescriptionType::class)] +#[CoversClass(AbstractAuthElement::class)] final class DescriptionTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/DisplayNameTest.php b/tests/WSSecurity/XML/auth/DisplayNameTest.php index 01285ae9..38b34b8e 100644 --- a/tests/WSSecurity/XML/auth/DisplayNameTest.php +++ b/tests/WSSecurity/XML/auth/DisplayNameTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractDisplayNameType; use SimpleSAML\WSSecurity\XML\auth\DisplayName; use SimpleSAML\XML\Attribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,11 +19,11 @@ /** * Tests for auth:DisplayName. * - * @covers \SimpleSAML\WSSecurity\XML\auth\DisplayName - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractDisplayNameType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(DisplayName::class)] +#[CoversClass(AbstractDisplayNameType::class)] +#[CoversClass(AbstractAuthElement::class)] final class DisplayNameTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/DisplayValueTest.php b/tests/WSSecurity/XML/auth/DisplayValueTest.php index 69b58300..452bd795 100644 --- a/tests/WSSecurity/XML/auth/DisplayValueTest.php +++ b/tests/WSSecurity/XML/auth/DisplayValueTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractDisplayValueType; use SimpleSAML\WSSecurity\XML\auth\DisplayValue; use SimpleSAML\XML\Attribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,11 +19,11 @@ /** * Tests for auth:DisplayValue. * - * @covers \SimpleSAML\WSSecurity\XML\auth\DisplayValue - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractDisplayValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(DisplayValue::class)] +#[CoversClass(AbstractDisplayValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class DisplayValueTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/EncryptedValueTest.php b/tests/WSSecurity/XML/auth/EncryptedValueTest.php index 7399de60..9daf6098 100644 --- a/tests/WSSecurity/XML/auth/EncryptedValueTest.php +++ b/tests/WSSecurity/XML/auth/EncryptedValueTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractEncryptedValueType; use SimpleSAML\WSSecurity\XML\auth\EncryptedValue; use SimpleSAML\XML\DOMDocumentFactory; use SimpleSAML\XML\TestUtils\SerializableElementTestTrait; @@ -21,11 +24,11 @@ /** * Tests for auth:EncryptedValue. * - * @covers \SimpleSAML\WSSecurity\XML\auth\EncryptedValue - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractEncryptedValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(EncryptedValue::class)] +#[CoversClass(AbstractEncryptedValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class EncryptedValueTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/StructuredValueTest.php b/tests/WSSecurity/XML/auth/StructuredValueTest.php index 6755ca71..bea7a821 100644 --- a/tests/WSSecurity/XML/auth/StructuredValueTest.php +++ b/tests/WSSecurity/XML/auth/StructuredValueTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractStructuredValueType; use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -17,11 +20,11 @@ /** * Tests for auth:StructuredValue. * - * @covers \SimpleSAML\WSSecurity\XML\auth\StructuredValue - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractStructuredValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(StructuredValue::class)] +#[CoversClass(AbstractStructuredValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class StructuredValueTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/ValueGreaterThanOrEqualTest.php b/tests/WSSecurity/XML/auth/ValueGreaterThanOrEqualTest.php index 87e1de38..0fd62e33 100644 --- a/tests/WSSecurity/XML/auth/ValueGreaterThanOrEqualTest.php +++ b/tests/WSSecurity/XML/auth/ValueGreaterThanOrEqualTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType; use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\WSSecurity\XML\auth\ValueGreaterThanOrEqual; use SimpleSAML\XML\Attribute as XMLAttribute; @@ -18,11 +21,11 @@ /** * Tests for auth:ValueGreaterThanOrEqual. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ValueGreaterThanOrEqual - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ValueGreaterThanOrEqual::class)] +#[CoversClass(AbstractConstrainedSingleValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ValueGreaterThanOrEqualTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/ValueGreaterThanTest.php b/tests/WSSecurity/XML/auth/ValueGreaterThanTest.php index 9b36025a..c9051a85 100644 --- a/tests/WSSecurity/XML/auth/ValueGreaterThanTest.php +++ b/tests/WSSecurity/XML/auth/ValueGreaterThanTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType; use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\WSSecurity\XML\auth\ValueGreaterThan; use SimpleSAML\XML\Attribute as XMLAttribute; @@ -18,11 +21,11 @@ /** * Tests for auth:ValueGreaterThan. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ValueGreaterThan - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ValueGreaterThan::class)] +#[CoversClass(AbstractConstrainedSingleValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ValueGreaterThanTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/ValueInRangenTest.php b/tests/WSSecurity/XML/auth/ValueInRangenTest.php index de6a9b46..709fdc9c 100644 --- a/tests/WSSecurity/XML/auth/ValueInRangenTest.php +++ b/tests/WSSecurity/XML/auth/ValueInRangenTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractValueInRangeType; use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\WSSecurity\XML\auth\Value; use SimpleSAML\WSSecurity\XML\auth\ValueInRangen; @@ -21,11 +24,11 @@ /** * Tests for auth:ValueInRangen. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ValueInRangen - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractValueInRangeType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ValueInRangen::class)] +#[CoversClass(AbstractValueInRangeType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ValueInRangenTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/ValueLessThanOrEqualTest.php b/tests/WSSecurity/XML/auth/ValueLessThanOrEqualTest.php index 9ba7e757..4a7a293b 100644 --- a/tests/WSSecurity/XML/auth/ValueLessThanOrEqualTest.php +++ b/tests/WSSecurity/XML/auth/ValueLessThanOrEqualTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType; use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\WSSecurity\XML\auth\ValueLessThanOrEqual; use SimpleSAML\XML\Attribute as XMLAttribute; @@ -18,11 +21,11 @@ /** * Tests for auth:ValueLessThanOrEqual. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ValueLessThanOrEqual - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ValueLessThanOrEqual::class)] +#[CoversClass(AbstractConstrainedSingleValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ValueLessThanOrEqualTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/ValueLessThanTest.php b/tests/WSSecurity/XML/auth/ValueLessThanTest.php index f62c2112..e2625161 100644 --- a/tests/WSSecurity/XML/auth/ValueLessThanTest.php +++ b/tests/WSSecurity/XML/auth/ValueLessThanTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType; use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\WSSecurity\XML\auth\ValueLessThan; use SimpleSAML\XML\Attribute as XMLAttribute; @@ -18,11 +21,11 @@ /** * Tests for auth:ValueLessThan. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ValueLessThan - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ValueLessThan::class)] +#[CoversClass(AbstractConstrainedSingleValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ValueLessThanTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/ValueLowerBoundTest.php b/tests/WSSecurity/XML/auth/ValueLowerBoundTest.php index fd317ba2..71af7b86 100644 --- a/tests/WSSecurity/XML/auth/ValueLowerBoundTest.php +++ b/tests/WSSecurity/XML/auth/ValueLowerBoundTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType; use SimpleSAML\WSSecurity\XML\auth\Value; use SimpleSAML\WSSecurity\XML\auth\ValueLowerBound; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,11 +19,11 @@ /** * Tests for auth:ValueLowerBound. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ValueLowerBound - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ValueLowerBound::class)] +#[CoversClass(AbstractConstrainedSingleValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ValueLowerBoundTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/ValueOneOfWithStructuredValuesTest.php b/tests/WSSecurity/XML/auth/ValueOneOfWithStructuredValuesTest.php index 0d144bfd..6db05ae2 100644 --- a/tests/WSSecurity/XML/auth/ValueOneOfWithStructuredValuesTest.php +++ b/tests/WSSecurity/XML/auth/ValueOneOfWithStructuredValuesTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedManyValueType; use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\WSSecurity\XML\auth\ValueOneOf; use SimpleSAML\XML\Attribute as XMLAttribute; @@ -18,11 +21,11 @@ /** * Tests for auth:Value. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ValueOneOf - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedManyValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ValueOneOf::class)] +#[CoversClass(AbstractConstrainedManyValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ValueOneOfWithStructuredValuesTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/ValueOneOfWithValuesTest.php b/tests/WSSecurity/XML/auth/ValueOneOfWithValuesTest.php index d86cc9f7..73cfd960 100644 --- a/tests/WSSecurity/XML/auth/ValueOneOfWithValuesTest.php +++ b/tests/WSSecurity/XML/auth/ValueOneOfWithValuesTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedManyValueType; use SimpleSAML\WSSecurity\XML\auth\Value; use SimpleSAML\WSSecurity\XML\auth\ValueOneOf; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,11 +19,11 @@ /** * Tests for auth:Value. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ValueOneOf - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedManyValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ValueOneOf::class)] +#[CoversClass(AbstractConstrainedManyValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ValueOneOfWithValuesTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/ValueTest.php b/tests/WSSecurity/XML/auth/ValueTest.php index 46b526ca..9340771f 100644 --- a/tests/WSSecurity/XML/auth/ValueTest.php +++ b/tests/WSSecurity/XML/auth/ValueTest.php @@ -4,7 +4,9 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; use SimpleSAML\WSSecurity\XML\auth\Value; use SimpleSAML\XML\DOMDocumentFactory; use SimpleSAML\XML\TestUtils\SerializableElementTestTrait; @@ -15,10 +17,10 @@ /** * Tests for auth:Value. * - * @covers \SimpleSAML\WSSecurity\XML\auth\Value - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(Value::class)] +#[CoversClass(AbstractAuthElement::class)] final class ValueTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/auth/ValueUpperBoundTest.php b/tests/WSSecurity/XML/auth/ValueUpperBoundTest.php index b539a835..fe433378 100644 --- a/tests/WSSecurity/XML/auth/ValueUpperBoundTest.php +++ b/tests/WSSecurity/XML/auth/ValueUpperBoundTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\auth; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement; +use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType; use SimpleSAML\WSSecurity\XML\auth\StructuredValue; use SimpleSAML\WSSecurity\XML\auth\ValueUpperBound; use SimpleSAML\XML\Attribute as XMLAttribute; @@ -18,11 +21,11 @@ /** * Tests for auth:ValueUpperBound. * - * @covers \SimpleSAML\WSSecurity\XML\auth\ValueUpperBound - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType - * @covers \SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement * @package simplesamlphp/ws-security */ +#[CoversClass(ValueUpperBound::class)] +#[CoversClass(AbstractConstrainedSingleValueType::class)] +#[CoversClass(AbstractAuthElement::class)] final class ValueUpperBoundTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/AdditionalContextProcessedTest.php b/tests/WSSecurity/XML/fed/AdditionalContextProcessedTest.php index 93fb6afb..c852b50a 100644 --- a/tests/WSSecurity/XML/fed/AdditionalContextProcessedTest.php +++ b/tests/WSSecurity/XML/fed/AdditionalContextProcessedTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\AdditionalContextProcessed; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,12 +21,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\AdditionalContextProcessedTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\AdditionalContextProcessed - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(AdditionalContextProcessed::class)] +#[CoversClass(AbstractAssertionType::class)] +#[CoversClass(AbstractFedElement::class)] final class AdditionalContextProcessedTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/ApplicationServiceEndpointTest.php b/tests/WSSecurity/XML/fed/ApplicationServiceEndpointTest.php index f90de77d..e229fad9 100644 --- a/tests/WSSecurity/XML/fed/ApplicationServiceEndpointTest.php +++ b/tests/WSSecurity/XML/fed/ApplicationServiceEndpointTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\ApplicationServiceEndpoint; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:ApplicationServiceEndpoint. * - * @covers \SimpleSAML\WSSecurity\XML\fed\ApplicationServiceEndpoint - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(ApplicationServiceEndpoint::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class ApplicationServiceEndpointTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/AttributeServiceEndpointTest.php b/tests/WSSecurity/XML/fed/AttributeServiceEndpointTest.php index 8353bb10..c1e8af3a 100644 --- a/tests/WSSecurity/XML/fed/AttributeServiceEndpointTest.php +++ b/tests/WSSecurity/XML/fed/AttributeServiceEndpointTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\AttributeServiceEndpoint; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -28,6 +31,9 @@ * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(AttributeServiceEndpoint::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class AttributeServiceEndpointTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/AttributeServiceEndpointsTest.php b/tests/WSSecurity/XML/fed/AttributeServiceEndpointsTest.php index 1f0db3c5..68fdfb60 100644 --- a/tests/WSSecurity/XML/fed/AttributeServiceEndpointsTest.php +++ b/tests/WSSecurity/XML/fed/AttributeServiceEndpointsTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\AttributeServiceEndpoints; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:AttributeServiceEndpoints. * - * @covers \SimpleSAML\WSSecurity\XML\fed\AttributeServiceEndpoints - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(AttributeServiceEndpoints::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class AttributeServiceEndpointsTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/AuthenticationTokenTest.php b/tests/WSSecurity/XML/fed/AuthenticationTokenTest.php index e8fb35d2..79dfff6a 100644 --- a/tests/WSSecurity/XML/fed/AuthenticationTokenTest.php +++ b/tests/WSSecurity/XML/fed/AuthenticationTokenTest.php @@ -4,10 +4,13 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\Test\WSSecurity\XML\sp\NestedPolicyTypeTestTrait; use SimpleSAML\WSSecurity\XML\fed\AuthenticationToken; +use SimpleSAML\WSSecurity\XML\sp\AbstractNestedPolicyType; +use SimpleSAML\WSSecurity\XML\sp\AbstractSpElement; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; use SimpleSAML\XML\DOMDocumentFactory; @@ -19,12 +22,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\AuthenticationTokenTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\AuthenticationToken - * @covers \SimpleSAML\WSSecurity\XML\sp\AbstractNestedPolicyType - * @covers \SimpleSAML\WSSecurity\XML\sp\AbstractSpElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(AuthenticationToken::class)] +#[CoversClass(AbstractNestedPolicyType::class)] +#[CoversClass(AbstractSpElement::class)] final class AuthenticationTokenTest extends TestCase { use NestedPolicyTypeTestTrait; diff --git a/tests/WSSecurity/XML/fed/AutomaticPseudonymsTest.php b/tests/WSSecurity/XML/fed/AutomaticPseudonymsTest.php index ccd9e3e5..aa4a274e 100644 --- a/tests/WSSecurity/XML/fed/AutomaticPseudonymsTest.php +++ b/tests/WSSecurity/XML/fed/AutomaticPseudonymsTest.php @@ -4,7 +4,9 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\AutomaticPseudonyms; use SimpleSAML\XML\DOMDocumentFactory; use SimpleSAML\XML\TestUtils\SchemaValidationTestTrait; @@ -15,11 +17,10 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\AutomaticPseudonymsTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\AutomaticPseudonyms - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(AutomaticPseudonyms::class)] +#[CoversClass(AbstractFedElement::class)] final class AutomaticPseudonymsTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/ClaimDialectTest.php b/tests/WSSecurity/XML/fed/ClaimDialectTest.php index 00cb7b45..20010e7b 100644 --- a/tests/WSSecurity/XML/fed/ClaimDialectTest.php +++ b/tests/WSSecurity/XML/fed/ClaimDialectTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Assert\AssertionFailedException; +use SimpleSAML\WSSecurity\XML\fed\AbstractClaimDialectType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\ClaimDialect; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,11 +21,11 @@ /** * Tests for fed:ClaimDialect. * - * @covers \SimpleSAML\WSSecurity\XML\fed\ClaimDialect - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractClaimDialectType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(ClaimDialect::class)] +#[CoversClass(AbstractClaimDialectType::class)] +#[CoversClass(AbstractFedElement::class)] final class ClaimDialectTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/ClaimDialectsOfferedTest.php b/tests/WSSecurity/XML/fed/ClaimDialectsOfferedTest.php index d1b0f6b4..348db219 100644 --- a/tests/WSSecurity/XML/fed/ClaimDialectsOfferedTest.php +++ b/tests/WSSecurity/XML/fed/ClaimDialectsOfferedTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractClaimDialectsOfferedType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\ClaimDialect; use SimpleSAML\WSSecurity\XML\fed\ClaimDialectsOffered; use SimpleSAML\XML\Attribute as XMLAttribute; @@ -19,11 +22,11 @@ /** * Tests for fed:ClaimDialectsOffered. * - * @covers \SimpleSAML\WSSecurity\XML\fed\ClaimDialectsOffered - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractClaimDialectsOfferedType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(ClaimDialectsOffered::class)] +#[CoversClass(AbstractClaimDialectsOfferedType::class)] +#[CoversClass(AbstractFedElement::class)] final class ClaimDialectsOfferedTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/ClaimTypesOfferedTest.php b/tests/WSSecurity/XML/fed/ClaimTypesOfferedTest.php index f7b35587..f03013d1 100644 --- a/tests/WSSecurity/XML/fed/ClaimTypesOfferedTest.php +++ b/tests/WSSecurity/XML/fed/ClaimTypesOfferedTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\auth\ClaimType; @@ -11,6 +12,8 @@ use SimpleSAML\WSSecurity\XML\auth\DisplayName; use SimpleSAML\WSSecurity\XML\auth\DisplayValue; use SimpleSAML\WSSecurity\XML\auth\Value; +use SimpleSAML\WSSecurity\XML\fed\AbstractClaimTypesOfferedType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\ClaimTypesOffered; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -22,12 +25,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\ClaimTypesOfferedTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\ClaimTypesOffered - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractClaimTypesOfferedType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(ClaimTypesOffered::class)] +#[CoversClass(AbstractClaimTypesOfferedType::class)] +#[CoversClass(AbstractFedElement::class)] final class ClaimTypesOfferedTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/ClaimTypesRequestedTest.php b/tests/WSSecurity/XML/fed/ClaimTypesRequestedTest.php index a9a019a3..08164cc6 100644 --- a/tests/WSSecurity/XML/fed/ClaimTypesRequestedTest.php +++ b/tests/WSSecurity/XML/fed/ClaimTypesRequestedTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\auth\ClaimType; @@ -11,6 +12,8 @@ use SimpleSAML\WSSecurity\XML\auth\DisplayName; use SimpleSAML\WSSecurity\XML\auth\DisplayValue; use SimpleSAML\WSSecurity\XML\auth\Value; +use SimpleSAML\WSSecurity\XML\fed\AbstractClaimTypesRequestedType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\ClaimTypesRequested; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -22,12 +25,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\ClaimTypesRequestedTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\ClaimTypesRequested - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractClaimTypesRequestedType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(ClaimTypesRequested::class)] +#[CoversClass(AbstractClaimTypesRequestedType::class)] +#[CoversClass(AbstractFedElement::class)] final class ClaimTypesRequestedTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/ClientPseudonymTest.php b/tests/WSSecurity/XML/fed/ClientPseudonymTest.php index 65ebb2d0..4d0522e6 100644 --- a/tests/WSSecurity/XML/fed/ClientPseudonymTest.php +++ b/tests/WSSecurity/XML/fed/ClientPseudonymTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractClientPseudonymType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\ClientPseudonym; use SimpleSAML\WSSecurity\XML\fed\DisplayName; use SimpleSAML\WSSecurity\XML\fed\EMail; @@ -22,12 +25,11 @@ /** * Tests for fed:ClientPseudonym. * - * @covers \SimpleSAML\WSSecurity\XML\fed\ClientPseudonym - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractClientPseudonymType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(ClientPseudonym::class)] +#[CoversClass(AbstractClientPseudonymType::class)] +#[CoversClass(AbstractFedElement::class)] final class ClientPseudonymTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/DisplayNameTest.php b/tests/WSSecurity/XML/fed/DisplayNameTest.php index 1dff32df..2f347100 100644 --- a/tests/WSSecurity/XML/fed/DisplayNameTest.php +++ b/tests/WSSecurity/XML/fed/DisplayNameTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\DisplayName; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,12 +19,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\DisplayNameTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\DisplayName - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(DisplayName::class)] +#[CoversClass(AbstractAttributeExtensibleString::class)] +#[CoversClass(AbstractFedElement::class)] final class DisplayNameTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/EMailTest.php b/tests/WSSecurity/XML/fed/EMailTest.php index 1ea209ee..44104a96 100644 --- a/tests/WSSecurity/XML/fed/EMailTest.php +++ b/tests/WSSecurity/XML/fed/EMailTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\EMail; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,12 +19,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\EMailTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\EMail - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(EMail::class)] +#[CoversClass(AbstractAttributeExtensibleString::class)] +#[CoversClass(AbstractFedElement::class)] final class EMailTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/FederationIDTest.php b/tests/WSSecurity/XML/fed/FederationIDTest.php index dc83b537..8c1be323 100644 --- a/tests/WSSecurity/XML/fed/FederationIDTest.php +++ b/tests/WSSecurity/XML/fed/FederationIDTest.php @@ -4,8 +4,12 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString; +use SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleURI; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\FederationID; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -17,13 +21,12 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\FederationIDTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\FederationID - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleURI - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(FederationID::class)] +#[CoversClass(AbstractAttributeExtensibleURI::class)] +#[CoversClass(AbstractAttributeExtensibleString::class)] +#[CoversClass(AbstractFedElement::class)] final class FederationIDTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/FederationMetadataHandlerTest.php b/tests/WSSecurity/XML/fed/FederationMetadataHandlerTest.php index 4218eb16..632744dc 100644 --- a/tests/WSSecurity/XML/fed/FederationMetadataHandlerTest.php +++ b/tests/WSSecurity/XML/fed/FederationMetadataHandlerTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractFederationMetadataHandlerType; use SimpleSAML\WSSecurity\XML\fed\FederationMetadataHandler; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -17,12 +20,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\FederationMetadataHandlerTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\FederationMetadataHandler - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFederationMetadataHandlerType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(FederationMetadataHandler::class)] +#[CoversClass(AbstractFederationMetadataHandlerType::class)] +#[CoversClass(AbstractFedElement::class)] final class FederationMetadataHandlerTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/FederationMetadataTest.php b/tests/WSSecurity/XML/fed/FederationMetadataTest.php index a7993df7..c67210b9 100644 --- a/tests/WSSecurity/XML/fed/FederationMetadataTest.php +++ b/tests/WSSecurity/XML/fed/FederationMetadataTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractFederationMetadataType; use SimpleSAML\WSSecurity\XML\fed\Federation; use SimpleSAML\WSSecurity\XML\fed\FederationMetadata; use SimpleSAML\XML\Attribute as XMLAttribute; @@ -19,12 +22,11 @@ /** * Tests for fed:FederationMetadata. * - * @covers \SimpleSAML\WSSecurity\XML\fed\FederationMetadata - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFederationMetadataType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(FederationMetadata::class)] +#[CoversClass(AbstractFederationMetadataType::class)] +#[CoversClass(AbstractFedElement::class)] final class FederationMetadataTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/FederationTest.php b/tests/WSSecurity/XML/fed/FederationTest.php index 38ed5ee5..48c87a67 100644 --- a/tests/WSSecurity/XML/fed/FederationTest.php +++ b/tests/WSSecurity/XML/fed/FederationTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractFederationType; use SimpleSAML\WSSecurity\XML\fed\Federation; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -17,12 +20,11 @@ /** * Tests for fed:Federation. * - * @covers \SimpleSAML\WSSecurity\XML\fed\Federation - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFederationType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(Federation::class)] +#[CoversClass(AbstractFederationType::class)] +#[CoversClass(AbstractFedElement::class)] final class FederationTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/FilterPseudonymsTest.php b/tests/WSSecurity/XML/fed/FilterPseudonymsTest.php index 80cd4f38..d6ec265e 100644 --- a/tests/WSSecurity/XML/fed/FilterPseudonymsTest.php +++ b/tests/WSSecurity/XML/fed/FilterPseudonymsTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractFilterPseudonymsType; use SimpleSAML\WSSecurity\XML\fed\FilterPseudonyms; use SimpleSAML\WSSecurity\XML\fed\PseudonymBasis; use SimpleSAML\WSSecurity\XML\fed\RelativeTo; @@ -22,12 +25,11 @@ /** * Tests for fed:FilterPseudonyms. * - * @covers \SimpleSAML\WSSecurity\XML\fed\FilterPseudonyms - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFilterPseudonymsType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(FilterPseudonyms::class)] +#[CoversClass(AbstractFilterPseudonymsType::class)] +#[CoversClass(AbstractFedElement::class)] final class FilterPseudonymsTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/FreshnessTest.php b/tests/WSSecurity/XML/fed/FreshnessTest.php index ef4e4ea7..84b0a14a 100644 --- a/tests/WSSecurity/XML/fed/FreshnessTest.php +++ b/tests/WSSecurity/XML/fed/FreshnessTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractFreshnessType; use SimpleSAML\WSSecurity\XML\fed\Freshness; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -17,12 +20,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\FreshnessTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\Freshness - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFreshnessType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(Freshness::class)] +#[CoversClass(AbstractFreshnessType::class)] +#[CoversClass(AbstractFedElement::class)] final class FreshnessTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/IssuerNameTest.php b/tests/WSSecurity/XML/fed/IssuerNameTest.php index bc212881..62f26a42 100644 --- a/tests/WSSecurity/XML/fed/IssuerNameTest.php +++ b/tests/WSSecurity/XML/fed/IssuerNameTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractIssuerNameType; use SimpleSAML\WSSecurity\XML\fed\IssuerName; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,11 +19,11 @@ /** * Tests for fed:IssuerName. * - * @covers \SimpleSAML\WSSecurity\XML\fed\IssuerName - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractIssuerNameType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(IssuerName::class)] +#[CoversClass(AbstractIssuerNameType::class)] +#[CoversClass(AbstractFedElement::class)] final class IssuerNameTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/IssuesSpecificPolicyFaultTest.php b/tests/WSSecurity/XML/fed/IssuesSpecificPolicyFaultTest.php index 44596807..b0a4ddd5 100644 --- a/tests/WSSecurity/XML/fed/IssuesSpecificPolicyFaultTest.php +++ b/tests/WSSecurity/XML/fed/IssuesSpecificPolicyFaultTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\IssuesSpecificPolicyFault; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,12 +21,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\IssuesSpecificPolicyFaultTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\IssuesSpecificPolicyFault - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(IssuesSpecificPolicyFault::class)] +#[CoversClass(AbstractAssertionType::class)] +#[CoversClass(AbstractFedElement::class)] final class IssuesSpecificPolicyFaultTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/LogicalServiceNamesOfferedTest.php b/tests/WSSecurity/XML/fed/LogicalServiceNamesOfferedTest.php index dccc8573..59a507ef 100644 --- a/tests/WSSecurity/XML/fed/LogicalServiceNamesOfferedTest.php +++ b/tests/WSSecurity/XML/fed/LogicalServiceNamesOfferedTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractLogicalServiceNamesOfferedType; use SimpleSAML\WSSecurity\XML\fed\IssuerName; use SimpleSAML\WSSecurity\XML\fed\LogicalServiceNamesOffered; use SimpleSAML\XML\Attribute as XMLAttribute; @@ -18,11 +21,11 @@ /** * Tests for fed:LogicalServiceNamesOffered. * - * @covers \SimpleSAML\WSSecurity\XML\fed\LogicalServiceNamesOffered - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractLogicalServiceNamesOfferedType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(LogicalServiceNamesOffered::class)] +#[CoversClass(AbstractLogicalServiceNamesOfferedType::class)] +#[CoversClass(AbstractFedElement::class)] final class LogicalServiceNamesOfferedTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/PPIDTest.php b/tests/WSSecurity/XML/fed/PPIDTest.php index 19f56e66..5f3cbad0 100644 --- a/tests/WSSecurity/XML/fed/PPIDTest.php +++ b/tests/WSSecurity/XML/fed/PPIDTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\PPID; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -22,6 +25,9 @@ * * @package simplesamlphp/ws-security */ +#[CoversClass(PPID::class)] +#[CoversClass(AbstractAttributeExtensibleString::class)] +#[CoversClass(AbstractFedElement::class)] final class PPIDTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/PassiveRequestorEndpointTest.php b/tests/WSSecurity/XML/fed/PassiveRequestorEndpointTest.php index 5f31eceb..a70c3f27 100644 --- a/tests/WSSecurity/XML/fed/PassiveRequestorEndpointTest.php +++ b/tests/WSSecurity/XML/fed/PassiveRequestorEndpointTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\PassiveRequestorEndpoint; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:PassiveRequestorEndpoint. * - * @covers \SimpleSAML\WSSecurity\XML\fed\PassiveRequestorEndpoint - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(PassiveRequestorEndpoint::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class PassiveRequestorEndpointTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/PassiveRequestorEndpointsTest.php b/tests/WSSecurity/XML/fed/PassiveRequestorEndpointsTest.php index d397ccbe..b0d1ffb9 100644 --- a/tests/WSSecurity/XML/fed/PassiveRequestorEndpointsTest.php +++ b/tests/WSSecurity/XML/fed/PassiveRequestorEndpointsTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\PassiveRequestorEndpoints; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:PassiveRequestorEndpoints. * - * @covers \SimpleSAML\WSSecurity\XML\fed\PassiveRequestorEndpoints - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(PassiveRequestorEndpoints::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class PassiveRequestorEndpointsTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/ProofTokenTest.php b/tests/WSSecurity/XML/fed/ProofTokenTest.php index 8b56da1f..603ce1e2 100644 --- a/tests/WSSecurity/XML/fed/ProofTokenTest.php +++ b/tests/WSSecurity/XML/fed/ProofTokenTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractProofTokenType; use SimpleSAML\WSSecurity\XML\fed\ProofToken; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,11 +21,11 @@ /** * Tests for fed:ProofToken. * - * @covers \SimpleSAML\WSSecurity\XML\fed\ProofToken - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractProofTokenType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(ProofTokenType::class)] +#[CoversClass(AbstractProofTokenType::class)] +#[CoversClass(AbstractFedElement::class)] final class ProofTokenTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/PseudonymBasisTest.php b/tests/WSSecurity/XML/fed/PseudonymBasisTest.php index 4b891e88..8250d76a 100644 --- a/tests/WSSecurity/XML/fed/PseudonymBasisTest.php +++ b/tests/WSSecurity/XML/fed/PseudonymBasisTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractPseudonymBasisType; use SimpleSAML\WSSecurity\XML\fed\PseudonymBasis; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,11 +21,11 @@ /** * Tests for fed:RelativeTo. * - * @covers \SimpleSAML\WSSecurity\XML\fed\PseudonymBasis - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractPseudonymBasisType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(PseudonymBasis::class)] +#[CoversClass(AbstractPseudonymBasisType::class)] +#[CoversClass(AbstractFedElement::class)] final class PseudonymBasisTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/PseudonymServiceEndpointTest.php b/tests/WSSecurity/XML/fed/PseudonymServiceEndpointTest.php index 80779c7f..4667ca78 100644 --- a/tests/WSSecurity/XML/fed/PseudonymServiceEndpointTest.php +++ b/tests/WSSecurity/XML/fed/PseudonymServiceEndpointTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\PseudonymServiceEndpoint; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:PseudonymServiceEndpoint. * - * @covers \SimpleSAML\WSSecurity\XML\fed\PseudonymServiceEndpoint - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(PseudonymServiceEndpoint::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class PseudonymServiceEndpointTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/PseudonymTest.php b/tests/WSSecurity/XML/fed/PseudonymTest.php index f26b1f28..66ace827 100644 --- a/tests/WSSecurity/XML/fed/PseudonymTest.php +++ b/tests/WSSecurity/XML/fed/PseudonymTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DateTimeImmutable; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractPseudonymType; use SimpleSAML\WSSecurity\XML\fed\ProofToken; use SimpleSAML\WSSecurity\XML\fed\Pseudonym; use SimpleSAML\WSSecurity\XML\fed\PseudonymBasis; @@ -25,12 +28,11 @@ /** * Tests for fed:Pseudonym. * - * @covers \SimpleSAML\WSSecurity\XML\fed\Pseudonym - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractPseudonymType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(Pseudonym::class)] +#[CoversClass(AbstractPseudonymType::class)] +#[CoversClass(AbstractFedElement::class)] final class PseudonymTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/RealmTest.php b/tests/WSSecurity/XML/fed/RealmTest.php index 512e94d0..dbda27f0 100644 --- a/tests/WSSecurity/XML/fed/RealmTest.php +++ b/tests/WSSecurity/XML/fed/RealmTest.php @@ -4,8 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\Realm; use SimpleSAML\XML\DOMDocumentFactory; use SimpleSAML\XML\TestUtils\SchemaValidationTestTrait; @@ -16,11 +18,10 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\RealmTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\Realm - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(Realm::class)] +#[CoversClass(AbstractFedElement::class)] final class RealmTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/ReferenceDigestTest.php b/tests/WSSecurity/XML/fed/ReferenceDigestTest.php index 1cef7c75..a7f110e2 100644 --- a/tests/WSSecurity/XML/fed/ReferenceDigestTest.php +++ b/tests/WSSecurity/XML/fed/ReferenceDigestTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractReferenceDigestType; use SimpleSAML\WSSecurity\XML\fed\ReferenceDigest; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,12 +19,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\ReferenceDigestTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\ReferenceDigest - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractReferenceDigestType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(ReferenceDigest::class)] +#[CoversClass(AbstractReferenceDigestType::class)] +#[CoversClass(AbstractFedElement::class)] final class ReferenceDigestTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/ReferenceEPRTest.php b/tests/WSSecurity/XML/fed/ReferenceEPRTest.php index 89fde8c5..4bf57293 100644 --- a/tests/WSSecurity/XML/fed/ReferenceEPRTest.php +++ b/tests/WSSecurity/XML/fed/ReferenceEPRTest.php @@ -5,8 +5,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\fed\ReferenceEPR; +use SimpleSAML\WSSecurity\XML\wsa\AbstractEndpointReferenceType; +use SimpleSAML\WSSecurity\XML\wsa\AbstractWsaElement; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\Metadata; use SimpleSAML\WSSecurity\XML\wsa\ReferenceParameters; @@ -21,12 +24,11 @@ /** * Tests for fed:ReferenceEPR. * - * @covers \SimpleSAML\WSSecurity\XML\fed\ReferenceEPR - * @covers \SimpleSAML\WSSecurity\XML\wsa\AbstractEndpointReferenceType - * @covers \SimpleSAML\WSSecurity\XML\wsa\AbstractWsaElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(ReferenceEPR::class)] +#[CoversClass(AbstractEndpointReferenceType::class)] +#[CoversClass(AbstractWsaElement::class)] final class ReferenceEPRTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/ReferenceToken11Test.php b/tests/WSSecurity/XML/fed/ReferenceToken11Test.php index 905fbb78..7884b86e 100644 --- a/tests/WSSecurity/XML/fed/ReferenceToken11Test.php +++ b/tests/WSSecurity/XML/fed/ReferenceToken11Test.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\ReferenceToken11; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,12 +21,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\ReferenceToken11Test * - * @covers \SimpleSAML\WSSecurity\XML\fed\ReferenceToken11 - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(ReferenceToken11::class)] +#[CoversClass(AbstractAssertionType::class)] +#[CoversClass(AbstractFedElement::class)] final class ReferenceToken11Test extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/ReferenceTokenTest.php b/tests/WSSecurity/XML/fed/ReferenceTokenTest.php index f44b8086..7ccdea53 100644 --- a/tests/WSSecurity/XML/fed/ReferenceTokenTest.php +++ b/tests/WSSecurity/XML/fed/ReferenceTokenTest.php @@ -5,13 +5,17 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractReferenceTokenType; use SimpleSAML\WSSecurity\XML\fed\ReferenceDigest; use SimpleSAML\WSSecurity\XML\fed\ReferenceEPR; use SimpleSAML\WSSecurity\XML\fed\ReferenceToken; use SimpleSAML\WSSecurity\XML\fed\ReferenceType; use SimpleSAML\WSSecurity\XML\fed\SerialNo; +use SimpleSAML\WSSecurity\XML\wsa\AbstractEndpointReferenceType; +use SimpleSAML\WSSecurity\XML\wsa\AbstractWsaElement; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\Metadata; use SimpleSAML\WSSecurity\XML\wsa\ReferenceParameters; @@ -27,12 +31,12 @@ /** * Tests for fed:ReferenceToken. * - * @covers \SimpleSAML\WSSecurity\XML\fed\ReferenceToken - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractReferenceTokenType - * @covers \SimpleSAML\WSSecurity\XML\wsa\AbstractEndpointReferenceType - * @covers \SimpleSAML\WSSecurity\XML\wsa\AbstractWsaElement * @package simplesamlphp/ws-security */ +#[CoversClass(ReferenceToken::class)] +#[CoversClass(AbstractReferenceTokenType::class)] +#[CoversClass(AbstractEndpointReferenceType::class)] +#[CoversClass(AbstractWsaElement::class)] final class ReferenceTokenTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/ReferenceTypeTest.php b/tests/WSSecurity/XML/fed/ReferenceTypeTest.php index 14734177..6a48fb1c 100644 --- a/tests/WSSecurity/XML/fed/ReferenceTypeTest.php +++ b/tests/WSSecurity/XML/fed/ReferenceTypeTest.php @@ -4,8 +4,12 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString; +use SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleURI; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\ReferenceType; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,13 +20,12 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\ReferenceTypeTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\ReferenceType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleURI - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(ReferenceType::class)] +#[CoversClass(AbstractAttributeExtensibleURI::class)] +#[CoversClass(AbstractAttributeExtensibleString::class)] +#[CoversClass(AbstractFedElement::class)] final class ReferenceTypeTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/RelativeToTest.php b/tests/WSSecurity/XML/fed/RelativeToTest.php index 549701fe..84c73628 100644 --- a/tests/WSSecurity/XML/fed/RelativeToTest.php +++ b/tests/WSSecurity/XML/fed/RelativeToTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractRelativeToType; use SimpleSAML\WSSecurity\XML\fed\RelativeTo; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -19,11 +22,11 @@ /** * Tests for fed:RelativeTo. * - * @covers \SimpleSAML\WSSecurity\XML\fed\RelativeTo - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractRelativeToType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(RelativeTo::class)] +#[CoversClass(AbstractRelativeToType::class)] +#[CoversClass(AbstractFedElement::class)] final class RelativeToTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/RequestProofTokenTest.php b/tests/WSSecurity/XML/fed/RequestProofTokenTest.php index e7ab090c..fb3571d0 100644 --- a/tests/WSSecurity/XML/fed/RequestProofTokenTest.php +++ b/tests/WSSecurity/XML/fed/RequestProofTokenTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractRequestProofTokenType; use SimpleSAML\WSSecurity\XML\fed\RequestProofToken; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,12 +21,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\RequestProofTokenTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\RequestProofToken - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractRequestProofTokenType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(RequestProofToken::class)] +#[CoversClass(AbstractRequestProofTokenType::class)] +#[CoversClass(AbstractFedElement::class)] final class RequestProofTokenTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/RequestPseudonymTest.php b/tests/WSSecurity/XML/fed/RequestPseudonymTest.php index a2345cc9..8710da3a 100644 --- a/tests/WSSecurity/XML/fed/RequestPseudonymTest.php +++ b/tests/WSSecurity/XML/fed/RequestPseudonymTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractRequestPseudonymType; use SimpleSAML\WSSecurity\XML\fed\RequestPseudonym; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,11 +21,11 @@ /** * Tests for fed:RequestPseudonym. * - * @covers \SimpleSAML\WSSecurity\XML\fed\RequestPseudonym - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractRequestPseudonymType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(RequestPseudonym::class)] +#[CoversClass(AbstractRequestPseudonymType::class)] +#[CoversClass(AbstractFedElement::class)] final class RequestPseudonymTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/RequireBearerTokensTest.php b/tests/WSSecurity/XML/fed/RequireBearerTokensTest.php index 9af47970..743f9771 100644 --- a/tests/WSSecurity/XML/fed/RequireBearerTokensTest.php +++ b/tests/WSSecurity/XML/fed/RequireBearerTokensTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\RequireBearerTokens; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,12 +21,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\RequireBearerTokensTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\RequireBearerTokens - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(RequiredBearerTokens::class)] +#[CoversClass(AbstractAssertionType::class)] +#[CoversClass(AbstractFedElement::class)] final class RequireBearerTokensTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/RequireReferenceTokenTest.php b/tests/WSSecurity/XML/fed/RequireReferenceTokenTest.php index cf742703..8583ce2f 100644 --- a/tests/WSSecurity/XML/fed/RequireReferenceTokenTest.php +++ b/tests/WSSecurity/XML/fed/RequireReferenceTokenTest.php @@ -4,10 +4,14 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\fed\RequireReferenceToken; +use SimpleSAML\WSSecurity\XML\sp\AbstractSpElement; +use SimpleSAML\WSSecurity\XML\sp\AbstractTokenAssertionType; use SimpleSAML\WSSecurity\XML\sp\IncludeToken; +use SimpleSAML\WSSecurity\XML\sp\IncludeTokenTypeTrait; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; use SimpleSAML\XML\DOMDocumentFactory; @@ -19,13 +23,12 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\RequireReferenceTokenTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\RequireReferenceToken - * @covers \SimpleSAML\WSSecurity\XML\sp\IncludeTokenTypeTrait - * @covers \SimpleSAML\WSSecurity\XML\sp\AbstractTokenAssertionType - * @covers \SimpleSAML\WSSecurity\XML\sp\AbstractSpElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(RequireReferenceToken::class)] +#[CoversClass(IncludeTokenTypeTrait::class)] +#[CoversClass(AbstractTokenAssertionType::class)] +#[CoversClass(AbstractSpElement::class)] final class RequireReferenceTokenTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/RequireSharedCookiesTest.php b/tests/WSSecurity/XML/fed/RequireSharedCookiesTest.php index 7e033be8..bb62c19d 100644 --- a/tests/WSSecurity/XML/fed/RequireSharedCookiesTest.php +++ b/tests/WSSecurity/XML/fed/RequireSharedCookiesTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\RequireSharedCookies; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,12 +21,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\RequireSharedCookiesTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\RequireSharedCookies - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(RequireSharedCookies::class)] +#[CoversClass(AbstractAssertionType::class)] +#[CoversClass(AbstractFedElement::class)] final class RequireSharedCookiesTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/RequireSignedTokensTest.php b/tests/WSSecurity/XML/fed/RequireSignedTokensTest.php index ee4f21e6..80032e6b 100644 --- a/tests/WSSecurity/XML/fed/RequireSignedTokensTest.php +++ b/tests/WSSecurity/XML/fed/RequireSignedTokensTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\RequireSignedTokens; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,12 +21,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\RequireSignedTokensTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\RequireSignedTokens - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(RequireSignedTokens::class)] +#[CoversClass(AbstractAssertionType::class)] +#[CoversClass(AbstractFedElement::class)] final class RequireSignedTokensTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/RequiresGenericClaimDialectTest.php b/tests/WSSecurity/XML/fed/RequiresGenericClaimDialectTest.php index f6126d59..cd8a23aa 100644 --- a/tests/WSSecurity/XML/fed/RequiresGenericClaimDialectTest.php +++ b/tests/WSSecurity/XML/fed/RequiresGenericClaimDialectTest.php @@ -4,8 +4,11 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\RequiresGenericClaimDialect; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,12 +21,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\RequiresGenericClaimDialectTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\RequiresGenericClaimDialect - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(RequiresGenericClaimDialect::class)] +#[CoversClass(AbstractAssertionType::class)] +#[CoversClass(AbstractFedElement::class)] final class RequiresGenericClaimDialectTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/SecurityTokenServiceEndpointTest.php b/tests/WSSecurity/XML/fed/SecurityTokenServiceEndpointTest.php index 0f4ea41b..9ef33319 100644 --- a/tests/WSSecurity/XML/fed/SecurityTokenServiceEndpointTest.php +++ b/tests/WSSecurity/XML/fed/SecurityTokenServiceEndpointTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\SecurityTokenServiceEndpoint; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:SecurityTokenServiceEndpoint. * - * @covers \SimpleSAML\WSSecurity\XML\fed\SecurityTokenServiceEndpoint - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(SecurityTokenServiceEndpoint::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class SecurityTokenServiceEndpointTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/SecurityTokenTest.php b/tests/WSSecurity/XML/fed/SecurityTokenTest.php index 8e065e95..72e42593 100644 --- a/tests/WSSecurity/XML/fed/SecurityTokenTest.php +++ b/tests/WSSecurity/XML/fed/SecurityTokenTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractSecurityTokenType; use SimpleSAML\WSSecurity\XML\fed\SecurityToken; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -18,11 +21,11 @@ /** * Tests for fed:SecurityToken. * - * @covers \SimpleSAML\WSSecurity\XML\fed\SecurityToken - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractSecurityTokenType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(SecurityToken::class)] +#[CoversClass(AbstractSecurityTokenType::class)] +#[CoversClass(AbstractFedElement::class)] final class SecurityTokenTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/SerialNoTest.php b/tests/WSSecurity/XML/fed/SerialNoTest.php index 26d99f86..3c3f51a4 100644 --- a/tests/WSSecurity/XML/fed/SerialNoTest.php +++ b/tests/WSSecurity/XML/fed/SerialNoTest.php @@ -4,8 +4,12 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; +use SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString; +use SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleURI; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\SerialNo; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\DOMDocumentFactory; @@ -16,13 +20,12 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\SerialNoTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\SerialNo - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleURI - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(SerialNo::class)] +#[CoversClass(AbstractAttributeExtensibleURI::class)] +#[CoversClass(AbstractAttributeExtensibleString::class)] +#[CoversClass(AbstractFedElement::class)] final class SerialNoTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/SignOutBasisTest.php b/tests/WSSecurity/XML/fed/SignOutBasisTest.php index 44b04566..70057401 100644 --- a/tests/WSSecurity/XML/fed/SignOutBasisTest.php +++ b/tests/WSSecurity/XML/fed/SignOutBasisTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractSignOutBasisType; use SimpleSAML\WSSecurity\XML\fed\SignOutBasis; use SimpleSAML\XML\Attribute; use SimpleSAML\XML\Chunk; @@ -17,12 +20,11 @@ /** * Tests for fed:SignOutBasis. * - * @covers \SimpleSAML\WSSecurity\XML\fed\SignOutBasis - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractSignOutBasisType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(SignedOutBasis::class)] +#[CoversClass(AbstractSignOutBasisType::class)] +#[CoversClass(AbstractFedElement::class)] final class SignOutBasisTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/SignOutTest.php b/tests/WSSecurity/XML/fed/SignOutTest.php index ff018083..4d978bf7 100644 --- a/tests/WSSecurity/XML/fed/SignOutTest.php +++ b/tests/WSSecurity/XML/fed/SignOutTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractSignOutType; use SimpleSAML\WSSecurity\XML\fed\Realm; use SimpleSAML\WSSecurity\XML\fed\SignOut; use SimpleSAML\WSSecurity\XML\fed\SignOutBasis; @@ -21,12 +24,11 @@ /** * Tests for fed:SignOut. * - * @covers \SimpleSAML\WSSecurity\XML\fed\SignOut - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractSignOutType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(SignOut::class)] +#[CoversClass(AbstractSignOutType::class)] +#[CoversClass(AbstractFedElement::class)] final class SignOutTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/SingleSignOutNotificationEndpointTest.php b/tests/WSSecurity/XML/fed/SingleSignOutNotificationEndpointTest.php index cfc55147..0c1c7e2f 100644 --- a/tests/WSSecurity/XML/fed/SingleSignOutNotificationEndpointTest.php +++ b/tests/WSSecurity/XML/fed/SingleSignOutNotificationEndpointTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\SingleSignOutNotificationEndpoint; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:SingleSignOutNotificationEndpoint. * - * @covers \SimpleSAML\WSSecurity\XML\fed\SingleSignOutNotificationEndpoint - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(SingleSignOutNotificationEndpoint::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class SingleSignOutNotificationEndpointTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/SingleSignOutNotificationEndpointsTest.php b/tests/WSSecurity/XML/fed/SingleSignOutNotificationEndpointsTest.php index d7182fd9..401ec625 100644 --- a/tests/WSSecurity/XML/fed/SingleSignOutNotificationEndpointsTest.php +++ b/tests/WSSecurity/XML/fed/SingleSignOutNotificationEndpointsTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\SingleSignOutNotificationEndpoints; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:SingleSignOutNotificationEndpoints. * - * @covers \SimpleSAML\WSSecurity\XML\fed\SingleSignOutNotificationEndpoints - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(SingleSignOutNotificationEndpoints::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class SingleSignOutNotificationEndpointsTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/SingleSignOutSubscriptionEndpointTest.php b/tests/WSSecurity/XML/fed/SingleSignOutSubscriptionEndpointTest.php index d9abcb24..db161742 100644 --- a/tests/WSSecurity/XML/fed/SingleSignOutSubscriptionEndpointTest.php +++ b/tests/WSSecurity/XML/fed/SingleSignOutSubscriptionEndpointTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\SingleSignOutSubscriptionEndpoint; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:SingleSignOutSubscriptionEndpoint. * - * @covers \SimpleSAML\WSSecurity\XML\fed\SingleSignOutSubscriptionEndpoint - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(SingleSignOutSubscriptionEndpoint::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class SingleSignOutSubscriptionEndpointTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/SingleSignOutSubscriptionEndpointsTest.php b/tests/WSSecurity/XML/fed/SingleSignOutSubscriptionEndpointsTest.php index 226e19b5..44cd163c 100644 --- a/tests/WSSecurity/XML/fed/SingleSignOutSubscriptionEndpointsTest.php +++ b/tests/WSSecurity/XML/fed/SingleSignOutSubscriptionEndpointsTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\SingleSignOutSubscriptionEndpoints; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:SingleSignOutSubscriptionEndpoints. * - * @covers \SimpleSAML\WSSecurity\XML\fed\SingleSignOutSubscriptionEndpoints - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(SingleSignOutSubscriptionEndpoints::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class SingleSignOutSubscriptionEndpointsTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/TargetScopesTest.php b/tests/WSSecurity/XML/fed/TargetScopesTest.php index cd8a934a..9e2696ac 100644 --- a/tests/WSSecurity/XML/fed/TargetScopesTest.php +++ b/tests/WSSecurity/XML/fed/TargetScopesTest.php @@ -5,7 +5,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; use SimpleSAML\WSSecurity\XML\fed\TargetScopes; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; @@ -23,11 +26,11 @@ /** * Tests for fed:TargetScopes. * - * @covers \SimpleSAML\WSSecurity\XML\fed\TargetScopes - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(TargetScopes::class)] +#[CoversClass(AbstractEndpointType::class)] +#[CoversClass(AbstractFedElement::class)] final class TargetScopesTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/TokenTypeTest.php b/tests/WSSecurity/XML/fed/TokenTypeTest.php index 97ed3a10..12b5e5c6 100644 --- a/tests/WSSecurity/XML/fed/TokenTypeTest.php +++ b/tests/WSSecurity/XML/fed/TokenTypeTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractTokenType; use SimpleSAML\WSSecurity\XML\fed\TokenType; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; @@ -17,11 +20,11 @@ /** * Tests for fed:TokenType. * - * @covers \SimpleSAML\WSSecurity\XML\fed\TokenType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractTokenType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(TokenType::class)] +#[CoversClass(AbstractTokenType::class)] +#[CoversClass(AbstractFedElement::class)] final class TokenTypeTest extends TestCase { use SerializableElementTestTrait; diff --git a/tests/WSSecurity/XML/fed/TokenTypesOfferedTest.php b/tests/WSSecurity/XML/fed/TokenTypesOfferedTest.php index ac867783..6dda9593 100644 --- a/tests/WSSecurity/XML/fed/TokenTypesOfferedTest.php +++ b/tests/WSSecurity/XML/fed/TokenTypesOfferedTest.php @@ -4,7 +4,10 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement; +use SimpleSAML\WSSecurity\XML\fed\AbstractTokenTypesOfferedType; use SimpleSAML\WSSecurity\XML\fed\TokenType; use SimpleSAML\WSSecurity\XML\fed\TokenTypesOffered; use SimpleSAML\XML\Attribute as XMLAttribute; @@ -19,11 +22,11 @@ /** * Tests for fed:TokenTypesOffered. * - * @covers \SimpleSAML\WSSecurity\XML\fed\TokenTypesOffered - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractTokenTypesOfferedType - * @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement * @package simplesamlphp/ws-security */ +#[CoversClass(TokenTypesOffered::class)] +#[CoversClass(AbstractTokenTypesOfferedType::class)] +#[CoversClass(AbstractFedElement::class)] final class TokenTypesOfferedTest extends TestCase { use SchemaValidationTestTrait; diff --git a/tests/WSSecurity/XML/fed/WebBindingTest.php b/tests/WSSecurity/XML/fed/WebBindingTest.php index 36a798b0..ed05863a 100644 --- a/tests/WSSecurity/XML/fed/WebBindingTest.php +++ b/tests/WSSecurity/XML/fed/WebBindingTest.php @@ -4,10 +4,13 @@ namespace SimpleSAML\Test\WSSecurity\XML\fed; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\Test\WSSecurity\XML\sp\NestedPolicyTypeTestTrait; use SimpleSAML\WSSecurity\XML\fed\WebBinding; +use SimpleSAML\WSSecurity\XML\sp\AbstractNestedPolicyType; +use SimpleSAML\WSSecurity\XML\sp\AbstractSpElement; use SimpleSAML\XML\Attribute as XMLAttribute; use SimpleSAML\XML\Chunk; use SimpleSAML\XML\DOMDocumentFactory; @@ -19,12 +22,11 @@ /** * Class \SimpleSAML\WSSecurity\XML\fed\WebBindingTest * - * @covers \SimpleSAML\WSSecurity\XML\fed\WebBinding - * @covers \SimpleSAML\WSSecurity\XML\sp\AbstractNestedPolicyType - * @covers \SimpleSAML\WSSecurity\XML\sp\AbstractSpElement - * * @package simplesamlphp/ws-security */ +#[CoversClass(WebBinding::class)] +#[CoversClass(AbstractNestedPolicyType::class)] +#[CoversClass(AbstractSpElement::class)] final class WebBindingTest extends TestCase { use NestedPolicyTypeTestTrait; diff --git a/tests/WSSecurity/XML/sp/AbsXPathTest.php b/tests/WSSecurity/XML/sp/AbsXPathTest.php index 1e500857..39a52bcc 100644 --- a/tests/WSSecurity/XML/sp/AbsXPathTest.php +++ b/tests/WSSecurity/XML/sp/AbsXPathTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\AbsXPath; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/AlgorithmSuiteTest.php b/tests/WSSecurity/XML/sp/AlgorithmSuiteTest.php index 6dc56385..df7c34c4 100644 --- a/tests/WSSecurity/XML/sp/AlgorithmSuiteTest.php +++ b/tests/WSSecurity/XML/sp/AlgorithmSuiteTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\AlgorithmSuite; diff --git a/tests/WSSecurity/XML/sp/AsymmetricBindingTest.php b/tests/WSSecurity/XML/sp/AsymmetricBindingTest.php index 803c6187..169ddfce 100644 --- a/tests/WSSecurity/XML/sp/AsymmetricBindingTest.php +++ b/tests/WSSecurity/XML/sp/AsymmetricBindingTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\AsymmetricBinding; diff --git a/tests/WSSecurity/XML/sp/AttachmentsTest.php b/tests/WSSecurity/XML/sp/AttachmentsTest.php index ba526b93..6b77be7c 100644 --- a/tests/WSSecurity/XML/sp/AttachmentsTest.php +++ b/tests/WSSecurity/XML/sp/AttachmentsTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Attachments; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic128Rsa15Test.php b/tests/WSSecurity/XML/sp/Basic128Rsa15Test.php index 36ce6800..7e52fa6f 100644 --- a/tests/WSSecurity/XML/sp/Basic128Rsa15Test.php +++ b/tests/WSSecurity/XML/sp/Basic128Rsa15Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic128Rsa15; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic128Sha256Rsa15Test.php b/tests/WSSecurity/XML/sp/Basic128Sha256Rsa15Test.php index f1f185e7..6dd09328 100644 --- a/tests/WSSecurity/XML/sp/Basic128Sha256Rsa15Test.php +++ b/tests/WSSecurity/XML/sp/Basic128Sha256Rsa15Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic128Sha256Rsa15; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic128Sha256Test.php b/tests/WSSecurity/XML/sp/Basic128Sha256Test.php index 62c55955..9687a5e1 100644 --- a/tests/WSSecurity/XML/sp/Basic128Sha256Test.php +++ b/tests/WSSecurity/XML/sp/Basic128Sha256Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic128Sha256; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic128Test.php b/tests/WSSecurity/XML/sp/Basic128Test.php index cd5cb143..19c35395 100644 --- a/tests/WSSecurity/XML/sp/Basic128Test.php +++ b/tests/WSSecurity/XML/sp/Basic128Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic128; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic192Rsa15Test.php b/tests/WSSecurity/XML/sp/Basic192Rsa15Test.php index 5c3d4468..61d858fd 100644 --- a/tests/WSSecurity/XML/sp/Basic192Rsa15Test.php +++ b/tests/WSSecurity/XML/sp/Basic192Rsa15Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic192Rsa15; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic192Sha256Rsa15Test.php b/tests/WSSecurity/XML/sp/Basic192Sha256Rsa15Test.php index 42caba09..31211d0d 100644 --- a/tests/WSSecurity/XML/sp/Basic192Sha256Rsa15Test.php +++ b/tests/WSSecurity/XML/sp/Basic192Sha256Rsa15Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic192Sha256Rsa15; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic192Sha256Test.php b/tests/WSSecurity/XML/sp/Basic192Sha256Test.php index 1af9f819..5cc4db13 100644 --- a/tests/WSSecurity/XML/sp/Basic192Sha256Test.php +++ b/tests/WSSecurity/XML/sp/Basic192Sha256Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic192Sha256; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic192Test.php b/tests/WSSecurity/XML/sp/Basic192Test.php index 1055b891..e42a9c83 100644 --- a/tests/WSSecurity/XML/sp/Basic192Test.php +++ b/tests/WSSecurity/XML/sp/Basic192Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic192; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic256Rsa15Test.php b/tests/WSSecurity/XML/sp/Basic256Rsa15Test.php index 7c255f45..a92901b6 100644 --- a/tests/WSSecurity/XML/sp/Basic256Rsa15Test.php +++ b/tests/WSSecurity/XML/sp/Basic256Rsa15Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic256Rsa15; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic256Sha256Rsa15Test.php b/tests/WSSecurity/XML/sp/Basic256Sha256Rsa15Test.php index 8103a11e..e09dc9aa 100644 --- a/tests/WSSecurity/XML/sp/Basic256Sha256Rsa15Test.php +++ b/tests/WSSecurity/XML/sp/Basic256Sha256Rsa15Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic256Sha256Rsa15; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic256Sha256Test.php b/tests/WSSecurity/XML/sp/Basic256Sha256Test.php index 2f3d3526..f8613e44 100644 --- a/tests/WSSecurity/XML/sp/Basic256Sha256Test.php +++ b/tests/WSSecurity/XML/sp/Basic256Sha256Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic256Sha256; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Basic256Test.php b/tests/WSSecurity/XML/sp/Basic256Test.php index 7b31ee23..ba7147bc 100644 --- a/tests/WSSecurity/XML/sp/Basic256Test.php +++ b/tests/WSSecurity/XML/sp/Basic256Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Basic256; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/BodyTest.php b/tests/WSSecurity/XML/sp/BodyTest.php index 15961f30..8626a6b3 100644 --- a/tests/WSSecurity/XML/sp/BodyTest.php +++ b/tests/WSSecurity/XML/sp/BodyTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Body; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/BootstrapPolicyTest.php b/tests/WSSecurity/XML/sp/BootstrapPolicyTest.php index 8b324bcb..5e1b08e9 100644 --- a/tests/WSSecurity/XML/sp/BootstrapPolicyTest.php +++ b/tests/WSSecurity/XML/sp/BootstrapPolicyTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\BootstrapPolicy; diff --git a/tests/WSSecurity/XML/sp/ContentEncryptedElementsTest.php b/tests/WSSecurity/XML/sp/ContentEncryptedElementsTest.php index c6e0ed15..4889af34 100644 --- a/tests/WSSecurity/XML/sp/ContentEncryptedElementsTest.php +++ b/tests/WSSecurity/XML/sp/ContentEncryptedElementsTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath as XMLXPath; diff --git a/tests/WSSecurity/XML/sp/EncryptBeforeSigningTest.php b/tests/WSSecurity/XML/sp/EncryptBeforeSigningTest.php index f7bc6bd0..b64a0c34 100644 --- a/tests/WSSecurity/XML/sp/EncryptBeforeSigningTest.php +++ b/tests/WSSecurity/XML/sp/EncryptBeforeSigningTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\EncryptBeforeSigning; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/EncryptSignatureTest.php b/tests/WSSecurity/XML/sp/EncryptSignatureTest.php index 36cd9a79..be7e0027 100644 --- a/tests/WSSecurity/XML/sp/EncryptSignatureTest.php +++ b/tests/WSSecurity/XML/sp/EncryptSignatureTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\EncryptSignature; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/EncryptedElementsTest.php b/tests/WSSecurity/XML/sp/EncryptedElementsTest.php index f9db871f..625aafe2 100644 --- a/tests/WSSecurity/XML/sp/EncryptedElementsTest.php +++ b/tests/WSSecurity/XML/sp/EncryptedElementsTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath as XMLXPath; diff --git a/tests/WSSecurity/XML/sp/EncryptedPartsTest.php b/tests/WSSecurity/XML/sp/EncryptedPartsTest.php index 3c9bd700..68dc676f 100644 --- a/tests/WSSecurity/XML/sp/EncryptedPartsTest.php +++ b/tests/WSSecurity/XML/sp/EncryptedPartsTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath; diff --git a/tests/WSSecurity/XML/sp/EncryptedSupportingTokensTest.php b/tests/WSSecurity/XML/sp/EncryptedSupportingTokensTest.php index 661fc214..2a121958 100644 --- a/tests/WSSecurity/XML/sp/EncryptedSupportingTokensTest.php +++ b/tests/WSSecurity/XML/sp/EncryptedSupportingTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\EncryptedSupportingTokens; diff --git a/tests/WSSecurity/XML/sp/EncryptionTokenTest.php b/tests/WSSecurity/XML/sp/EncryptionTokenTest.php index 02fdfedd..99dbdcaf 100644 --- a/tests/WSSecurity/XML/sp/EncryptionTokenTest.php +++ b/tests/WSSecurity/XML/sp/EncryptionTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\EncryptionToken; diff --git a/tests/WSSecurity/XML/sp/EndorsingEncryptedSupportingTokensTest.php b/tests/WSSecurity/XML/sp/EndorsingEncryptedSupportingTokensTest.php index 163f05ec..439dc7a2 100644 --- a/tests/WSSecurity/XML/sp/EndorsingEncryptedSupportingTokensTest.php +++ b/tests/WSSecurity/XML/sp/EndorsingEncryptedSupportingTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\EndorsingEncryptedSupportingTokens; diff --git a/tests/WSSecurity/XML/sp/EndorsingSupportingTokensTest.php b/tests/WSSecurity/XML/sp/EndorsingSupportingTokensTest.php index 9b45f838..edd05a42 100644 --- a/tests/WSSecurity/XML/sp/EndorsingSupportingTokensTest.php +++ b/tests/WSSecurity/XML/sp/EndorsingSupportingTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\EndorsingSupportingTokens; diff --git a/tests/WSSecurity/XML/sp/HashPasswordTest.php b/tests/WSSecurity/XML/sp/HashPasswordTest.php index 2bb095b8..41d7fbb4 100644 --- a/tests/WSSecurity/XML/sp/HashPasswordTest.php +++ b/tests/WSSecurity/XML/sp/HashPasswordTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\HashPassword; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/HeaderTest.php b/tests/WSSecurity/XML/sp/HeaderTest.php index 14452e01..015e2397 100644 --- a/tests/WSSecurity/XML/sp/HeaderTest.php +++ b/tests/WSSecurity/XML/sp/HeaderTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\Header; diff --git a/tests/WSSecurity/XML/sp/HttpBasicAuthenticationTest.php b/tests/WSSecurity/XML/sp/HttpBasicAuthenticationTest.php index c6b0f198..136354fd 100644 --- a/tests/WSSecurity/XML/sp/HttpBasicAuthenticationTest.php +++ b/tests/WSSecurity/XML/sp/HttpBasicAuthenticationTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\HttpBasicAuthentication; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/HttpDigestAuthenticationTest.php b/tests/WSSecurity/XML/sp/HttpDigestAuthenticationTest.php index ff8e0b33..dc6036e5 100644 --- a/tests/WSSecurity/XML/sp/HttpDigestAuthenticationTest.php +++ b/tests/WSSecurity/XML/sp/HttpDigestAuthenticationTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\HttpDigestAuthentication; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/HttpsTokenTest.php b/tests/WSSecurity/XML/sp/HttpsTokenTest.php index 9e6127ae..e11d007c 100644 --- a/tests/WSSecurity/XML/sp/HttpsTokenTest.php +++ b/tests/WSSecurity/XML/sp/HttpsTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\HttpsToken; diff --git a/tests/WSSecurity/XML/sp/IncludeTimestampTest.php b/tests/WSSecurity/XML/sp/IncludeTimestampTest.php index e96ddc80..5d6e28e8 100644 --- a/tests/WSSecurity/XML/sp/IncludeTimestampTest.php +++ b/tests/WSSecurity/XML/sp/IncludeTimestampTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\IncludeTimestamp; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/InclusiveC14NTest.php b/tests/WSSecurity/XML/sp/InclusiveC14NTest.php index 984ce369..40b79661 100644 --- a/tests/WSSecurity/XML/sp/InclusiveC14NTest.php +++ b/tests/WSSecurity/XML/sp/InclusiveC14NTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\InclusiveC14N; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/InitiatorEncryptionTokenTest.php b/tests/WSSecurity/XML/sp/InitiatorEncryptionTokenTest.php index a9d34db4..2893e8e2 100644 --- a/tests/WSSecurity/XML/sp/InitiatorEncryptionTokenTest.php +++ b/tests/WSSecurity/XML/sp/InitiatorEncryptionTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\InitiatorEncryptionToken; diff --git a/tests/WSSecurity/XML/sp/InitiatorSignatureTokenTest.php b/tests/WSSecurity/XML/sp/InitiatorSignatureTokenTest.php index 68b6b149..0b469c5c 100644 --- a/tests/WSSecurity/XML/sp/InitiatorSignatureTokenTest.php +++ b/tests/WSSecurity/XML/sp/InitiatorSignatureTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\InitiatorSignatureToken; diff --git a/tests/WSSecurity/XML/sp/InitiatorTokenTest.php b/tests/WSSecurity/XML/sp/InitiatorTokenTest.php index 8fe78f60..8da66c27 100644 --- a/tests/WSSecurity/XML/sp/InitiatorTokenTest.php +++ b/tests/WSSecurity/XML/sp/InitiatorTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\InitiatorToken; diff --git a/tests/WSSecurity/XML/sp/IssuedTokenTest.php b/tests/WSSecurity/XML/sp/IssuedTokenTest.php index 28ee5e94..f9ed715e 100644 --- a/tests/WSSecurity/XML/sp/IssuedTokenTest.php +++ b/tests/WSSecurity/XML/sp/IssuedTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath; diff --git a/tests/WSSecurity/XML/sp/IssuerNameTest.php b/tests/WSSecurity/XML/sp/IssuerNameTest.php index c4414c36..d8a77ab0 100644 --- a/tests/WSSecurity/XML/sp/IssuerNameTest.php +++ b/tests/WSSecurity/XML/sp/IssuerNameTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\IssuerName; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/IssuerTest.php b/tests/WSSecurity/XML/sp/IssuerTest.php index 21b1e9a4..5e64783f 100644 --- a/tests/WSSecurity/XML/sp/IssuerTest.php +++ b/tests/WSSecurity/XML/sp/IssuerTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Issuer; use SimpleSAML\WSSecurity\XML\wsa\Address; diff --git a/tests/WSSecurity/XML/sp/KerberosTokenTest.php b/tests/WSSecurity/XML/sp/KerberosTokenTest.php index 81f8224b..82600b2a 100644 --- a/tests/WSSecurity/XML/sp/KerberosTokenTest.php +++ b/tests/WSSecurity/XML/sp/KerberosTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\IncludeToken; diff --git a/tests/WSSecurity/XML/sp/KeyValueTokenTest.php b/tests/WSSecurity/XML/sp/KeyValueTokenTest.php index d3e6097a..d21d323a 100644 --- a/tests/WSSecurity/XML/sp/KeyValueTokenTest.php +++ b/tests/WSSecurity/XML/sp/KeyValueTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\IncludeToken; diff --git a/tests/WSSecurity/XML/sp/LaxTest.php b/tests/WSSecurity/XML/sp/LaxTest.php index 40a19413..cba7177f 100644 --- a/tests/WSSecurity/XML/sp/LaxTest.php +++ b/tests/WSSecurity/XML/sp/LaxTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Lax; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/LaxTsFirstTest.php b/tests/WSSecurity/XML/sp/LaxTsFirstTest.php index bccfe6e0..03da0df8 100644 --- a/tests/WSSecurity/XML/sp/LaxTsFirstTest.php +++ b/tests/WSSecurity/XML/sp/LaxTsFirstTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\LaxTsFirst; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/LaxTsLastTest.php b/tests/WSSecurity/XML/sp/LaxTsLastTest.php index a06f6d62..4f10dbe1 100644 --- a/tests/WSSecurity/XML/sp/LaxTsLastTest.php +++ b/tests/WSSecurity/XML/sp/LaxTsLastTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\LaxTsLast; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/LayoutTest.php b/tests/WSSecurity/XML/sp/LayoutTest.php index 03a665f1..026ed645 100644 --- a/tests/WSSecurity/XML/sp/LayoutTest.php +++ b/tests/WSSecurity/XML/sp/LayoutTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\Layout; diff --git a/tests/WSSecurity/XML/sp/MustNotSendAmendTest.php b/tests/WSSecurity/XML/sp/MustNotSendAmendTest.php index f5eaacd3..1bbd789c 100644 --- a/tests/WSSecurity/XML/sp/MustNotSendAmendTest.php +++ b/tests/WSSecurity/XML/sp/MustNotSendAmendTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustNotSendAmend; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustNotSendCancelTest.php b/tests/WSSecurity/XML/sp/MustNotSendCancelTest.php index 3859eee8..d0a10f71 100644 --- a/tests/WSSecurity/XML/sp/MustNotSendCancelTest.php +++ b/tests/WSSecurity/XML/sp/MustNotSendCancelTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustNotSendCancel; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustNotSendRenewTest.php b/tests/WSSecurity/XML/sp/MustNotSendRenewTest.php index ae5e975a..ef03edea 100644 --- a/tests/WSSecurity/XML/sp/MustNotSendRenewTest.php +++ b/tests/WSSecurity/XML/sp/MustNotSendRenewTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustNotSendRenew; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustSupportClientChallengeTest.php b/tests/WSSecurity/XML/sp/MustSupportClientChallengeTest.php index 038fa6f5..6f250591 100644 --- a/tests/WSSecurity/XML/sp/MustSupportClientChallengeTest.php +++ b/tests/WSSecurity/XML/sp/MustSupportClientChallengeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustSupportClientChallenge; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustSupportIssuedTokensTest.php b/tests/WSSecurity/XML/sp/MustSupportIssuedTokensTest.php index 7a9c6a67..2980ebe4 100644 --- a/tests/WSSecurity/XML/sp/MustSupportIssuedTokensTest.php +++ b/tests/WSSecurity/XML/sp/MustSupportIssuedTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustSupportIssuedTokens; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustSupportRefEmbeddedTokenTest.php b/tests/WSSecurity/XML/sp/MustSupportRefEmbeddedTokenTest.php index 91831ed4..18a8a1ba 100644 --- a/tests/WSSecurity/XML/sp/MustSupportRefEmbeddedTokenTest.php +++ b/tests/WSSecurity/XML/sp/MustSupportRefEmbeddedTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustSupportRefEmbeddedToken; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustSupportRefEncryptedKeyTest.php b/tests/WSSecurity/XML/sp/MustSupportRefEncryptedKeyTest.php index 2346c37a..ec8ee369 100644 --- a/tests/WSSecurity/XML/sp/MustSupportRefEncryptedKeyTest.php +++ b/tests/WSSecurity/XML/sp/MustSupportRefEncryptedKeyTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustSupportRefEncryptedKey; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustSupportRefExternalURITest.php b/tests/WSSecurity/XML/sp/MustSupportRefExternalURITest.php index 3074d90b..2ad0b621 100644 --- a/tests/WSSecurity/XML/sp/MustSupportRefExternalURITest.php +++ b/tests/WSSecurity/XML/sp/MustSupportRefExternalURITest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustSupportRefExternalURI; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustSupportRefIssuerSerialTest.php b/tests/WSSecurity/XML/sp/MustSupportRefIssuerSerialTest.php index 6f8a71c8..a998b8aa 100644 --- a/tests/WSSecurity/XML/sp/MustSupportRefIssuerSerialTest.php +++ b/tests/WSSecurity/XML/sp/MustSupportRefIssuerSerialTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustSupportRefIssuerSerial; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustSupportRefKeyIdentifierTest.php b/tests/WSSecurity/XML/sp/MustSupportRefKeyIdentifierTest.php index 8942a9a2..9df0e243 100644 --- a/tests/WSSecurity/XML/sp/MustSupportRefKeyIdentifierTest.php +++ b/tests/WSSecurity/XML/sp/MustSupportRefKeyIdentifierTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustSupportRefKeyIdentifier; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustSupportRefThumbprintTest.php b/tests/WSSecurity/XML/sp/MustSupportRefThumbprintTest.php index 47d8e41a..a3c1d1ce 100644 --- a/tests/WSSecurity/XML/sp/MustSupportRefThumbprintTest.php +++ b/tests/WSSecurity/XML/sp/MustSupportRefThumbprintTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustSupportRefThumbprint; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/MustSupportServerChallengeTest.php b/tests/WSSecurity/XML/sp/MustSupportServerChallengeTest.php index 187a0963..ddf66293 100644 --- a/tests/WSSecurity/XML/sp/MustSupportServerChallengeTest.php +++ b/tests/WSSecurity/XML/sp/MustSupportServerChallengeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\MustSupportServerChallenge; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/NoPasswordTest.php b/tests/WSSecurity/XML/sp/NoPasswordTest.php index cbe2d236..25d63b42 100644 --- a/tests/WSSecurity/XML/sp/NoPasswordTest.php +++ b/tests/WSSecurity/XML/sp/NoPasswordTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\NoPassword; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/OnlySignEntireHeadersAndBodyTest.php b/tests/WSSecurity/XML/sp/OnlySignEntireHeadersAndBodyTest.php index 37523f5d..672b4987 100644 --- a/tests/WSSecurity/XML/sp/OnlySignEntireHeadersAndBodyTest.php +++ b/tests/WSSecurity/XML/sp/OnlySignEntireHeadersAndBodyTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\OnlySignEntireHeadersAndBody; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/ProtectTokensTest.php b/tests/WSSecurity/XML/sp/ProtectTokensTest.php index de9798aa..48fb9db3 100644 --- a/tests/WSSecurity/XML/sp/ProtectTokensTest.php +++ b/tests/WSSecurity/XML/sp/ProtectTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\ProtectTokens; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/ProtectionTokenTest.php b/tests/WSSecurity/XML/sp/ProtectionTokenTest.php index 9524bb25..c67240a2 100644 --- a/tests/WSSecurity/XML/sp/ProtectionTokenTest.php +++ b/tests/WSSecurity/XML/sp/ProtectionTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\ProtectionToken; diff --git a/tests/WSSecurity/XML/sp/RecipientEncryptionTokenTest.php b/tests/WSSecurity/XML/sp/RecipientEncryptionTokenTest.php index b96fa022..1195a15b 100644 --- a/tests/WSSecurity/XML/sp/RecipientEncryptionTokenTest.php +++ b/tests/WSSecurity/XML/sp/RecipientEncryptionTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\RecipientEncryptionToken; diff --git a/tests/WSSecurity/XML/sp/RecipientSignatureTokenTest.php b/tests/WSSecurity/XML/sp/RecipientSignatureTokenTest.php index 3ac199c1..8b60f2b7 100644 --- a/tests/WSSecurity/XML/sp/RecipientSignatureTokenTest.php +++ b/tests/WSSecurity/XML/sp/RecipientSignatureTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\RecipientSignatureToken; diff --git a/tests/WSSecurity/XML/sp/RecipientTokenTest.php b/tests/WSSecurity/XML/sp/RecipientTokenTest.php index fcfc4748..ee54a84d 100644 --- a/tests/WSSecurity/XML/sp/RecipientTokenTest.php +++ b/tests/WSSecurity/XML/sp/RecipientTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\RecipientToken; diff --git a/tests/WSSecurity/XML/sp/RelTokenTest.php b/tests/WSSecurity/XML/sp/RelTokenTest.php index c88b1377..8d11ce36 100644 --- a/tests/WSSecurity/XML/sp/RelTokenTest.php +++ b/tests/WSSecurity/XML/sp/RelTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\IncludeToken; diff --git a/tests/WSSecurity/XML/sp/RequestSecurityTokenTemplateTest.php b/tests/WSSecurity/XML/sp/RequestSecurityTokenTemplateTest.php index 0df18b20..64784c5a 100644 --- a/tests/WSSecurity/XML/sp/RequestSecurityTokenTemplateTest.php +++ b/tests/WSSecurity/XML/sp/RequestSecurityTokenTemplateTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\RequestSecurityTokenTemplate; diff --git a/tests/WSSecurity/XML/sp/RequireAppliesToTest.php b/tests/WSSecurity/XML/sp/RequireAppliesToTest.php index 57dbdd90..a6d5dd90 100644 --- a/tests/WSSecurity/XML/sp/RequireAppliesToTest.php +++ b/tests/WSSecurity/XML/sp/RequireAppliesToTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireAppliesTo; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireClientCertificateTest.php b/tests/WSSecurity/XML/sp/RequireClientCertificateTest.php index 45b2b5ed..bd9a771a 100644 --- a/tests/WSSecurity/XML/sp/RequireClientCertificateTest.php +++ b/tests/WSSecurity/XML/sp/RequireClientCertificateTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireClientCertificate; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireClientEntropyTest.php b/tests/WSSecurity/XML/sp/RequireClientEntropyTest.php index 1d402b9a..b9bd11be 100644 --- a/tests/WSSecurity/XML/sp/RequireClientEntropyTest.php +++ b/tests/WSSecurity/XML/sp/RequireClientEntropyTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireClientEntropy; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireDerivedKeysTest.php b/tests/WSSecurity/XML/sp/RequireDerivedKeysTest.php index 167cd4a5..d3b002e4 100644 --- a/tests/WSSecurity/XML/sp/RequireDerivedKeysTest.php +++ b/tests/WSSecurity/XML/sp/RequireDerivedKeysTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireDerivedKeys; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireEmbeddedTokenReferenceTest.php b/tests/WSSecurity/XML/sp/RequireEmbeddedTokenReferenceTest.php index deffc5df..23412089 100644 --- a/tests/WSSecurity/XML/sp/RequireEmbeddedTokenReferenceTest.php +++ b/tests/WSSecurity/XML/sp/RequireEmbeddedTokenReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireEmbeddedTokenReference; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireExplicitDerivedKeysTest.php b/tests/WSSecurity/XML/sp/RequireExplicitDerivedKeysTest.php index e9d18cd9..db677dc7 100644 --- a/tests/WSSecurity/XML/sp/RequireExplicitDerivedKeysTest.php +++ b/tests/WSSecurity/XML/sp/RequireExplicitDerivedKeysTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireExplicitDerivedKeys; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireExternalUriReferenceTest.php b/tests/WSSecurity/XML/sp/RequireExternalUriReferenceTest.php index 9b4ef9b4..41dc6921 100644 --- a/tests/WSSecurity/XML/sp/RequireExternalUriReferenceTest.php +++ b/tests/WSSecurity/XML/sp/RequireExternalUriReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireExternalUriReference; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireImpliedDerivedKeysTest.php b/tests/WSSecurity/XML/sp/RequireImpliedDerivedKeysTest.php index 1b1a5e13..4884f1df 100644 --- a/tests/WSSecurity/XML/sp/RequireImpliedDerivedKeysTest.php +++ b/tests/WSSecurity/XML/sp/RequireImpliedDerivedKeysTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireImpliedDerivedKeys; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireInternalReferenceTest.php b/tests/WSSecurity/XML/sp/RequireInternalReferenceTest.php index b8729d1e..53af6202 100644 --- a/tests/WSSecurity/XML/sp/RequireInternalReferenceTest.php +++ b/tests/WSSecurity/XML/sp/RequireInternalReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireInternalReference; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireIssuerSerialReferenceTest.php b/tests/WSSecurity/XML/sp/RequireIssuerSerialReferenceTest.php index a82911c4..c7149da8 100644 --- a/tests/WSSecurity/XML/sp/RequireIssuerSerialReferenceTest.php +++ b/tests/WSSecurity/XML/sp/RequireIssuerSerialReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireIssuerSerialReference; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireKeyIdentifierReferenceTest.php b/tests/WSSecurity/XML/sp/RequireKeyIdentifierReferenceTest.php index 0ccb8adc..ac175814 100644 --- a/tests/WSSecurity/XML/sp/RequireKeyIdentifierReferenceTest.php +++ b/tests/WSSecurity/XML/sp/RequireKeyIdentifierReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireKeyIdentifierReference; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireRequestSecurityTokenCollectionTest.php b/tests/WSSecurity/XML/sp/RequireRequestSecurityTokenCollectionTest.php index bb2b5cc2..6ea0437d 100644 --- a/tests/WSSecurity/XML/sp/RequireRequestSecurityTokenCollectionTest.php +++ b/tests/WSSecurity/XML/sp/RequireRequestSecurityTokenCollectionTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireRequestSecurityTokenCollection; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireServerEntropyTest.php b/tests/WSSecurity/XML/sp/RequireServerEntropyTest.php index 778b87ee..f26ff349 100644 --- a/tests/WSSecurity/XML/sp/RequireServerEntropyTest.php +++ b/tests/WSSecurity/XML/sp/RequireServerEntropyTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireServerEntropy; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireSignatureConfirmationTest.php b/tests/WSSecurity/XML/sp/RequireSignatureConfirmationTest.php index 13340441..55a70175 100644 --- a/tests/WSSecurity/XML/sp/RequireSignatureConfirmationTest.php +++ b/tests/WSSecurity/XML/sp/RequireSignatureConfirmationTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireSignatureConfirmation; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequireThumbprintReferenceTest.php b/tests/WSSecurity/XML/sp/RequireThumbprintReferenceTest.php index 9241ff55..07921049 100644 --- a/tests/WSSecurity/XML/sp/RequireThumbprintReferenceTest.php +++ b/tests/WSSecurity/XML/sp/RequireThumbprintReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RequireThumbprintReference; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/RequiredElementsTest.php b/tests/WSSecurity/XML/sp/RequiredElementsTest.php index 4bed7311..a48f1c2d 100644 --- a/tests/WSSecurity/XML/sp/RequiredElementsTest.php +++ b/tests/WSSecurity/XML/sp/RequiredElementsTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath as XMLXPath; diff --git a/tests/WSSecurity/XML/sp/RequiredPartsTest.php b/tests/WSSecurity/XML/sp/RequiredPartsTest.php index 297e7db1..9773ef97 100644 --- a/tests/WSSecurity/XML/sp/RequiredPartsTest.php +++ b/tests/WSSecurity/XML/sp/RequiredPartsTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath; diff --git a/tests/WSSecurity/XML/sp/RsaKeyValueTest.php b/tests/WSSecurity/XML/sp/RsaKeyValueTest.php index def49ace..d5e62868 100644 --- a/tests/WSSecurity/XML/sp/RsaKeyValueTest.php +++ b/tests/WSSecurity/XML/sp/RsaKeyValueTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\RsaKeyValue; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/SC13SecurityContextTokenTest.php b/tests/WSSecurity/XML/sp/SC13SecurityContextTokenTest.php index aefe42f1..aaf5b972 100644 --- a/tests/WSSecurity/XML/sp/SC13SecurityContextTokenTest.php +++ b/tests/WSSecurity/XML/sp/SC13SecurityContextTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\SC13SecurityContextToken; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/SOAPNormalization10Test.php b/tests/WSSecurity/XML/sp/SOAPNormalization10Test.php index 8799c78d..f83dbcfa 100644 --- a/tests/WSSecurity/XML/sp/SOAPNormalization10Test.php +++ b/tests/WSSecurity/XML/sp/SOAPNormalization10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\SOAPNormalization10; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/STRTransform10Test.php b/tests/WSSecurity/XML/sp/STRTransform10Test.php index 6e07a211..1453df8e 100644 --- a/tests/WSSecurity/XML/sp/STRTransform10Test.php +++ b/tests/WSSecurity/XML/sp/STRTransform10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\STRTransform10; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/SamlTokenTest.php b/tests/WSSecurity/XML/sp/SamlTokenTest.php index f7edc4fd..146b3377 100644 --- a/tests/WSSecurity/XML/sp/SamlTokenTest.php +++ b/tests/WSSecurity/XML/sp/SamlTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\IncludeToken; diff --git a/tests/WSSecurity/XML/sp/SecureConversationTokenTest.php b/tests/WSSecurity/XML/sp/SecureConversationTokenTest.php index 08bac834..826c63e9 100644 --- a/tests/WSSecurity/XML/sp/SecureConversationTokenTest.php +++ b/tests/WSSecurity/XML/sp/SecureConversationTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath; diff --git a/tests/WSSecurity/XML/sp/SecurityContextTokenTest.php b/tests/WSSecurity/XML/sp/SecurityContextTokenTest.php index be13200a..28ed095c 100644 --- a/tests/WSSecurity/XML/sp/SecurityContextTokenTest.php +++ b/tests/WSSecurity/XML/sp/SecurityContextTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\IncludeToken; diff --git a/tests/WSSecurity/XML/sp/SignatureTokenTest.php b/tests/WSSecurity/XML/sp/SignatureTokenTest.php index 92d220f0..d4159c2e 100644 --- a/tests/WSSecurity/XML/sp/SignatureTokenTest.php +++ b/tests/WSSecurity/XML/sp/SignatureTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\SignatureToken; diff --git a/tests/WSSecurity/XML/sp/SignedElementsTest.php b/tests/WSSecurity/XML/sp/SignedElementsTest.php index 4099fdfc..a205ddd2 100644 --- a/tests/WSSecurity/XML/sp/SignedElementsTest.php +++ b/tests/WSSecurity/XML/sp/SignedElementsTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath as XMLXPath; diff --git a/tests/WSSecurity/XML/sp/SignedEncryptedSupportingTokensTest.php b/tests/WSSecurity/XML/sp/SignedEncryptedSupportingTokensTest.php index 61c38a72..f9237184 100644 --- a/tests/WSSecurity/XML/sp/SignedEncryptedSupportingTokensTest.php +++ b/tests/WSSecurity/XML/sp/SignedEncryptedSupportingTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\SignedEncryptedSupportingTokens; diff --git a/tests/WSSecurity/XML/sp/SignedEndorsingEncryptedSupportingTokensTest.php b/tests/WSSecurity/XML/sp/SignedEndorsingEncryptedSupportingTokensTest.php index ce8ddd1d..e308f865 100644 --- a/tests/WSSecurity/XML/sp/SignedEndorsingEncryptedSupportingTokensTest.php +++ b/tests/WSSecurity/XML/sp/SignedEndorsingEncryptedSupportingTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\SignedEndorsingEncryptedSupportingTokens; diff --git a/tests/WSSecurity/XML/sp/SignedEndorsingSupportingTokensTest.php b/tests/WSSecurity/XML/sp/SignedEndorsingSupportingTokensTest.php index fa75d8d5..1d076cac 100644 --- a/tests/WSSecurity/XML/sp/SignedEndorsingSupportingTokensTest.php +++ b/tests/WSSecurity/XML/sp/SignedEndorsingSupportingTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\SignedEndorsingSupportingTokens; diff --git a/tests/WSSecurity/XML/sp/SignedPartsTest.php b/tests/WSSecurity/XML/sp/SignedPartsTest.php index 4d9664fb..bed377cd 100644 --- a/tests/WSSecurity/XML/sp/SignedPartsTest.php +++ b/tests/WSSecurity/XML/sp/SignedPartsTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath; diff --git a/tests/WSSecurity/XML/sp/SignedSupportingTokensTest.php b/tests/WSSecurity/XML/sp/SignedSupportingTokensTest.php index 663d6b68..4c08d87d 100644 --- a/tests/WSSecurity/XML/sp/SignedSupportingTokensTest.php +++ b/tests/WSSecurity/XML/sp/SignedSupportingTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\SignedSupportingTokens; diff --git a/tests/WSSecurity/XML/sp/SpnegoContextTokenTest.php b/tests/WSSecurity/XML/sp/SpnegoContextTokenTest.php index f34188f9..9e3aeea8 100644 --- a/tests/WSSecurity/XML/sp/SpnegoContextTokenTest.php +++ b/tests/WSSecurity/XML/sp/SpnegoContextTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\Utils\XPath; diff --git a/tests/WSSecurity/XML/sp/StrictTest.php b/tests/WSSecurity/XML/sp/StrictTest.php index 540fc13d..76ece43e 100644 --- a/tests/WSSecurity/XML/sp/StrictTest.php +++ b/tests/WSSecurity/XML/sp/StrictTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\Strict; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/SupportingTokensTest.php b/tests/WSSecurity/XML/sp/SupportingTokensTest.php index c50f8bdc..78aa983b 100644 --- a/tests/WSSecurity/XML/sp/SupportingTokensTest.php +++ b/tests/WSSecurity/XML/sp/SupportingTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\SupportingTokens; diff --git a/tests/WSSecurity/XML/sp/SymmetricBindingTest.php b/tests/WSSecurity/XML/sp/SymmetricBindingTest.php index 77caa1b2..be53fd3f 100644 --- a/tests/WSSecurity/XML/sp/SymmetricBindingTest.php +++ b/tests/WSSecurity/XML/sp/SymmetricBindingTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\SymmetricBinding; diff --git a/tests/WSSecurity/XML/sp/TransportBindingTest.php b/tests/WSSecurity/XML/sp/TransportBindingTest.php index 454a13ca..532a7f43 100644 --- a/tests/WSSecurity/XML/sp/TransportBindingTest.php +++ b/tests/WSSecurity/XML/sp/TransportBindingTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\TransportBinding; diff --git a/tests/WSSecurity/XML/sp/TransportTokenTest.php b/tests/WSSecurity/XML/sp/TransportTokenTest.php index 92565dfa..6f9e384c 100644 --- a/tests/WSSecurity/XML/sp/TransportTokenTest.php +++ b/tests/WSSecurity/XML/sp/TransportTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\TransportToken; diff --git a/tests/WSSecurity/XML/sp/TripleDesRsa15Test.php b/tests/WSSecurity/XML/sp/TripleDesRsa15Test.php index 11d52a49..524b2627 100644 --- a/tests/WSSecurity/XML/sp/TripleDesRsa15Test.php +++ b/tests/WSSecurity/XML/sp/TripleDesRsa15Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\TripleDesRsa15; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/TripleDesSha256Rsa15Test.php b/tests/WSSecurity/XML/sp/TripleDesSha256Rsa15Test.php index 4d8cda35..a030a89e 100644 --- a/tests/WSSecurity/XML/sp/TripleDesSha256Rsa15Test.php +++ b/tests/WSSecurity/XML/sp/TripleDesSha256Rsa15Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\TripleDesSha256Rsa15; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/TripleDesSha256Test.php b/tests/WSSecurity/XML/sp/TripleDesSha256Test.php index b36fae02..c27e9cd3 100644 --- a/tests/WSSecurity/XML/sp/TripleDesSha256Test.php +++ b/tests/WSSecurity/XML/sp/TripleDesSha256Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\TripleDesSha256; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/TripleDesTest.php b/tests/WSSecurity/XML/sp/TripleDesTest.php index 4bdbf51a..99d7a295 100644 --- a/tests/WSSecurity/XML/sp/TripleDesTest.php +++ b/tests/WSSecurity/XML/sp/TripleDesTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\TripleDes; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/Trust13Test.php b/tests/WSSecurity/XML/sp/Trust13Test.php index 433e764e..c0e018e4 100644 --- a/tests/WSSecurity/XML/sp/Trust13Test.php +++ b/tests/WSSecurity/XML/sp/Trust13Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\Trust13; diff --git a/tests/WSSecurity/XML/sp/UsernameTokenTest.php b/tests/WSSecurity/XML/sp/UsernameTokenTest.php index f0c45453..a943f1d2 100644 --- a/tests/WSSecurity/XML/sp/UsernameTokenTest.php +++ b/tests/WSSecurity/XML/sp/UsernameTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\IncludeToken; diff --git a/tests/WSSecurity/XML/sp/Wss10Test.php b/tests/WSSecurity/XML/sp/Wss10Test.php index 61044059..3c8d77e7 100644 --- a/tests/WSSecurity/XML/sp/Wss10Test.php +++ b/tests/WSSecurity/XML/sp/Wss10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\Wss10; diff --git a/tests/WSSecurity/XML/sp/Wss11Test.php b/tests/WSSecurity/XML/sp/Wss11Test.php index 96d48458..4de22363 100644 --- a/tests/WSSecurity/XML/sp/Wss11Test.php +++ b/tests/WSSecurity/XML/sp/Wss11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\Wss11; diff --git a/tests/WSSecurity/XML/sp/WssGssKerberosV5ApReqToken11Test.php b/tests/WSSecurity/XML/sp/WssGssKerberosV5ApReqToken11Test.php index 70a68405..0a9159ed 100644 --- a/tests/WSSecurity/XML/sp/WssGssKerberosV5ApReqToken11Test.php +++ b/tests/WSSecurity/XML/sp/WssGssKerberosV5ApReqToken11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssGssKerberosV5ApReqToken11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssKerberosV5ApReqToken11Test.php b/tests/WSSecurity/XML/sp/WssKerberosV5ApReqToken11Test.php index d2ceb9bd..7c3b8c3c 100644 --- a/tests/WSSecurity/XML/sp/WssKerberosV5ApReqToken11Test.php +++ b/tests/WSSecurity/XML/sp/WssKerberosV5ApReqToken11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssKerberosV5ApReqToken11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssRelV10Token10Test.php b/tests/WSSecurity/XML/sp/WssRelV10Token10Test.php index c3f3da94..facdd386 100644 --- a/tests/WSSecurity/XML/sp/WssRelV10Token10Test.php +++ b/tests/WSSecurity/XML/sp/WssRelV10Token10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssRelV10Token10; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssRelV10Token11Test.php b/tests/WSSecurity/XML/sp/WssRelV10Token11Test.php index fe9a5eb9..da111499 100644 --- a/tests/WSSecurity/XML/sp/WssRelV10Token11Test.php +++ b/tests/WSSecurity/XML/sp/WssRelV10Token11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssRelV10Token11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssRelV20Token10Test.php b/tests/WSSecurity/XML/sp/WssRelV20Token10Test.php index 55bdb026..f399d3fe 100644 --- a/tests/WSSecurity/XML/sp/WssRelV20Token10Test.php +++ b/tests/WSSecurity/XML/sp/WssRelV20Token10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssRelV20Token10; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssRelV20Token11Test.php b/tests/WSSecurity/XML/sp/WssRelV20Token11Test.php index 2d9cfe03..17baa42b 100644 --- a/tests/WSSecurity/XML/sp/WssRelV20Token11Test.php +++ b/tests/WSSecurity/XML/sp/WssRelV20Token11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssRelV20Token11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssSamlV11Token10Test.php b/tests/WSSecurity/XML/sp/WssSamlV11Token10Test.php index e618f560..42249789 100644 --- a/tests/WSSecurity/XML/sp/WssSamlV11Token10Test.php +++ b/tests/WSSecurity/XML/sp/WssSamlV11Token10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssSamlV11Token10; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssSamlV11Token11Test.php b/tests/WSSecurity/XML/sp/WssSamlV11Token11Test.php index 9bb2f832..faf6ec09 100644 --- a/tests/WSSecurity/XML/sp/WssSamlV11Token11Test.php +++ b/tests/WSSecurity/XML/sp/WssSamlV11Token11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssSamlV11Token11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssSamlV20Token11Test.php b/tests/WSSecurity/XML/sp/WssSamlV20Token11Test.php index 1ffb3ae1..bbfaeb2b 100644 --- a/tests/WSSecurity/XML/sp/WssSamlV20Token11Test.php +++ b/tests/WSSecurity/XML/sp/WssSamlV20Token11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssSamlV20Token11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssUsernameToken10Test.php b/tests/WSSecurity/XML/sp/WssUsernameToken10Test.php index 7067f13c..a3c097b9 100644 --- a/tests/WSSecurity/XML/sp/WssUsernameToken10Test.php +++ b/tests/WSSecurity/XML/sp/WssUsernameToken10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssUsernameToken10; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssUsernameToken11Test.php b/tests/WSSecurity/XML/sp/WssUsernameToken11Test.php index ae99d262..3ad7d1a3 100644 --- a/tests/WSSecurity/XML/sp/WssUsernameToken11Test.php +++ b/tests/WSSecurity/XML/sp/WssUsernameToken11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssUsernameToken11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssX509Pkcs7Token10Test.php b/tests/WSSecurity/XML/sp/WssX509Pkcs7Token10Test.php index f91d198d..c42aeabd 100644 --- a/tests/WSSecurity/XML/sp/WssX509Pkcs7Token10Test.php +++ b/tests/WSSecurity/XML/sp/WssX509Pkcs7Token10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssX509Pkcs7Token10; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssX509Pkcs7Token11Test.php b/tests/WSSecurity/XML/sp/WssX509Pkcs7Token11Test.php index 03f4b5ae..7935621b 100644 --- a/tests/WSSecurity/XML/sp/WssX509Pkcs7Token11Test.php +++ b/tests/WSSecurity/XML/sp/WssX509Pkcs7Token11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssX509Pkcs7Token11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssX509PkiPathV1Token10Test.php b/tests/WSSecurity/XML/sp/WssX509PkiPathV1Token10Test.php index ee93f4ba..33bee377 100644 --- a/tests/WSSecurity/XML/sp/WssX509PkiPathV1Token10Test.php +++ b/tests/WSSecurity/XML/sp/WssX509PkiPathV1Token10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssX509PkiPathV1Token10; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssX509PkiPathV1Token11Test.php b/tests/WSSecurity/XML/sp/WssX509PkiPathV1Token11Test.php index 2aaa0cd1..d0d264ee 100644 --- a/tests/WSSecurity/XML/sp/WssX509PkiPathV1Token11Test.php +++ b/tests/WSSecurity/XML/sp/WssX509PkiPathV1Token11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssX509PkiPathV1Token11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssX509V1Token11Test.php b/tests/WSSecurity/XML/sp/WssX509V1Token11Test.php index e6586d40..dc330f94 100644 --- a/tests/WSSecurity/XML/sp/WssX509V1Token11Test.php +++ b/tests/WSSecurity/XML/sp/WssX509V1Token11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssX509V1Token11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssX509V3Token10Test.php b/tests/WSSecurity/XML/sp/WssX509V3Token10Test.php index c5ff0454..993110e5 100644 --- a/tests/WSSecurity/XML/sp/WssX509V3Token10Test.php +++ b/tests/WSSecurity/XML/sp/WssX509V3Token10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssX509V3Token10; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/WssX509V3Token11Test.php b/tests/WSSecurity/XML/sp/WssX509V3Token11Test.php index e1615080..b98d7604 100644 --- a/tests/WSSecurity/XML/sp/WssX509V3Token11Test.php +++ b/tests/WSSecurity/XML/sp/WssX509V3Token11Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\WssX509V3Token11; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/X509TokenTest.php b/tests/WSSecurity/XML/sp/X509TokenTest.php index 778bb8b8..ecfee750 100644 --- a/tests/WSSecurity/XML/sp/X509TokenTest.php +++ b/tests/WSSecurity/XML/sp/X509TokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\sp\IncludeToken; diff --git a/tests/WSSecurity/XML/sp/XPath10Test.php b/tests/WSSecurity/XML/sp/XPath10Test.php index e304ed50..6dc73674 100644 --- a/tests/WSSecurity/XML/sp/XPath10Test.php +++ b/tests/WSSecurity/XML/sp/XPath10Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\XPath10; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/XPathFilter20Test.php b/tests/WSSecurity/XML/sp/XPathFilter20Test.php index ea9167a0..763561b3 100644 --- a/tests/WSSecurity/XML/sp/XPathFilter20Test.php +++ b/tests/WSSecurity/XML/sp/XPathFilter20Test.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\XPathFilter20; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/sp/XPathTest.php b/tests/WSSecurity/XML/sp/XPathTest.php index 19ad4a70..3ccc79d0 100644 --- a/tests/WSSecurity/XML/sp/XPathTest.php +++ b/tests/WSSecurity/XML/sp/XPathTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\sp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\sp\XPath; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wsa/ActionTest.php b/tests/WSSecurity/XML/wsa/ActionTest.php index f1ebadf8..1405c39a 100644 --- a/tests/WSSecurity/XML/wsa/ActionTest.php +++ b/tests/WSSecurity/XML/wsa/ActionTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\Action; use SimpleSAML\XML\Attribute; diff --git a/tests/WSSecurity/XML/wsa/AddressTest.php b/tests/WSSecurity/XML/wsa/AddressTest.php index 146d7f9b..b63910a4 100644 --- a/tests/WSSecurity/XML/wsa/AddressTest.php +++ b/tests/WSSecurity/XML/wsa/AddressTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\XML\Attribute; diff --git a/tests/WSSecurity/XML/wsa/EndpointReferenceTest.php b/tests/WSSecurity/XML/wsa/EndpointReferenceTest.php index 1ee3507f..8c614766 100644 --- a/tests/WSSecurity/XML/wsa/EndpointReferenceTest.php +++ b/tests/WSSecurity/XML/wsa/EndpointReferenceTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; diff --git a/tests/WSSecurity/XML/wsa/FaultToTest.php b/tests/WSSecurity/XML/wsa/FaultToTest.php index 3c6535c4..ed29d574 100644 --- a/tests/WSSecurity/XML/wsa/FaultToTest.php +++ b/tests/WSSecurity/XML/wsa/FaultToTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\FaultTo; diff --git a/tests/WSSecurity/XML/wsa/FromTest.php b/tests/WSSecurity/XML/wsa/FromTest.php index 6b9d62a7..1c21b0da 100644 --- a/tests/WSSecurity/XML/wsa/FromTest.php +++ b/tests/WSSecurity/XML/wsa/FromTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\From; diff --git a/tests/WSSecurity/XML/wsa/MessageIDTest.php b/tests/WSSecurity/XML/wsa/MessageIDTest.php index 0fc067a5..a86d92d1 100644 --- a/tests/WSSecurity/XML/wsa/MessageIDTest.php +++ b/tests/WSSecurity/XML/wsa/MessageIDTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as C; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wsa/MetadataTest.php b/tests/WSSecurity/XML/wsa/MetadataTest.php index 8015e019..4349904e 100644 --- a/tests/WSSecurity/XML/wsa/MetadataTest.php +++ b/tests/WSSecurity/XML/wsa/MetadataTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\Metadata; use SimpleSAML\XML\Attribute; diff --git a/tests/WSSecurity/XML/wsa/ProblemActionTest.php b/tests/WSSecurity/XML/wsa/ProblemActionTest.php index 1e12bd93..0bac74b7 100644 --- a/tests/WSSecurity/XML/wsa/ProblemActionTest.php +++ b/tests/WSSecurity/XML/wsa/ProblemActionTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wsa\Action; diff --git a/tests/WSSecurity/XML/wsa/ProblemHeaderQNameTest.php b/tests/WSSecurity/XML/wsa/ProblemHeaderQNameTest.php index 046d4ce1..c6b5a78d 100644 --- a/tests/WSSecurity/XML/wsa/ProblemHeaderQNameTest.php +++ b/tests/WSSecurity/XML/wsa/ProblemHeaderQNameTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\ProblemHeaderQName; use SimpleSAML\XML\Attribute; diff --git a/tests/WSSecurity/XML/wsa/ProblemIRITest.php b/tests/WSSecurity/XML/wsa/ProblemIRITest.php index f60b3f6e..2e8c8c6a 100644 --- a/tests/WSSecurity/XML/wsa/ProblemIRITest.php +++ b/tests/WSSecurity/XML/wsa/ProblemIRITest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\ProblemIRI; use SimpleSAML\XML\Attribute; diff --git a/tests/WSSecurity/XML/wsa/ReferenceParametersTest.php b/tests/WSSecurity/XML/wsa/ReferenceParametersTest.php index 58dd3c1f..f4e596d4 100644 --- a/tests/WSSecurity/XML/wsa/ReferenceParametersTest.php +++ b/tests/WSSecurity/XML/wsa/ReferenceParametersTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\ReferenceParameters; use SimpleSAML\XML\Attribute; diff --git a/tests/WSSecurity/XML/wsa/RelatesToTest.php b/tests/WSSecurity/XML/wsa/RelatesToTest.php index 6b79fe03..3b128ecf 100644 --- a/tests/WSSecurity/XML/wsa/RelatesToTest.php +++ b/tests/WSSecurity/XML/wsa/RelatesToTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\RelatesTo; use SimpleSAML\XML\Attribute; diff --git a/tests/WSSecurity/XML/wsa/ReplyToTest.php b/tests/WSSecurity/XML/wsa/ReplyToTest.php index 7891544e..c2b3ed53 100644 --- a/tests/WSSecurity/XML/wsa/ReplyToTest.php +++ b/tests/WSSecurity/XML/wsa/ReplyToTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\Metadata; diff --git a/tests/WSSecurity/XML/wsa/RetryAfterTest.php b/tests/WSSecurity/XML/wsa/RetryAfterTest.php index 7160fcc3..e67cc408 100644 --- a/tests/WSSecurity/XML/wsa/RetryAfterTest.php +++ b/tests/WSSecurity/XML/wsa/RetryAfterTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\RetryAfter; use SimpleSAML\XML\Attribute; diff --git a/tests/WSSecurity/XML/wsa/SoapActionTest.php b/tests/WSSecurity/XML/wsa/SoapActionTest.php index 3080ab0d..2c0d2069 100644 --- a/tests/WSSecurity/XML/wsa/SoapActionTest.php +++ b/tests/WSSecurity/XML/wsa/SoapActionTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\SoapAction; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wsa/ToTest.php b/tests/WSSecurity/XML/wsa/ToTest.php index 1cd40364..7a4b1f29 100644 --- a/tests/WSSecurity/XML/wsa/ToTest.php +++ b/tests/WSSecurity/XML/wsa/ToTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsa; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\To; use SimpleSAML\XML\Attribute; diff --git a/tests/WSSecurity/XML/wsp/AllTest.php b/tests/WSSecurity/XML/wsp/AllTest.php index 040e0286..f6d82aa7 100644 --- a/tests/WSSecurity/XML/wsp/AllTest.php +++ b/tests/WSSecurity/XML/wsp/AllTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsp\All; use SimpleSAML\WSSecurity\XML\wsp\ExactlyOne; diff --git a/tests/WSSecurity/XML/wsp/AppliesToTest.php b/tests/WSSecurity/XML/wsp/AppliesToTest.php index 5fed8044..e0021cd3 100644 --- a/tests/WSSecurity/XML/wsp/AppliesToTest.php +++ b/tests/WSSecurity/XML/wsp/AppliesToTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; diff --git a/tests/WSSecurity/XML/wsp/ExactlyOneTest.php b/tests/WSSecurity/XML/wsp/ExactlyOneTest.php index 427eabff..7f2e2a66 100644 --- a/tests/WSSecurity/XML/wsp/ExactlyOneTest.php +++ b/tests/WSSecurity/XML/wsp/ExactlyOneTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsp\All; use SimpleSAML\WSSecurity\XML\wsp\ExactlyOne; diff --git a/tests/WSSecurity/XML/wsp/PolicyAttachmentTest.php b/tests/WSSecurity/XML/wsp/PolicyAttachmentTest.php index a5c53000..f4e24c18 100644 --- a/tests/WSSecurity/XML/wsp/PolicyAttachmentTest.php +++ b/tests/WSSecurity/XML/wsp/PolicyAttachmentTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wsa\Address; diff --git a/tests/WSSecurity/XML/wsp/PolicyReferenceTest.php b/tests/WSSecurity/XML/wsp/PolicyReferenceTest.php index 82636ba0..5c0c2ede 100644 --- a/tests/WSSecurity/XML/wsp/PolicyReferenceTest.php +++ b/tests/WSSecurity/XML/wsp/PolicyReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wsp\PolicyReference; diff --git a/tests/WSSecurity/XML/wsp/PolicyTest.php b/tests/WSSecurity/XML/wsp/PolicyTest.php index 2761accd..ca74293d 100644 --- a/tests/WSSecurity/XML/wsp/PolicyTest.php +++ b/tests/WSSecurity/XML/wsp/PolicyTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsp; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wsp\ExactlyOne; diff --git a/tests/WSSecurity/XML/wsse/BinarySecurityTokenTest.php b/tests/WSSecurity/XML/wsse/BinarySecurityTokenTest.php index 1d51b9ca..4df2b43a 100644 --- a/tests/WSSecurity/XML/wsse/BinarySecurityTokenTest.php +++ b/tests/WSSecurity/XML/wsse/BinarySecurityTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\BinarySecurityToken; use SimpleSAML\XML\Attribute as XMLAttribute; diff --git a/tests/WSSecurity/XML/wsse/EmbeddedTest.php b/tests/WSSecurity/XML/wsse/EmbeddedTest.php index 65c38558..18f56a43 100644 --- a/tests/WSSecurity/XML/wsse/EmbeddedTest.php +++ b/tests/WSSecurity/XML/wsse/EmbeddedTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\Embedded; use SimpleSAML\XML\Attribute as XMLAttribute; diff --git a/tests/WSSecurity/XML/wsse/KeyIdentifierTest.php b/tests/WSSecurity/XML/wsse/KeyIdentifierTest.php index 2c335271..1b54f9bf 100644 --- a/tests/WSSecurity/XML/wsse/KeyIdentifierTest.php +++ b/tests/WSSecurity/XML/wsse/KeyIdentifierTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\KeyIdentifier; use SimpleSAML\XML\Attribute as XMLAttribute; diff --git a/tests/WSSecurity/XML/wsse/NonceTest.php b/tests/WSSecurity/XML/wsse/NonceTest.php index 01236ecf..f213adbe 100644 --- a/tests/WSSecurity/XML/wsse/NonceTest.php +++ b/tests/WSSecurity/XML/wsse/NonceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\Nonce; use SimpleSAML\XML\Attribute as XMLAttribute; diff --git a/tests/WSSecurity/XML/wsse/PasswordTest.php b/tests/WSSecurity/XML/wsse/PasswordTest.php index f6a6eb97..61090e72 100644 --- a/tests/WSSecurity/XML/wsse/PasswordTest.php +++ b/tests/WSSecurity/XML/wsse/PasswordTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\Password; use SimpleSAML\XML\Attribute as XMLAttribute; diff --git a/tests/WSSecurity/XML/wsse/ReferenceTest.php b/tests/WSSecurity/XML/wsse/ReferenceTest.php index e806302d..bffa9f55 100644 --- a/tests/WSSecurity/XML/wsse/ReferenceTest.php +++ b/tests/WSSecurity/XML/wsse/ReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\Reference; use SimpleSAML\XML\Attribute as XMLAttribute; diff --git a/tests/WSSecurity/XML/wsse/SecurityTest.php b/tests/WSSecurity/XML/wsse/SecurityTest.php index 6b70df57..9ab72188 100644 --- a/tests/WSSecurity/XML/wsse/SecurityTest.php +++ b/tests/WSSecurity/XML/wsse/SecurityTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\Security; use SimpleSAML\XML\Attribute as XMLAttribute; diff --git a/tests/WSSecurity/XML/wsse/SecurityTokenReferenceTest.php b/tests/WSSecurity/XML/wsse/SecurityTokenReferenceTest.php index 60b7a4c9..25c3c023 100644 --- a/tests/WSSecurity/XML/wsse/SecurityTokenReferenceTest.php +++ b/tests/WSSecurity/XML/wsse/SecurityTokenReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\SecurityTokenReference; use SimpleSAML\XML\Attribute as XMLAttribute; diff --git a/tests/WSSecurity/XML/wsse/TransformationParametersTest.php b/tests/WSSecurity/XML/wsse/TransformationParametersTest.php index 82144ada..695ebaa3 100644 --- a/tests/WSSecurity/XML/wsse/TransformationParametersTest.php +++ b/tests/WSSecurity/XML/wsse/TransformationParametersTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\TransformationParameters; use SimpleSAML\XML\Attribute as XMLAttribute; diff --git a/tests/WSSecurity/XML/wsse/UsernameTest.php b/tests/WSSecurity/XML/wsse/UsernameTest.php index fab06686..282a6f3d 100644 --- a/tests/WSSecurity/XML/wsse/UsernameTest.php +++ b/tests/WSSecurity/XML/wsse/UsernameTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\Username; use SimpleSAML\XML\Attribute as XMLAttribute; diff --git a/tests/WSSecurity/XML/wsse/UsernameTokenTest.php b/tests/WSSecurity/XML/wsse/UsernameTokenTest.php index b2f106aa..2fe2249b 100644 --- a/tests/WSSecurity/XML/wsse/UsernameTokenTest.php +++ b/tests/WSSecurity/XML/wsse/UsernameTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsse; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\Username; use SimpleSAML\WSSecurity\XML\wsse\UsernameToken; diff --git a/tests/WSSecurity/XML/wst/AllowPostdatingTest.php b/tests/WSSecurity/XML/wst/AllowPostdatingTest.php index 45e07b26..37590b82 100644 --- a/tests/WSSecurity/XML/wst/AllowPostdatingTest.php +++ b/tests/WSSecurity/XML/wst/AllowPostdatingTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\AllowPostdating; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wst/AuthenticationTypeTest.php b/tests/WSSecurity/XML/wst/AuthenticationTypeTest.php index 19e7eb34..700c3469 100644 --- a/tests/WSSecurity/XML/wst/AuthenticationTypeTest.php +++ b/tests/WSSecurity/XML/wst/AuthenticationTypeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\AuthenticationType; diff --git a/tests/WSSecurity/XML/wst/AuthenticatorTest.php b/tests/WSSecurity/XML/wst/AuthenticatorTest.php index 5cd21911..f0e4364c 100644 --- a/tests/WSSecurity/XML/wst/AuthenticatorTest.php +++ b/tests/WSSecurity/XML/wst/AuthenticatorTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/BinaryExchangeTest.php b/tests/WSSecurity/XML/wst/BinaryExchangeTest.php index b72927a2..53149551 100644 --- a/tests/WSSecurity/XML/wst/BinaryExchangeTest.php +++ b/tests/WSSecurity/XML/wst/BinaryExchangeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\BinaryExchange; diff --git a/tests/WSSecurity/XML/wst/BinarySecretTest.php b/tests/WSSecurity/XML/wst/BinarySecretTest.php index 320f5cdc..137d63ed 100644 --- a/tests/WSSecurity/XML/wst/BinarySecretTest.php +++ b/tests/WSSecurity/XML/wst/BinarySecretTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\BinarySecret; diff --git a/tests/WSSecurity/XML/wst/CancelTargetTest.php b/tests/WSSecurity/XML/wst/CancelTargetTest.php index 7e5a6623..ce826301 100644 --- a/tests/WSSecurity/XML/wst/CancelTargetTest.php +++ b/tests/WSSecurity/XML/wst/CancelTargetTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/CanonicalizationAlgorithmTest.php b/tests/WSSecurity/XML/wst/CanonicalizationAlgorithmTest.php index fb0ba399..9b7250e9 100644 --- a/tests/WSSecurity/XML/wst/CanonicalizationAlgorithmTest.php +++ b/tests/WSSecurity/XML/wst/CanonicalizationAlgorithmTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\CanonicalizationAlgorithm; diff --git a/tests/WSSecurity/XML/wst/ChallengeTest.php b/tests/WSSecurity/XML/wst/ChallengeTest.php index 8c098215..684f15b8 100644 --- a/tests/WSSecurity/XML/wst/ChallengeTest.php +++ b/tests/WSSecurity/XML/wst/ChallengeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\Challenge; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wst/ClaimsTest.php b/tests/WSSecurity/XML/wst/ClaimsTest.php index b88c36a5..1d7ec541 100644 --- a/tests/WSSecurity/XML/wst/ClaimsTest.php +++ b/tests/WSSecurity/XML/wst/ClaimsTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\Test\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/CodeTest.php b/tests/WSSecurity/XML/wst/CodeTest.php index 74f70b1d..6474faab 100644 --- a/tests/WSSecurity/XML/wst/CodeTest.php +++ b/tests/WSSecurity/XML/wst/CodeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\Code; use SimpleSAML\WSSecurity\XML\wst\StatusCodeEnum; diff --git a/tests/WSSecurity/XML/wst/CombinedHashTest.php b/tests/WSSecurity/XML/wst/CombinedHashTest.php index 7bcedfed..282ee7c9 100644 --- a/tests/WSSecurity/XML/wst/CombinedHashTest.php +++ b/tests/WSSecurity/XML/wst/CombinedHashTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\CombinedHash; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wst/ComputedKeyAlgorithmTest.php b/tests/WSSecurity/XML/wst/ComputedKeyAlgorithmTest.php index 5bf99bd1..6613c5e9 100644 --- a/tests/WSSecurity/XML/wst/ComputedKeyAlgorithmTest.php +++ b/tests/WSSecurity/XML/wst/ComputedKeyAlgorithmTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\ComputedKeyAlgorithm; diff --git a/tests/WSSecurity/XML/wst/ComputedKeyTest.php b/tests/WSSecurity/XML/wst/ComputedKeyTest.php index e2b788b9..6f755f08 100644 --- a/tests/WSSecurity/XML/wst/ComputedKeyTest.php +++ b/tests/WSSecurity/XML/wst/ComputedKeyTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\ComputedKey; use SimpleSAML\WSSecurity\XML\wst\ComputedKeyEnum; diff --git a/tests/WSSecurity/XML/wst/DelegatableTest.php b/tests/WSSecurity/XML/wst/DelegatableTest.php index 760a628c..779e9c1c 100644 --- a/tests/WSSecurity/XML/wst/DelegatableTest.php +++ b/tests/WSSecurity/XML/wst/DelegatableTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\Delegatable; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wst/DelegateToTest.php b/tests/WSSecurity/XML/wst/DelegateToTest.php index cf3d1a7c..f62f823f 100644 --- a/tests/WSSecurity/XML/wst/DelegateToTest.php +++ b/tests/WSSecurity/XML/wst/DelegateToTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/EncryptWithTest.php b/tests/WSSecurity/XML/wst/EncryptWithTest.php index 52928df4..9123e560 100644 --- a/tests/WSSecurity/XML/wst/EncryptWithTest.php +++ b/tests/WSSecurity/XML/wst/EncryptWithTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\EncryptWith; diff --git a/tests/WSSecurity/XML/wst/EncryptionAlgorithmTest.php b/tests/WSSecurity/XML/wst/EncryptionAlgorithmTest.php index 39d48c3d..0120bf36 100644 --- a/tests/WSSecurity/XML/wst/EncryptionAlgorithmTest.php +++ b/tests/WSSecurity/XML/wst/EncryptionAlgorithmTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\EncryptionAlgorithm; diff --git a/tests/WSSecurity/XML/wst/EncryptionTest.php b/tests/WSSecurity/XML/wst/EncryptionTest.php index 91c78a58..2053dc07 100644 --- a/tests/WSSecurity/XML/wst/EncryptionTest.php +++ b/tests/WSSecurity/XML/wst/EncryptionTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/EntropyTest.php b/tests/WSSecurity/XML/wst/EntropyTest.php index a3a718df..a02dae9d 100644 --- a/tests/WSSecurity/XML/wst/EntropyTest.php +++ b/tests/WSSecurity/XML/wst/EntropyTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\Test\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/ForwardableTest.php b/tests/WSSecurity/XML/wst/ForwardableTest.php index fdbc0f00..c6eb6eae 100644 --- a/tests/WSSecurity/XML/wst/ForwardableTest.php +++ b/tests/WSSecurity/XML/wst/ForwardableTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\Forwardable; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wst/IssuedTokensTest.php b/tests/WSSecurity/XML/wst/IssuedTokensTest.php index 9540ee30..79276af5 100644 --- a/tests/WSSecurity/XML/wst/IssuedTokensTest.php +++ b/tests/WSSecurity/XML/wst/IssuedTokensTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\Test\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/IssuerTest.php b/tests/WSSecurity/XML/wst/IssuerTest.php index afed5b3a..233b1cde 100644 --- a/tests/WSSecurity/XML/wst/IssuerTest.php +++ b/tests/WSSecurity/XML/wst/IssuerTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\Metadata; diff --git a/tests/WSSecurity/XML/wst/KeyExchangeTokenTest.php b/tests/WSSecurity/XML/wst/KeyExchangeTokenTest.php index 9d6cb624..788615da 100644 --- a/tests/WSSecurity/XML/wst/KeyExchangeTokenTest.php +++ b/tests/WSSecurity/XML/wst/KeyExchangeTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/KeySizeTest.php b/tests/WSSecurity/XML/wst/KeySizeTest.php index 9846c5e2..f9e4fd4e 100644 --- a/tests/WSSecurity/XML/wst/KeySizeTest.php +++ b/tests/WSSecurity/XML/wst/KeySizeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\KeySize; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wst/KeyTypeTest.php b/tests/WSSecurity/XML/wst/KeyTypeTest.php index 9a92ed98..5ec06b31 100644 --- a/tests/WSSecurity/XML/wst/KeyTypeTest.php +++ b/tests/WSSecurity/XML/wst/KeyTypeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\KeyType; use SimpleSAML\WSSecurity\XML\wst\KeyTypeEnum; diff --git a/tests/WSSecurity/XML/wst/KeyWrapAlgorithmTest.php b/tests/WSSecurity/XML/wst/KeyWrapAlgorithmTest.php index cd24d99c..21e04cc9 100644 --- a/tests/WSSecurity/XML/wst/KeyWrapAlgorithmTest.php +++ b/tests/WSSecurity/XML/wst/KeyWrapAlgorithmTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\KeyWrapAlgorithm; diff --git a/tests/WSSecurity/XML/wst/LifetimeTest.php b/tests/WSSecurity/XML/wst/LifetimeTest.php index 1b246608..6f6c9fdf 100644 --- a/tests/WSSecurity/XML/wst/LifetimeTest.php +++ b/tests/WSSecurity/XML/wst/LifetimeTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; use DateTimeImmutable; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\Lifetime; use SimpleSAML\WSSecurity\XML\wsu\Created; diff --git a/tests/WSSecurity/XML/wst/OnBehalfOfTest.php b/tests/WSSecurity/XML/wst/OnBehalfOfTest.php index 8e183e45..d6e40f09 100644 --- a/tests/WSSecurity/XML/wst/OnBehalfOfTest.php +++ b/tests/WSSecurity/XML/wst/OnBehalfOfTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/ParticipantTest.php b/tests/WSSecurity/XML/wst/ParticipantTest.php index 986a4c1a..8457991a 100644 --- a/tests/WSSecurity/XML/wst/ParticipantTest.php +++ b/tests/WSSecurity/XML/wst/ParticipantTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/ParticipantsTest.php b/tests/WSSecurity/XML/wst/ParticipantsTest.php index d06182e6..2b9469b5 100644 --- a/tests/WSSecurity/XML/wst/ParticipantsTest.php +++ b/tests/WSSecurity/XML/wst/ParticipantsTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/PrimaryTest.php b/tests/WSSecurity/XML/wst/PrimaryTest.php index 4787d509..337d1a13 100644 --- a/tests/WSSecurity/XML/wst/PrimaryTest.php +++ b/tests/WSSecurity/XML/wst/PrimaryTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/ProofEncryptionTest.php b/tests/WSSecurity/XML/wst/ProofEncryptionTest.php index f1d805e8..7f7ad243 100644 --- a/tests/WSSecurity/XML/wst/ProofEncryptionTest.php +++ b/tests/WSSecurity/XML/wst/ProofEncryptionTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/ReasonTest.php b/tests/WSSecurity/XML/wst/ReasonTest.php index 1e4b1a5f..fa3396b7 100644 --- a/tests/WSSecurity/XML/wst/ReasonTest.php +++ b/tests/WSSecurity/XML/wst/ReasonTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\Reason; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wst/RenewTargetTest.php b/tests/WSSecurity/XML/wst/RenewTargetTest.php index 8287f5b9..359d33b7 100644 --- a/tests/WSSecurity/XML/wst/RenewTargetTest.php +++ b/tests/WSSecurity/XML/wst/RenewTargetTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/RenewingTest.php b/tests/WSSecurity/XML/wst/RenewingTest.php index 6aca2b3c..5500087f 100644 --- a/tests/WSSecurity/XML/wst/RenewingTest.php +++ b/tests/WSSecurity/XML/wst/RenewingTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\Renewing; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wst/RequestKETTest.php b/tests/WSSecurity/XML/wst/RequestKETTest.php index e778ed17..b0348d88 100644 --- a/tests/WSSecurity/XML/wst/RequestKETTest.php +++ b/tests/WSSecurity/XML/wst/RequestKETTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\RequestKET; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wst/RequestSecurityTokenCollectionTest.php b/tests/WSSecurity/XML/wst/RequestSecurityTokenCollectionTest.php index 82889290..ef64cbdf 100644 --- a/tests/WSSecurity/XML/wst/RequestSecurityTokenCollectionTest.php +++ b/tests/WSSecurity/XML/wst/RequestSecurityTokenCollectionTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\Test\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/RequestSecurityTokenResponseCollectionTest.php b/tests/WSSecurity/XML/wst/RequestSecurityTokenResponseCollectionTest.php index 683d2e76..29ee1eb1 100644 --- a/tests/WSSecurity/XML/wst/RequestSecurityTokenResponseCollectionTest.php +++ b/tests/WSSecurity/XML/wst/RequestSecurityTokenResponseCollectionTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\Test\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/RequestSecurityTokenResponseTest.php b/tests/WSSecurity/XML/wst/RequestSecurityTokenResponseTest.php index 645b2875..eb137d7a 100644 --- a/tests/WSSecurity/XML/wst/RequestSecurityTokenResponseTest.php +++ b/tests/WSSecurity/XML/wst/RequestSecurityTokenResponseTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\Test\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/RequestSecurityTokenTest.php b/tests/WSSecurity/XML/wst/RequestSecurityTokenTest.php index 30800342..336130d5 100644 --- a/tests/WSSecurity/XML/wst/RequestSecurityTokenTest.php +++ b/tests/WSSecurity/XML/wst/RequestSecurityTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\Test\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/RequestTypeTest.php b/tests/WSSecurity/XML/wst/RequestTypeTest.php index 688f6e66..e6badfe2 100644 --- a/tests/WSSecurity/XML/wst/RequestTypeTest.php +++ b/tests/WSSecurity/XML/wst/RequestTypeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\RequestType; use SimpleSAML\WSSecurity\XML\wst\RequestTypeEnum; diff --git a/tests/WSSecurity/XML/wst/RequestedAttachedReferenceTest.php b/tests/WSSecurity/XML/wst/RequestedAttachedReferenceTest.php index 5fd4ad54..bdc2b1d2 100644 --- a/tests/WSSecurity/XML/wst/RequestedAttachedReferenceTest.php +++ b/tests/WSSecurity/XML/wst/RequestedAttachedReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\SecurityTokenReference; use SimpleSAML\WSSecurity\XML\wst\RequestedAttachedReference; diff --git a/tests/WSSecurity/XML/wst/RequestedProofTokenTest.php b/tests/WSSecurity/XML/wst/RequestedProofTokenTest.php index cf2bb3dc..cc11165d 100644 --- a/tests/WSSecurity/XML/wst/RequestedProofTokenTest.php +++ b/tests/WSSecurity/XML/wst/RequestedProofTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/RequestedSecurityTokenTest.php b/tests/WSSecurity/XML/wst/RequestedSecurityTokenTest.php index 36ebb2b3..d73e9a8d 100644 --- a/tests/WSSecurity/XML/wst/RequestedSecurityTokenTest.php +++ b/tests/WSSecurity/XML/wst/RequestedSecurityTokenTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wst/RequestedTokenCancelledTest.php b/tests/WSSecurity/XML/wst/RequestedTokenCancelledTest.php index f1e3027b..c10891f5 100644 --- a/tests/WSSecurity/XML/wst/RequestedTokenCancelledTest.php +++ b/tests/WSSecurity/XML/wst/RequestedTokenCancelledTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\RequestedTokenCancelled; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wst/RequestedUnattachedReferenceTest.php b/tests/WSSecurity/XML/wst/RequestedUnattachedReferenceTest.php index 4c2dd542..e885b944 100644 --- a/tests/WSSecurity/XML/wst/RequestedUnattachedReferenceTest.php +++ b/tests/WSSecurity/XML/wst/RequestedUnattachedReferenceTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsse\SecurityTokenReference; use SimpleSAML\WSSecurity\XML\wst\RequestedUnattachedReference; diff --git a/tests/WSSecurity/XML/wst/SignChallengeResponseTest.php b/tests/WSSecurity/XML/wst/SignChallengeResponseTest.php index 26bec58a..0999cf56 100644 --- a/tests/WSSecurity/XML/wst/SignChallengeResponseTest.php +++ b/tests/WSSecurity/XML/wst/SignChallengeResponseTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\Test\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/SignChallengeTest.php b/tests/WSSecurity/XML/wst/SignChallengeTest.php index 6416ad80..acbcc712 100644 --- a/tests/WSSecurity/XML/wst/SignChallengeTest.php +++ b/tests/WSSecurity/XML/wst/SignChallengeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\Test\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/SignWithTest.php b/tests/WSSecurity/XML/wst/SignWithTest.php index 2a448618..1427c6b7 100644 --- a/tests/WSSecurity/XML/wst/SignWithTest.php +++ b/tests/WSSecurity/XML/wst/SignWithTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\SignWith; diff --git a/tests/WSSecurity/XML/wst/SignatureAlgorithmTest.php b/tests/WSSecurity/XML/wst/SignatureAlgorithmTest.php index 1c9605ab..a0b1981f 100644 --- a/tests/WSSecurity/XML/wst/SignatureAlgorithmTest.php +++ b/tests/WSSecurity/XML/wst/SignatureAlgorithmTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\SignatureAlgorithm; diff --git a/tests/WSSecurity/XML/wst/StatusTest.php b/tests/WSSecurity/XML/wst/StatusTest.php index dc70caa6..92aeeb9a 100644 --- a/tests/WSSecurity/XML/wst/StatusTest.php +++ b/tests/WSSecurity/XML/wst/StatusTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wst\Code; use SimpleSAML\WSSecurity\XML\wst\Reason; diff --git a/tests/WSSecurity/XML/wst/TokenTypeTest.php b/tests/WSSecurity/XML/wst/TokenTypeTest.php index fd05bbe1..abe63aa8 100644 --- a/tests/WSSecurity/XML/wst/TokenTypeTest.php +++ b/tests/WSSecurity/XML/wst/TokenTypeTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wst\TokenType; diff --git a/tests/WSSecurity/XML/wst/UseKeyTest.php b/tests/WSSecurity/XML/wst/UseKeyTest.php index b4f08212..0b86928a 100644 --- a/tests/WSSecurity/XML/wst/UseKeyTest.php +++ b/tests/WSSecurity/XML/wst/UseKeyTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\Test\WSSecurity\Constants as C; diff --git a/tests/WSSecurity/XML/wst/ValidateTargetTest.php b/tests/WSSecurity/XML/wst/ValidateTargetTest.php index c47980fd..074ca9f7 100644 --- a/tests/WSSecurity/XML/wst/ValidateTargetTest.php +++ b/tests/WSSecurity/XML/wst/ValidateTargetTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wst; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\SOAP\Constants as SOAP; use SimpleSAML\WSSecurity\XML\wsa\MessageID; diff --git a/tests/WSSecurity/XML/wsu/CreatedTest.php b/tests/WSSecurity/XML/wsu/CreatedTest.php index c84bbba5..46351d3b 100644 --- a/tests/WSSecurity/XML/wsu/CreatedTest.php +++ b/tests/WSSecurity/XML/wsu/CreatedTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsu; use DateTimeImmutable; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsu\Created; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wsu/ExpiresTest.php b/tests/WSSecurity/XML/wsu/ExpiresTest.php index 46f1beb1..ab46cb2d 100644 --- a/tests/WSSecurity/XML/wsu/ExpiresTest.php +++ b/tests/WSSecurity/XML/wsu/ExpiresTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsu; use DateTimeImmutable; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsu\Expires; use SimpleSAML\XML\DOMDocumentFactory; diff --git a/tests/WSSecurity/XML/wsu/TimestampTest.php b/tests/WSSecurity/XML/wsu/TimestampTest.php index d9a6ccbb..73cbc5df 100644 --- a/tests/WSSecurity/XML/wsu/TimestampTest.php +++ b/tests/WSSecurity/XML/wsu/TimestampTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsu; use DateTimeImmutable; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsu\Created; use SimpleSAML\WSSecurity\XML\wsu\Expires; diff --git a/tests/WSSecurity/XML/wsx/DialectTest.php b/tests/WSSecurity/XML/wsx/DialectTest.php index aa863ec2..63a90745 100644 --- a/tests/WSSecurity/XML/wsx/DialectTest.php +++ b/tests/WSSecurity/XML/wsx/DialectTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsx; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wsx\Dialect; diff --git a/tests/WSSecurity/XML/wsx/GetMetadataTest.php b/tests/WSSecurity/XML/wsx/GetMetadataTest.php index f9191898..2de37a6f 100644 --- a/tests/WSSecurity/XML/wsx/GetMetadataTest.php +++ b/tests/WSSecurity/XML/wsx/GetMetadataTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsx; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsx\Dialect; use SimpleSAML\WSSecurity\XML\wsx\GetMetadata; diff --git a/tests/WSSecurity/XML/wsx/IdentifierTest.php b/tests/WSSecurity/XML/wsx/IdentifierTest.php index 38a727f9..2d3839ef 100644 --- a/tests/WSSecurity/XML/wsx/IdentifierTest.php +++ b/tests/WSSecurity/XML/wsx/IdentifierTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsx; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wsx\Identifier; diff --git a/tests/WSSecurity/XML/wsx/LocationTest.php b/tests/WSSecurity/XML/wsx/LocationTest.php index 3468e54d..8f1fde8c 100644 --- a/tests/WSSecurity/XML/wsx/LocationTest.php +++ b/tests/WSSecurity/XML/wsx/LocationTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsx; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\Test\WSSecurity\Constants as C; use SimpleSAML\WSSecurity\XML\wsx\Location; diff --git a/tests/WSSecurity/XML/wsx/MetadataReferenceTest.php b/tests/WSSecurity/XML/wsx/MetadataReferenceTest.php index 3ccdba5b..12601418 100644 --- a/tests/WSSecurity/XML/wsx/MetadataReferenceTest.php +++ b/tests/WSSecurity/XML/wsx/MetadataReferenceTest.php @@ -5,6 +5,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsx; use DOMElement; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsa\Address; use SimpleSAML\WSSecurity\XML\wsa\EndpointReference; diff --git a/tests/WSSecurity/XML/wsx/MetadataSectionTest.php b/tests/WSSecurity/XML/wsx/MetadataSectionTest.php index 8edc2e94..bd71bc16 100644 --- a/tests/WSSecurity/XML/wsx/MetadataSectionTest.php +++ b/tests/WSSecurity/XML/wsx/MetadataSectionTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsx; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsx\Location; use SimpleSAML\WSSecurity\XML\wsx\MetadataSection; diff --git a/tests/WSSecurity/XML/wsx/MetadataTest.php b/tests/WSSecurity/XML/wsx/MetadataTest.php index b7ce824e..19359c0b 100644 --- a/tests/WSSecurity/XML/wsx/MetadataTest.php +++ b/tests/WSSecurity/XML/wsx/MetadataTest.php @@ -4,6 +4,7 @@ namespace SimpleSAML\Test\WSSecurity\XML\wsx; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use SimpleSAML\WSSecurity\XML\wsx\Location; use SimpleSAML\WSSecurity\XML\wsx\Metadata;