Replies: 2 comments
-
The In other words for
The constant You can find the documentation here https://apiguardian-team.github.io/apiguardian/docs/current/api/org/apiguardian/api/API.html. |
Beta Was this translation helpful? Give feedback.
-
Generally, yes. What did you find? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
/**
* Property name used to set the default timeout for all
* {@link AfterEach @AfterEach} methods: {@value}.
*
*
The value of this property will be used unless overridden by a
* {@link Timeout @timeout} annotation present on the
* {@link AfterEach @AfterEach} method.
*
*
This property overrides the
* {@value #DEFAULT_LIFECYCLE_METHOD_TIMEOUT_PROPERTY_NAME} property.
*
*
Please refer to the class
* description for the definition of supported values.
*
* @SInCE 5.5
*/
@API(status = STABLE, since = "5.9")
String DEFAULT_AFTER_EACH_METHOD_TIMEOUT_PROPERTY_NAME = "junit.jupiter.execution.timeout.aftereach.method.default";
`/**
* Property name used to set the default timeout for all
* {@link AfterAll @afterall} methods: {@value}.
*
*
The value of this property will be used unless overridden by a
* {@link Timeout @timeout} annotation present on the
* {@link AfterAll @afterall} method.
*
*
This property overrides the
* {@value #DEFAULT_LIFECYCLE_METHOD_TIMEOUT_PROPERTY_NAME} property.
*
*
Please refer to the class
* description for the definition of supported values.
*
* @SInCE 5.5
*/
@API(status = STABLE, since = "5.9")
String DEFAULT_AFTER_ALL_METHOD_TIMEOUT_PROPERTY_NAME = "junit.jupiter.execution.timeout.afterall.method.default";
`
File : org.junit.jupiter.api.Timeout.java
Hello,
I hope this message finds you well. I have been reviewing the @timeout annotation code in the JUnit 5 project and noticed that there might be some discrepancies between the @SInCE tags in the Javadoc comments and the @API annotations used in the code.
As I am not entirely sure if these differences are intentional or if they might be oversights, I wanted to bring them to your attention. If these are indeed discrepancies, I would be grateful for the opportunity to submit a pull request to address any inconsistencies.
Furthermore, I noticed several repeated string literals in the code. Would it be possible for me to refactor these into constants? I ask this cautiously, as I want to ensure that any changes align with the project's coding standards and practices.
If everything is correct as it stands, I apologize for taking your time and would appreciate your clarification on these matters.
Thank you for considering my request, and I would be honored to contribute a pull request if you find the changes necessary.
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions