Skip to content

Commit

Permalink
tck ug fixes,
Browse files Browse the repository at this point in the history
correct CI,
tool versions,
removal of deployment requirements,
removal of duplicities

Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Jan 27, 2022
1 parent 630c014 commit 74fcd7b
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 30 deletions.
8 changes: 4 additions & 4 deletions tck/tck-docs/index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2021, 2022 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -62,14 +62,14 @@ <h2>Guide to Jakarta EE JSON Processing TCK 2.1 Documentation</h2>
Jakarta EE JSON Processing TCK, Version 2.1. In addition, the guide
provides the rules you must comply with to pass the Jakarta EE JSON
Processing TCK.</li>
<li>The <a href="assertions/JSONP2.0JavadocAssertions.html">Javadoc
<li>The <a href="assertions/JSONP2.1JavadocAssertions.html">Javadoc
Assertion List</a> lists all the javadoc assertions that are tested by
the Jakarta EE JSON Processing 2.0 TCK.</li>
the Jakarta EE JSON Processing 2.1 TCK.</li>
</ul>
<hr>
<p><cite><small></small></cite></p>
<address><small>
Copyright 2013, 2021 Oracle and/or its affiliates. All rights
Copyright &copy; 2013, 2021 Oracle and/or its affiliates. All rights
reserved.
</small></address>
<cite>
Expand Down
12 changes: 7 additions & 5 deletions tck/tck-docs/userguide/src/main/jbake/content/attributes.conf
@@ -1,11 +1,11 @@
:TechnologyFullName: Jakarta JSON Processing
:TechnologyShortName: JSON Processing
:LegacyAcronym: JSONP
:ReleaseDate: December 2021
:CopyrightDates: 2017, 2021
:ReleaseDate: February 2022
:CopyrightDates: 2017, 2022
:TechnologyVersion: 2.1
:TechnologyRI: Eclipse JSON Processing 2.1.0
:TechnologyRIURL: https://projects.eclipse.org/projects/ee4j.jsonp
:TechnologyRI: Eclipse Parsson 1.1.0
:TechnologyRIURL: https://projects.eclipse.org/projects/ee4j.parsson
:SpecificationURL: https://jakarta.ee/specifications/jsonp/2.1/
:TCKInquiryList: mailto:jsonp-dev@eclipse.org[jsonp-dev@eclipse.org]
:SpecificationInquiryList: mailto:jsonp-dev@eclipse.org[jsonp-dev@eclipse.org]
Expand All @@ -22,8 +22,10 @@
// for the technology. Used in config.inc.
:TechnologyHomeEnv: JSONP_HOME
// Java SE version required.
:SEversion: 11
:SEversion: 11+
:JakartaEEVersion: 10.0
:MavenVersion: 3.6.3+
:JunitVersion: 5.7.2+
:jteFileName: <TS_HOME>/bin/ts.jte
:excludeListFileName: tck-docs/TCK-Exclude-List.txt
:TCKPackageName: jakarta-jsonp-tck-2.1.0.zip
Expand Down
12 changes: 6 additions & 6 deletions tck/tck-docs/userguide/src/main/jbake/content/config.adoc
Expand Up @@ -84,7 +84,7 @@ slashes as a path separator instead.


1. Set the following environment variables in your shell environment:
a. `JAVA_HOME` to the directory in which Java SE 8 or 11 is installed
a. `JAVA_HOME` to the directory in which Java SE {SEversion} is installed
b. `M2_HOME` to the directory in which the Apache Maven build tool is installed.
c. +{TechnologyHomeEnv}+ to the directory in which the {TechnologyShortName}
{TechnologyVersion} CI has been installed
Expand All @@ -95,12 +95,12 @@ slashes as a path separator instead.
pluggability tests to test the SPI provider interface.
This property should only be set when running the pluggability tests. All other tests use the
provider supplied with the {TechnologyShortName} {TechnologyVersion} implementation under test.
b. `jimage.dir` property is set to extract the JDK9+ modules for running the signature tests.
b. `jimage.dir` property is set to extract the Java SE {SEversion} modules for running the signature tests.
3. Set the below jars to the classpath
a. JAR file for the {TechnologyShortName} {TechnologyVersion} API. +
`jakarta.json-2.1.0.jar`.
c. JUnit 5 jars (5.7.2+)
`jakarta.json-api.jar`.
c. JUnit 5 jars ({JunitVersion})
Maven cordinates :
+
[source,oac_no_warn]
Expand Down Expand Up @@ -158,7 +158,7 @@ slashes as a path separator instead.


