Allow users to access factory method params info #885
test.yml
on: pull_request
Matrix Preparation
3s
Matrix: build
Annotations
21 errors and 22 warnings
17, corretto, ubuntu, America/New_York, de_DE:
testng-core-api/src/main/java/org/testng/IParameterInfo.java#L12
Replace 3 lines 12..14 with
* <code>@factory</code> annotation. For e.g., lets say you specified the indices to the "1"
* and your factory returned 4 instances, then the instance on which this method is invoked
* would have the value as "1".
|
17, corretto, ubuntu, America/New_York, de_DE:
task ':testng-core-api:autostyleJavaCheck'#L1
Execution failed for task ':testng-core-api:autostyleJavaCheck':
See 'What went wrong' below
|
17, corretto, ubuntu, America/New_York, de_DE
Execution failed for task ':testng-core-api:autostyleJavaCheck'.
> The following files have format violations:
src/main/java/org/testng/IParameterInfo.java
@@ -9,9 +9,9 @@
/**
* @return - The actual index of instance associated with a factory method. This index has a 1:1
* correspondence with what were specified via the <code>indices</code> attribute of the
-···*·····<code>@factory</code>·annotation.·For·e.g.,·lets·say·you·specified·the␊
-···*·····indices·to·the·"1"·and·your·factory·returned·4·instances,·then·the·instance·on·which·this␊
-···*·····method·is·invoked·would·have·the·value·as·"1".␊
+···*·····<code>@factory</code>·annotation.·For·e.g.,·lets·say·you·specified·the·indices·to·the·"1"␊
+···*·····and·your·factory·returned·4·instances,·then·the·instance·on·which·this·method·is·invoked␊
+···*·····would·have·the·value·as·"1".␊
*/
int getIndex();
You might want to adjust -PmaxCheckMessageLines=50
-PmaxFilesToList=10
-PminLinesPerFile=4
to see more violations
Run './gradlew autostyleApply' to fix the violations.
|
21, corretto, macos, America/New_York, ru_RU:
testng-core-api/src/main/java/org/testng/IParameterInfo.java#L12
Replace 3 lines 12..14 with
* <code>@factory</code> annotation. For e.g., lets say you specified the indices to the "1"
* and your factory returned 4 instances, then the instance on which this method is invoked
* would have the value as "1".
|
21, corretto, macos, America/New_York, ru_RU:
task ':testng-core-api:autostyleJavaCheck'#L1
Execution failed for task ':testng-core-api:autostyleJavaCheck':
See 'What went wrong' below
|
21, corretto, macos, America/New_York, ru_RU
Execution failed for task ':testng-core-api:autostyleJavaCheck'.
> The following files have format violations:
src/main/java/org/testng/IParameterInfo.java
@@ -9,9 +9,9 @@
/**
* @return - The actual index of instance associated with a factory method. This index has a 1:1
* correspondence with what were specified via the <code>indices</code> attribute of the
-···*·····<code>@factory</code>·annotation.·For·e.g.,·lets·say·you·specified·the␊
-···*·····indices·to·the·"1"·and·your·factory·returned·4·instances,·then·the·instance·on·which·this␊
-···*·····method·is·invoked·would·have·the·value·as·"1".␊
+···*·····<code>@factory</code>·annotation.·For·e.g.,·lets·say·you·specified·the·indices·to·the·"1"␊
+···*·····and·your·factory·returned·4·instances,·then·the·instance·on·which·this·method·is·invoked␊
+···*·····would·have·the·value·as·"1".␊
*/
int getIndex();
You might want to adjust -PmaxCheckMessageLines=50
-PmaxFilesToList=10
-PminLinesPerFile=4
to see more violations
Run './gradlew autostyleApply' to fix the violations.
|
11, temurin, windows, America/New_York, de_DE, stress JIT:
testng-core-api\src\main\java\org\testng\IParameterInfo.java#L1
Replace 36 lines 1..36 with
package org.testng;
/** Represents the ability to retrieve the parameters associated with a factory method. */
public interface IParameterInfo {
/** @return - The actual instance associated with a factory method */
Object getInstance();
/**
* @return - The actual index of instance associated with a factory method. This index has a 1:1
* correspondence with what were specified via the <code>indices</code> attribute of the
* <code>@factory</code> annotation. For e.g., lets say you specified the indices to the "1"
* and your factory returned 4 instances, then the instance on which this method is invoked
* would have the value as "1".
*/
int getIndex();
/**
* @return - returns an index which indicates the running position in the array of test class
* instances that were produced by a <code>@factory</code> annotated constructor or static
...16 more lines
|
11, temurin, windows, America/New_York, de_DE, stress JIT:
task ':testng-core-api:autostyleJavaCheck'#L1
Execution failed for task ':testng-core-api:autostyleJavaCheck':
See 'What went wrong' below
|
11, temurin, windows, America/New_York, de_DE, stress JIT
Execution failed for task ':testng-core-api:autostyleJavaCheck'.
> The following files have format violations:
src\main\java\org\testng\IParameterInfo.java
@@ -1,36 +1,36 @@
-package org.testng;\r\n
-\r\n
-/** Represents the ability to retrieve the parameters associated with a factory method. */\r\n
-public interface IParameterInfo {\r\n
-\r\n
- /** @return - The actual instance associated with a factory method */\r\n
- Object getInstance();\r\n
-\r\n
- /**\r\n
- * @return - The actual index of instance associated with a factory method. This index has a 1:1\r\n
- * correspondence with what were specified via the <code>indices</code> attribute of the\r\n
- * <code>@factory</code> annotation. For e.g., lets say you specified the\r\n
- * indices to the "1" and your factory returned 4 instances, then the instance on which this\r\n
- * method is invoked would have the value as "1".\r\n
- */\r\n
- int getIndex();\r\n
-\r\n
- /**\r\n
- * @return - returns an index which indicates the running position in the array of test class\r\n
- * instances that were produced by a <code>@factory</code> annotated constructor or static\r\n
- * method. For e.g., lets say your <code>@factory</code> method returned 4 instances, then\r\n
- * each of the invocations to this method would return a value from <code>0</code> to <code>3\r\n
- * </code>\r\n
- */\r\n
- int currentIndex();\r\n
-\r\n
- /** @return - The parameters associated with the factory method as an array. */\r\n
- Object[] getParameters();\r\n
-\r\n
- static Object embeddedInstance(Object original) {\r\n
- if (original instanceof IParameterInfo) {\r\n
- return ((IParameterInfo) original).getInstance();\r\n
- }\r\n
- return original;\r\n
- }\r\n
-}\r\n
+package org.testng;\n
+\n
+/** Represents the ability to retrieve the parameters associated with a factory method. */\n
+public interface IParameterInfo {\n
+\n
+ /** @return - The actual instance associated with a factory method */\n
+ Object getInstance();\n
+\n
+ /**\n
+ * @return - The actual index of instance associated with a factory method. This index has a 1:1\n
+ * correspondence with what were specified via the <code>indices</code> attribute of the\n
+ * <code>@factory</code> annotation. For e.g., lets say you specified the indices to the "1"\n
... (24 more lines that didn't fit)
You might want to adjust -PmaxCheckMessageLines=50
-PmaxFilesToList=10
-PminLinesPerFile=4
to see more violations
Run './gradlew autostyleApply' to fix the violations.
|
22, oracle, windows, America/New_York, ru_RU:
testng-core-api\src\main\java\org\testng\IParameterInfo.java#L1
Replace 36 lines 1..36 with
package org.testng;
/** Represents the ability to retrieve the parameters associated with a factory method. */
public interface IParameterInfo {
/** @return - The actual instance associated with a factory method */
Object getInstance();
/**
* @return - The actual index of instance associated with a factory method. This index has a 1:1
* correspondence with what were specified via the <code>indices</code> attribute of the
* <code>@factory</code> annotation. For e.g., lets say you specified the indices to the "1"
* and your factory returned 4 instances, then the instance on which this method is invoked
* would have the value as "1".
*/
int getIndex();
/**
* @return - returns an index which indicates the running position in the array of test class
* instances that were produced by a <code>@factory</code> annotated constructor or static
...16 more lines
|
22, oracle, windows, America/New_York, ru_RU:
task ':testng-core-api:autostyleJavaCheck'#L1
Execution failed for task ':testng-core-api:autostyleJavaCheck':
See 'What went wrong' below
|
22, oracle, windows, America/New_York, ru_RU
Execution failed for task ':testng-core-api:autostyleJavaCheck'.
> The following files have format violations:
src\main\java\org\testng\IParameterInfo.java
@@ -1,36 +1,36 @@
-package org.testng;\r\n
-\r\n
-/** Represents the ability to retrieve the parameters associated with a factory method. */\r\n
-public interface IParameterInfo {\r\n
-\r\n
- /** @return - The actual instance associated with a factory method */\r\n
- Object getInstance();\r\n
-\r\n
- /**\r\n
- * @return - The actual index of instance associated with a factory method. This index has a 1:1\r\n
- * correspondence with what were specified via the <code>indices</code> attribute of the\r\n
- * <code>@factory</code> annotation. For e.g., lets say you specified the\r\n
- * indices to the "1" and your factory returned 4 instances, then the instance on which this\r\n
- * method is invoked would have the value as "1".\r\n
- */\r\n
- int getIndex();\r\n
-\r\n
- /**\r\n
- * @return - returns an index which indicates the running position in the array of test class\r\n
- * instances that were produced by a <code>@factory</code> annotated constructor or static\r\n
- * method. For e.g., lets say your <code>@factory</code> method returned 4 instances, then\r\n
- * each of the invocations to this method would return a value from <code>0</code> to <code>3\r\n
- * </code>\r\n
- */\r\n
- int currentIndex();\r\n
-\r\n
- /** @return - The parameters associated with the factory method as an array. */\r\n
- Object[] getParameters();\r\n
-\r\n
- static Object embeddedInstance(Object original) {\r\n
- if (original instanceof IParameterInfo) {\r\n
- return ((IParameterInfo) original).getInstance();\r\n
- }\r\n
- return original;\r\n
- }\r\n
-}\r\n
+package org.testng;\n
+\n
+/** Represents the ability to retrieve the parameters associated with a factory method. */\n
+public interface IParameterInfo {\n
+\n
+ /** @return - The actual instance associated with a factory method */\n
+ Object getInstance();\n
+\n
+ /**\n
+ * @return - The actual index of instance associated with a factory method. This index has a 1:1\n
+ * correspondence with what were specified via the <code>indices</code> attribute of the\n
+ * <code>@factory</code> annotation. For e.g., lets say you specified the indices to the "1"\n
... (24 more lines that didn't fit)
You might want to adjust -PmaxCheckMessageLines=50
-PmaxFilesToList=10
-PminLinesPerFile=4
to see more violations
Run './gradlew autostyleApply' to fix the violations.
|
22, oracle, macos, UTC, tr_TR:
testng-core-api/src/main/java/org/testng/IParameterInfo.java#L12
Replace 3 lines 12..14 with
* <code>@factory</code> annotation. For e.g., lets say you specified the indices to the "1"
* and your factory returned 4 instances, then the instance on which this method is invoked
* would have the value as "1".
|
22, oracle, macos, UTC, tr_TR:
task ':testng-core-api:autostyleJavaCheck'#L1
Execution failed for task ':testng-core-api:autostyleJavaCheck':
See 'What went wrong' below
|
22, oracle, macos, UTC, tr_TR
Execution failed for task ':testng-core-api:autostyleJavaCheck'.
> The following files have format violations:
src/main/java/org/testng/IParameterInfo.java
@@ -9,9 +9,9 @@
/**
* @return - The actual index of instance associated with a factory method. This index has a 1:1
* correspondence with what were specified via the <code>indices</code> attribute of the
-···*·····<code>@factory</code>·annotation.·For·e.g.,·lets·say·you·specified·the␊
-···*·····indices·to·the·"1"·and·your·factory·returned·4·instances,·then·the·instance·on·which·this␊
-···*·····method·is·invoked·would·have·the·value·as·"1".␊
+···*·····<code>@factory</code>·annotation.·For·e.g.,·lets·say·you·specified·the·indices·to·the·"1"␊
+···*·····and·your·factory·returned·4·instances,·then·the·instance·on·which·this·method·is·invoked␊
+···*·····would·have·the·value·as·"1".␊
*/
int getIndex();
You might want to adjust -PmaxCheckMessageLines=50
-PmaxFilesToList=10
-PminLinesPerFile=4
to see more violations
Run './gradlew autostyleApply' to fix the violations.
|
11, zulu, same hashcode, macos, Pacific/Chatham, fr_FR:
testng-core-api/src/main/java/org/testng/IParameterInfo.java#L12
Replace 3 lines 12..14 with
* <code>@factory</code> annotation. For e.g., lets say you specified the indices to the "1"
* and your factory returned 4 instances, then the instance on which this method is invoked
* would have the value as "1".
|
11, zulu, same hashcode, macos, Pacific/Chatham, fr_FR:
task ':testng-core-api:autostyleJavaCheck'#L1
Execution failed for task ':testng-core-api:autostyleJavaCheck':
See 'What went wrong' below
|
11, zulu, same hashcode, macos, Pacific/Chatham, fr_FR
Execution failed for task ':testng-core-api:autostyleJavaCheck'.
> The following files have format violations:
src/main/java/org/testng/IParameterInfo.java
@@ -9,9 +9,9 @@
/**
* @return - The actual index of instance associated with a factory method. This index has a 1:1
* correspondence with what were specified via the <code>indices</code> attribute of the
-···*·····<code>@factory</code>·annotation.·For·e.g.,·lets·say·you·specified·the␊
-···*·····indices·to·the·"1"·and·your·factory·returned·4·instances,·then·the·instance·on·which·this␊
-···*·····method·is·invoked·would·have·the·value·as·"1".␊
+···*·····<code>@factory</code>·annotation.·For·e.g.,·lets·say·you·specified·the·indices·to·the·"1"␊
+···*·····and·your·factory·returned·4·instances,·then·the·instance·on·which·this·method·is·invoked␊
+···*·····would·have·the·value·as·"1".␊
*/
int getIndex();
You might want to adjust -PmaxCheckMessageLines=50
-PmaxFilesToList=10
-PminLinesPerFile=4
to see more violations
Run './gradlew autostyleApply' to fix the violations.
|
21, oracle, macos, Pacific/Chatham, de_DE, stress JIT:
testng-core-api/src/main/java/org/testng/IParameterInfo.java#L12
Replace 3 lines 12..14 with
* <code>@factory</code> annotation. For e.g., lets say you specified the indices to the "1"
* and your factory returned 4 instances, then the instance on which this method is invoked
* would have the value as "1".
|
21, oracle, macos, Pacific/Chatham, de_DE, stress JIT:
task ':testng-core-api:autostyleJavaCheck'#L1
Execution failed for task ':testng-core-api:autostyleJavaCheck':
See 'What went wrong' below
|
21, oracle, macos, Pacific/Chatham, de_DE, stress JIT
Execution failed for task ':testng-core-api:autostyleJavaCheck'.
> The following files have format violations:
src/main/java/org/testng/IParameterInfo.java
@@ -9,9 +9,9 @@
/**
* @return - The actual index of instance associated with a factory method. This index has a 1:1
* correspondence with what were specified via the <code>indices</code> attribute of the
-···*·····<code>@factory</code>·annotation.·For·e.g.,·lets·say·you·specified·the␊
-···*·····indices·to·the·"1"·and·your·factory·returned·4·instances,·then·the·instance·on·which·this␊
-···*·····method·is·invoked·would·have·the·value·as·"1".␊
+···*·····<code>@factory</code>·annotation.·For·e.g.,·lets·say·you·specified·the·indices·to·the·"1"␊
+···*·····and·your·factory·returned·4·instances,·then·the·instance·on·which·this·method·is·invoked␊
+···*·····would·have·the·value·as·"1".␊
*/
int getIndex();
You might want to adjust -PmaxCheckMessageLines=50
-PmaxFilesToList=10
-PminLinesPerFile=4
to see more violations
Run './gradlew autostyleApply' to fix the violations.
|
17, corretto, ubuntu, America/New_York, de_DE
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
17, corretto, ubuntu, America/New_York, de_DE
Gradle Build Scan: https://gradle.com/s/jd6z3lkhn7ogu
|
17, corretto, ubuntu, America/New_York, de_DE
No files were found with the provided path: testng-core/build/reports/tests/test/**. No artifacts will be uploaded.
|
21, corretto, macos, America/New_York, ru_RU
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
21, corretto, macos, America/New_York, ru_RU
No files were found with the provided path: testng-core/build/reports/tests/test/**. No artifacts will be uploaded.
|
21, corretto, macos, America/New_York, ru_RU
Gradle Build Scan: https://gradle.com/s/quuxl4lbcnh4i
|
11, temurin, windows, America/New_York, de_DE, stress JIT
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
11, temurin, windows, America/New_York, de_DE, stress JIT
No files were found with the provided path: testng-core/build/reports/tests/test/**. No artifacts will be uploaded.
|
11, temurin, windows, America/New_York, de_DE, stress JIT
Gradle Build Scan: https://gradle.com/s/bx2epmibhhnbc
|
22, oracle, windows, America/New_York, ru_RU
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
22, oracle, windows, America/New_York, ru_RU
Gradle Build Scan: https://gradle.com/s/qski67iatrj5s
|
22, oracle, windows, America/New_York, ru_RU
No files were found with the provided path: testng-core/build/reports/tests/test/**. No artifacts will be uploaded.
|
22, oracle, macos, UTC, tr_TR
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
22, oracle, macos, UTC, tr_TR
No files were found with the provided path: testng-core/build/reports/tests/test/**. No artifacts will be uploaded.
|
22, oracle, macos, UTC, tr_TR
Gradle Build Scan: https://gradle.com/s/cukwx46qwn3n2
|
11, zulu, same hashcode, macos, Pacific/Chatham, fr_FR
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
11, zulu, same hashcode, macos, Pacific/Chatham, fr_FR
No files were found with the provided path: testng-core/build/reports/tests/test/**. No artifacts will be uploaded.
|
11, zulu, same hashcode, macos, Pacific/Chatham, fr_FR
Gradle Build Scan: https://gradle.com/s/5g3txpp3affa6
|
21, oracle, macos, Pacific/Chatham, de_DE, stress JIT
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
21, oracle, macos, Pacific/Chatham, de_DE, stress JIT
Failed to restore: Cache service responded with 429
|
21, oracle, macos, Pacific/Chatham, de_DE, stress JIT
Failed to restore: Cache service responded with 429
|
21, oracle, macos, Pacific/Chatham, de_DE, stress JIT
Gradle Build Scan: https://gradle.com/s/x6hvcrvkkptdo
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-reports---1713850099
Expired
|
555 KB |
|