/
tck-full-suite.xml
113 lines (109 loc) · 7.43 KB
/
tck-full-suite.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<!--
Licensed under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<suite name="microprofile-jwt-auth-FullTCK" verbose="1" preserve-order="true" configfailurepolicy="continue" >
<!-- The required base JAX-RS and CDI based tests that all MP-JWT implementations
must pass.
-->
<test name="base-tests" verbose="10">
<groups>
<define name="base-groups">
<include name="arquillian" description="Arquillian internal"/>
<include name="utils" description="Utility tests"/>
<include name="jwt" description="Base JsonWebToken tests"/>
<include name="jaxrs" description="JAX-RS invocation tests"/>
<include name="cdi" description="Base CDI injection of ClaimValues"/>
<include name="cdi-json" description="CDI injection of JSON-P values"/>
<include name="cdi-provider" description="CDI injection of javax.inject.Provider values"/>
<include name="config" description="Validate configuration using MP-config"/>
</define>
<define name="excludes">
<include name="utils-extra" description="Additional utility tests" />
</define>
<run>
<include name="base-groups" />
<exclude name="excludes" />
</run>
</groups>
<classes>
<class name="org.eclipse.microprofile.jwt.tck.util.TokenUtilsTest" />
<class name="org.eclipse.microprofile.jwt.tck.util.TokenUtilsEncryptTest" />
<class name="org.eclipse.microprofile.jwt.tck.util.TokenUtilsSignEncryptTest" />
<class name="org.eclipse.microprofile.jwt.tck.util.TokenUtilsExtraTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.UnsecuredPingTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.RequiredClaimsTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.ClaimValueInjectionTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.JsonValueInjectionTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.ProviderInjectionTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.RolesAllowedTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.InvalidTokenTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.TokenAgeTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.PrimitiveInjectionTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.PrincipalInjectionTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.AudValidationTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.AudArrayValidationTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.AudValidationBadAudTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.AudValidationMissingAudTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.ApplicationScopedInjectionTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.RsaKeySignatureTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsPEMTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsPEMLocationTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsPEMLocationURLTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKLocationTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKLocationURLTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKSTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKSLocationTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsBase64JWKTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.PublicKeyAsFileLocationURLTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.ECPublicKeyAsPEMTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.ECPublicKeyAsPEMLocationTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.ECPublicKeyAsJWKLocationTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.IssValidationTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.IssValidationFailTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.CookieTokenTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.TokenAsCookieIgnoredTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.TokenAsCookieTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.EmptyTokenTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.jwe.RolesAllowedSignEncryptTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.jwe.RolesAllowedSignEncryptRsaOaepTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.jwe.RolesAllowedSignEncryptRsaOaep256Test" />
<class name="org.eclipse.microprofile.jwt.tck.container.jaxrs.jwe.DecryptKeyAlgorithmDefaultTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.jwe.PrivateKeyAsPEMClasspathTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.jwe.PrivateKeyAsJWKClasspathTest" />
<class name="org.eclipse.microprofile.jwt.tck.config.jwe.PrivateKeyAsJWKSClasspathTest" />
</classes>
</test>
<test name="extended-tests" verbose="10">
<groups>
<define name="extended-groups">
<include name="ejb-optional" description="EJB container integration tests"/>
<include name="jacc-optional" description="JACC API integration tests"/>
<include name="servlet-optional" description="Servlet container integration tests"/>
<include name="ee-security-optional" description="Java EE security feature tests"/>
</define>
<define name="excludes">
<include name="utils-extra" description="Additional utility tests" />
</define>
<run>
<include name="extended-groups" />
<exclude name="excludes" />
</run>
</groups>
<classes>
<class name="org.eclipse.microprofile.jwt.tck.container.ejb.EjbTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.jacc.SubjectTest" />
<class name="org.eclipse.microprofile.jwt.tck.container.servlet.ServletTest" />
</classes>
</test>
</suite>