test typo fix and tck documentation changes
diff --git a/jaxrs-tck-docs/userguide/src/main/jbake/content/attributes.conf b/jaxrs-tck-docs/userguide/src/main/jbake/content/attributes.conf index eea6f38..d462414 100644 --- a/jaxrs-tck-docs/userguide/src/main/jbake/content/attributes.conf +++ b/jaxrs-tck-docs/userguide/src/main/jbake/content/attributes.conf
@@ -26,7 +26,7 @@ :MavenVersion: 3.6.3+ :JakartaEEVersion: 10 :excludeListFileName: jaxrs-tck-docs/TCK-Exclude-List.txt -:excludedGroupsExample: xml_binding +:groupsExample: xml_binding :TCKPackageName: jakarta-restful-ws-tck-x.y.z.zip // Directory names used in examples in using.adoc. :sigTestDirectoryExample: ee.jakarta.tck.ws.rs.signaturetest.jaxrs
diff --git a/jaxrs-tck-docs/userguide/src/main/jbake/content/using-examples.inc b/jaxrs-tck-docs/userguide/src/main/jbake/content/using-examples.inc index 42a6ce0..f989877 100644 --- a/jaxrs-tck-docs/userguide/src/main/jbake/content/using-examples.inc +++ b/jaxrs-tck-docs/userguide/src/main/jbake/content/using-examples.inc
@@ -17,25 +17,25 @@ -- [source,oac_no_warn] ---- -mvn verify -DexcludedGroups="xml_binding" +mvn verify -DexcludedGroups=xml_binding ---- -- - -Run the tests by excluding the security tests using the following command: +Run only the optional jaxb tests using the following command: -- [source,oac_no_warn] ---- -mvn verify -DexcludedGroups="security" +mvn verify -Dgroups=xml_binding ---- -- -Run the tests by excluding the servlet tests using the following command: +Run the tests by excluding the security & servlet tests using the following +command: -- [source,oac_no_warn] ---- -mvn verify -DexcludedGroups="servlet" +mvn verify -DexcludedGroups=security,servlet ---- --
diff --git a/jaxrs-tck-docs/userguide/src/main/jbake/content/using.adoc b/jaxrs-tck-docs/userguide/src/main/jbake/content/using.adoc index 9aae3c6..008fc65 100644 --- a/jaxrs-tck-docs/userguide/src/main/jbake/content/using.adoc +++ b/jaxrs-tck-docs/userguide/src/main/jbake/content/using.adoc
@@ -96,7 +96,6 @@ * link:#GBFWK[Section 5.2.1, "To Run a Subset of Tests in Command-Line Mode"] - [[GBFWK]][[to-run-a-subset-of-tests-in-command-line-mode]] 5.2.1 To Run a Subset of Tests in Command-Line Mode @@ -111,29 +110,45 @@ The tests in the directory and its subdirectories are run. -[[GBFEP]][[to-exclude-a-subset-of-tests-in-command-line-mode]] - -5.2.2 To Exclude a Subset of Tests in Command-Line Mode -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Start the test run by executing the following command: + - -[source,subs="attributes"] ----- -mvn verify -DexcludedGroups={excludedGroupsExample} ----- - -The tests in the exclude group `{excludedGroupsExample}` is exclued from the run. - [NOTE] ======================================================================= -The Junit test groupings(tags) available in the TCK are `xml_binding`, +The Junit test tags(groups) available in the TCK are `xml_binding`, `security` and `servlet`. These can be used to select or deselect the tests for the execution. ======================================================================= +[[GBFQA]][[to-run-a-group-of-tests-in-command-line-mode]] + +5.2.2 To Run a Group of Tests in Command-Line Mode +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Start the test run by executing the following command: + + +[source,subs="attributes"] +---- +mvn verify -Dgroups={groupsExample} +---- + +The tests in the group `{groupsExample}` is exclued from the run. +Multiple groups can be separated by comma. + + +[[GBFEP]][[to-exclude-a-group-of-tests-in-command-line-mode]] + +5.2.3 To Exclude a Group of Tests in Command-Line Mode +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Start the test run by executing the following command: + + +[source,subs="attributes"] +---- +mvn verify -DexcludedGroups={groupsExample} +---- + +The tests in the group `{groupsExample}` is exclued from the run. +Multiple groups can be separated by comma. [[GCLRR]][[running-the-tck-against-the-ri]]
diff --git a/jaxrs-tck/src/main/java/ee/jakarta/tck/ws/rs/ee/rs/container/requestcontext/JAXRSClientIT.java b/jaxrs-tck/src/main/java/ee/jakarta/tck/ws/rs/ee/rs/container/requestcontext/JAXRSClientIT.java index 79a2672..dc3d48a 100644 --- a/jaxrs-tck/src/main/java/ee/jakarta/tck/ws/rs/ee/rs/container/requestcontext/JAXRSClientIT.java +++ b/jaxrs-tck/src/main/java/ee/jakarta/tck/ws/rs/ee/rs/container/requestcontext/JAXRSClientIT.java
@@ -117,7 +117,7 @@ @Test @Tag("servlet") public void getAcceptableLanguagesTest() throws Fault { - setProperty(Property.REQUEST_HEADERS, "Accpet-Language:en-us"); + setProperty(Property.REQUEST_HEADERS, "Accept-Language:en-us"); invokeRequestAndCheckResponse(ContextOperation.GETACCEPTABLELANGUAGES); }