Skip to content

Commit b8685ae

Browse files
7903829: apidiff: update TestNG reference to JUnit
Reviewed-by: iris, cstein
1 parent f2455f4 commit b8685ae

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defined by a series of options similar to those supported by `javac`.
99

1010
* _[Daisy Diff]_: an HTML comparison library, required when building `apidiff`
1111
* _[Java Diff Utils]_: a plain-text comparison library, required when building `apidiff`
12-
* _[TestNG]_: the testing framework, used to run some of the tests for `apidiff`
12+
* _[JUnit]_: the testing framework, used to run some of the tests for `apidiff`
1313

1414
Suitable versions of these dependencies can be downloaded by running
1515
`make/build.sh`.
@@ -39,12 +39,12 @@ unless these values have been overridden on the command line used to run `make`.
3939
An IDE such as IntelliJ IDEA needs the following configuration:
4040

4141
* Sources Root: `src`
42-
* TestNG Test Root: `test/testng`
42+
* JUnit Test Root: `test/junit`
4343
* Libraries:
44-
* _Daisy Diff_, _Java Diff Utils_ available for compilation
45-
* _TestNG_ available for testing
44+
* _Daisy Diff_, _HTMLCleaner_, _Java Diff Utils_ available for compilation
45+
* _JUnit_ available for testing
4646

47-
In addition, some TestNG tests require access to internal classes in
47+
In addition, some JUnit tests require access to internal classes in
4848
the `jdk.compiler` and `jdk.jdeps` modules:
4949

5050
````
@@ -80,4 +80,4 @@ parts of those files that will be compared by `apidiff`.
8080

8181
[Daisy Diff]: https://github.com/DaisyDiff/DaisyDiff
8282
[Java Diff Utils]: https://github.com/java-diff-utils/java-diff-utils
83-
[TestNG]: https://testng.org/
83+
[JUnit]: https://junit.org/

make/README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ _apidiff_ has various external dependencies:
99

1010
* _JDK_: must be at least JDK 17
1111
* _Java Diff Utils_
12+
* _HtmlCleaner_
1213
* _Daisy Diff_
1314
* _JUnit_ (for testing only)
1415

@@ -44,7 +45,9 @@ The makefile provides the following targets:
4445
* `build`: build _apidiff_
4546

4647
Requires the following to be set:
47-
`JDKHOME`, `JAVA_DIFF_UTILS_JAR`, `JAVA_DIFF_UTILS_LICENSE`, `DAISYDIFF_JAR`, `DAISYDIFF_LICENSE`.
48+
`JDKHOME`, `JAVA_DIFF_UTILS_JAR`, `JAVA_DIFF_UTILS_LICENSE`,
49+
`DAISYDIFF_JAR`, `DAISYDIFF_LICENSE`,
50+
`HTMLCLEANER_JAR`, `HTMLCLEANER_LICENSE`.
4851

4952
* `test`: run tests
5053

@@ -66,12 +69,12 @@ The makefile provides the following targets:
6669

6770
## File Locations
6871

69-
| Files | GNU Make | Ant | IntelliJ |
70-
|----------------------|-----------------------------------|-----------------------------------------|-------------------|
71-
| Default Dependencies | build/deps | build/deps | build/deps |
72-
| Main Classes | build/classes | build/classes | out/production |
73-
| Test Classes | build/TestNGTests/classes | build/test/classes | out/test |
74-
| Test Work | build/TestNGTests/work | build/test/work | build/test/work |
75-
| Test Report | build/TestNGTests/report | build/test/report | |
76-
| Image | build/images/apidiff | dist/apidiff | |
77-
| Bundle | build/images/apidiff.zip | dist/apidiff.zip | |
72+
| Files | GNU Make | Ant | IntelliJ |
73+
|----------------------|--------------------------|--------------------|-------------------|
74+
| Default Dependencies | build/deps | build/deps | build/deps |
75+
| Main Classes | build/classes | build/classes | out/production |
76+
| Test Classes | build/JUnitTests/classes | build/test/classes | out/test |
77+
| Test Work | build/JUnitTests/work | build/test/work | build/test/work |
78+
| Test Report | build/JUnitTests/report | build/test/report | |
79+
| Image | build/images/apidiff | dist/apidiff | |
80+
| Bundle | build/images/apidiff.zip | dist/apidiff.zip | |

0 commit comments

Comments
 (0)