Minor cleanup
This commit is contained in:
parent
8f6e4ddb4e
commit
1bb359dcc6
1 changed files with 4 additions and 1 deletions
|
@ -206,7 +206,7 @@ public class TestNgOperation extends AbstractProcessOperation<TestNgOperation> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specified the JUnit mode. Default is {@code false}.
|
* Enables or disables the JUnit mode. Default is {@code false}.
|
||||||
*/
|
*/
|
||||||
public TestNgOperation jUnit(Boolean isJunit) {
|
public TestNgOperation jUnit(Boolean isJunit) {
|
||||||
options.put("-junit", String.valueOf(isJunit));
|
options.put("-junit", String.valueOf(isJunit));
|
||||||
|
@ -269,6 +269,8 @@ public class TestNgOperation extends AbstractProcessOperation<TestNgOperation> {
|
||||||
/**
|
/**
|
||||||
* The list of packages to include in this test. For example: {@code "com.example", "test.sample.*"}
|
* The list of packages to include in this test. For example: {@code "com.example", "test.sample.*"}
|
||||||
* If the package name ends with .* then subpackages are included too.
|
* If the package name ends with .* then subpackages are included too.
|
||||||
|
* Required if no {@link #suites(String...)}
|
||||||
|
* specified.
|
||||||
*/
|
*/
|
||||||
public TestNgOperation packages(String... name) {
|
public TestNgOperation packages(String... name) {
|
||||||
packages.addAll(Arrays.stream(name).toList());
|
packages.addAll(Arrays.stream(name).toList());
|
||||||
|
@ -339,6 +341,7 @@ public class TestNgOperation extends AbstractProcessOperation<TestNgOperation> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies the size of the thread pool to use to run suites.
|
* Specifies the size of the thread pool to use to run suites.
|
||||||
|
* Required if no {@link #packages(String...)} specified.
|
||||||
*/
|
*/
|
||||||
public TestNgOperation suiteThreadPoolSize(int poolSize) {
|
public TestNgOperation suiteThreadPoolSize(int poolSize) {
|
||||||
options.put("-suitethreadpoolsize", String.valueOf(poolSize));
|
options.put("-suitethreadpoolsize", String.valueOf(poolSize));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue