You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tck/tck-tests/src/main/java/jakarta/jsonp/tck/signaturetest/README
+3-49Lines changed: 3 additions & 49 deletions
Original file line number
Diff line number
Diff line change
@@ -30,67 +30,21 @@ For TCK developers :-
30
30
31
31
The signature file name expected is jakarta.json.sig_${version} , where version is the api version for which the signature is generated.
32
32
33
-
2. Place the required files in the TCK folder :
34
-
35
-
All the below files has to be placed in the folder tck/tck-tests/src/main/java/jakarta/jsonp/tck/signaturetest, so they are included as part of the TCK jar during the build.
36
-
37
-
-The signature file generated from above of the name jakarta.json.sig_${version}
38
-
-The mapping file will be named sig-test.map, it contains the api to version mapping. This file will be used to pick the right signature file when running the signature test.
39
-
-The package list file will be named sig-test-pkg-list.txt, contains the list of packages tested.
40
-
41
-
42
33
43
34
For TCK users (to run the signature test as a Junit test) :-
44
35
45
-
1. The signature test related files will need to be extracted from the jar to a known location to be used for running the test.
46
-
For eg: in maven we can use the below code to extract the signature file, mapping file and package list file to ${project.build.directory}/signaturedirectory.
47
-
48
-
<plugin>
49
-
<groupId>org.apache.maven.plugins</groupId>
50
-
<artifactId>maven-dependency-plugin</artifactId>
51
-
<version>3.2.0</version>
52
-
<executions>
53
-
<execution>
54
-
<id>copy-jsonp-tck-signature-files</id>
55
-
<phase>generate-test-sources</phase>
56
-
<goals>
57
-
<goal>unpack</goal>
58
-
</goals>
59
-
<configuration>
60
-
<artifactItems>
61
-
<artifactItem>
62
-
<groupId>jakarta.json</groupId>
63
-
<artifactId>jakarta.json-tck-tests</artifactId>
64
-
<version>${jsonp-tck.version}</version>
65
-
<type>jar</type>
66
-
<overWrite>true</overWrite>
67
-
</artifactItem>
68
-
</artifactItems>
69
-
<!-- We need the signature file, mapping file and package list file -->
0 commit comments