Skip to content

Commit

Permalink
Add groups
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Aug 31, 2024
1 parent 54de3d5 commit fe9956b
Show file tree
Hide file tree
Showing 306 changed files with 612 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ClaimTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\Utils\XPath;
Expand All @@ -28,6 +29,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ClaimType::class)]
#[CoversClass(AbstractClaimType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ConstrainedManyValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\Assert\AssertionFailedException;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
Expand All @@ -22,6 +23,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(StructuredValue::class)]
#[CoversClass(ValueOneOf::class)]
#[CoversClass(AbstractConstrainedManyValueType::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ConstrainedSingleValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\Assert\AssertionFailedException;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
Expand All @@ -27,6 +28,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ValueGreaterThan::class)]
#[CoversClass(ValueGreaterThanOrEqual::class)]
#[CoversClass(ValueLessThan::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ConstrainedValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedValueType;
Expand All @@ -28,6 +29,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ConstrainedValue::class)]
#[CoversClass(AbstractConstrainedValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/DescriptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractDescriptionType;
Expand All @@ -21,6 +22,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(Description::class)]
#[CoversClass(AbstractDescriptionType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/DisplayNameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractDisplayNameType;
Expand All @@ -21,6 +22,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(DisplayName::class)]
#[CoversClass(AbstractDisplayNameType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/DisplayValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractDisplayValueType;
Expand All @@ -21,6 +22,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(DisplayValue::class)]
#[CoversClass(AbstractDisplayValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/EncryptedValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractEncryptedValueType;
Expand All @@ -26,6 +27,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(EncryptedValue::class)]
#[CoversClass(AbstractEncryptedValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/StructuredValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractStructuredValueType;
Expand All @@ -22,6 +23,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(StructuredValue::class)]
#[CoversClass(AbstractStructuredValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ValueGreaterThanOrEqualTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType;
Expand All @@ -23,6 +24,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ValueGreaterThanOrEqual::class)]
#[CoversClass(AbstractConstrainedSingleValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ValueGreaterThanTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType;
Expand All @@ -23,6 +24,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ValueGreaterThan::class)]
#[CoversClass(AbstractConstrainedSingleValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ValueInRangenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractValueInRangeType;
Expand All @@ -26,6 +27,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ValueInRangen::class)]
#[CoversClass(AbstractValueInRangeType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ValueLessThanOrEqualTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType;
Expand All @@ -23,6 +24,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ValueLessThanOrEqual::class)]
#[CoversClass(AbstractConstrainedSingleValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ValueLessThanTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType;
Expand All @@ -23,6 +24,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ValueLessThan::class)]
#[CoversClass(AbstractConstrainedSingleValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ValueLowerBoundTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType;
Expand All @@ -21,6 +22,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ValueLowerBound::class)]
#[CoversClass(AbstractConstrainedSingleValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedManyValueType;
Expand All @@ -23,6 +24,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ValueOneOf::class)]
#[CoversClass(AbstractConstrainedManyValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ValueOneOfWithValuesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedManyValueType;
Expand All @@ -21,6 +22,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ValueOneOf::class)]
#[CoversClass(AbstractConstrainedManyValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\Value;
Expand All @@ -19,6 +20,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(Value::class)]
#[CoversClass(AbstractAuthElement::class)]
final class ValueTest extends TestCase
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/auth/ValueUpperBoundTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\auth;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\auth\AbstractAuthElement;
use SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedSingleValueType;
Expand All @@ -23,6 +24,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('auth')]
#[CoversClass(ValueUpperBound::class)]
#[CoversClass(AbstractConstrainedSingleValueType::class)]
#[CoversClass(AbstractAuthElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/fed/AdditionalContextProcessedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\fed;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType;
Expand All @@ -23,6 +24,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('fed')]
#[CoversClass(AdditionalContextProcessed::class)]
#[CoversClass(AbstractAssertionType::class)]
#[CoversClass(AbstractFedElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/fed/ApplicationServiceEndpointTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use DOMElement;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType;
use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement;
Expand All @@ -28,6 +29,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('fed')]
#[CoversClass(ApplicationServiceEndpoint::class)]
#[CoversClass(AbstractEndpointType::class)]
#[CoversClass(AbstractFedElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/fed/AttributeServiceEndpointTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use DOMElement;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType;
use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement;
Expand All @@ -31,6 +32,7 @@
* @covers \SimpleSAML\WSSecurity\XML\fed\AbstractFedElement
* @package simplesamlphp/ws-security
*/
#[Group('fed')]
#[CoversClass(AttributeServiceEndpoint::class)]
#[CoversClass(AbstractEndpointType::class)]
#[CoversClass(AbstractFedElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/fed/AttributeServiceEndpointsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use DOMElement;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\fed\AbstractEndpointType;
use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement;
Expand All @@ -28,6 +29,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('fed')]
#[CoversClass(AttributeServiceEndpoints::class)]
#[CoversClass(AbstractEndpointType::class)]
#[CoversClass(AbstractFedElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/fed/AuthenticationTokenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\fed;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\Test\WSSecurity\XML\sp\NestedPolicyTypeTestTrait;
Expand All @@ -24,6 +25,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('fed')]
#[CoversClass(AuthenticationToken::class)]
#[CoversClass(AbstractNestedPolicyType::class)]
#[CoversClass(AbstractSpElement::class)]
Expand Down
2 changes: 2 additions & 0 deletions tests/WSSecurity/XML/fed/AutomaticPseudonymsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace SimpleSAML\Test\WSSecurity\XML\fed;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\fed\AbstractFedElement;
use SimpleSAML\WSSecurity\XML\fed\AutomaticPseudonyms;
Expand All @@ -19,6 +20,7 @@
*
* @package simplesamlphp/ws-security
*/
#[Group('fed')]
#[CoversClass(AutomaticPseudonyms::class)]
#[CoversClass(AbstractFedElement::class)]
final class AutomaticPseudonymsTest extends TestCase
Expand Down
Loading

0 comments on commit fe9956b

Please sign in to comment.