1. Set the following environment variables in your shell environment:
a. `JAVA_HOME` to the directory in which Java SE 8 or 11 is installed
a. `JAVA_HOME` to the directory in which Java SE {SEversion} is installed
b. `M2_HOME` to the directory in which the Apache Maven build tool is installed.
c. +{TechnologyHomeEnv}+ to the directory in which the {TechnologyShortName}
{TechnologyVersion} CI has been installed
Expand All @@ -173,7 +173,7 @@ slashes as a path separator instead.
3. Set the below jars to the classpath
a. JAR file for the {TechnologyShortName} {TechnologyVersion} API. +
`jakarta.json-2.1.0.jar`.
`jakarta.json-api.jar`.
c. JUnit 5 jars (5.7.2+)
Maven cordinates :
+
Expand Down
6 changes: 0 additions & 6 deletions tck/tck-docs/userguide/src/main/jbake/content/debug.adoc
Expand Up @@ -54,12 +54,6 @@ link:#GBFYF[Configuration Failures] to see if a
configuration issue is the cause of the failures.


If a large number of tests failed, you should read
link:#GBFYF[Configuration Failures] to see if a
configuration issue is the cause of the failures.



[[GBFYF]][[configuration-failures]]

6.2 Configuration Failures
Expand Down
9 changes: 2 additions & 7 deletions tck/tck-docs/userguide/src/main/jbake/content/using.adoc
Expand Up @@ -110,9 +110,7 @@ compatibility testing against the Vendor and Compatible Implementations.
1. Verify that you have followed the configuration instructions in
link:config.html#GBFVU[Section 4.1, "Configuring Your Environment to Run
the TCK Against the Compatible Implementation."]
2. If required, verify that you have completed the steps in
link:config.html#GCLIW[Section 4.3.2, "Deploying the Prebuilt Archives."]
3. Run the tests, as described in link:#GBFUZ[Section 5.1, "Starting
2. Run the tests, as described in link:#GBFUZ[Section 5.1, "Starting
the tests,"] and, if desired, link:#GBFWM[Section 5.2, "Running a Subset
of the Tests."]
Expand All @@ -127,10 +125,7 @@ Vendors must pass.
1. Verify that you have followed the configuration instructions in
link:config.html#GCLHU[Section 4.2, "Configuring Your Environment to
Repackage and Run the TCK Against the Vendor Implementation."]
2. If required, verify that you have completed the steps in
link:config.html#GCLIL[Section 4.3.3, "Deploying the
Test Applications Against the Vendor Implementation."]
3. Run the tests, as described in link:#GBFUZ[Section 5.1, "Starting
2. Run the tests, as described in link:#GBFUZ[Section 5.1, "Starting
JavaTest,"] and, if desired, link:#GBFWM[Section 5.2, "Running a Subset
of the Tests."]
Expand Down
2 changes: 1 addition & 1 deletion tck/tck-docs/userguide/src/main/jbake/templates/footer.ftl
Expand Up @@ -37,7 +37,7 @@

<span id="copyright">
<img src="img/eclipse_foundation_logo_tiny.png" height="20px" alt="Eclipse Foundation Logo" align="top"/>&nbsp;
<span >Copyright&nbsp;&copy;&nbsp;2017,&nbsp;2021&nbsp;Oracle&nbsp;and/or&nbsp;its&nbsp;affiliates.&nbsp;All&nbsp;rights&nbsp;reserved.</span>
<span >Copyright&nbsp;&copy;&nbsp;2017,&nbsp;2022&nbsp;Oracle&nbsp;and/or&nbsp;its&nbsp;affiliates.&nbsp;All&nbsp;rights&nbsp;reserved.</span>
</span>

</body>
Expand Down
Expand Up @@ -33,7 +33,7 @@
import java.util.HashMap;
import java.util.logging.Logger;

import jakarta.jsonp.tck.common.*;
import jakarta.jsonp.tck.common.JSONP_Util;
import jakarta.jsonp.tck.provider.MyJsonProvider;
import jakarta.jsonp.tck.provider.MyJsonGenerator;
import org.jboss.arquillian.container.test.api.Deployment;
Expand Down

0 comments on commit 74fcd7b

Please sign in to comment.