Skip to content

Commit 7c83c0f

Browse files
committed
Deprecate legacy types
1 parent 62ce675 commit 7c83c0f

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

junit4/src/main/java/com/google/testing/junit/testparameterinjector/TestParameterValidator.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
/**
2222
* Validator interface which allows {@link TestParameterAnnotation} annotations to validate the set
2323
* of annotation values for a given test instance, and to selectively skip the test.
24+
*
25+
* @deprecated This interface only exists to support custom legacy annotations (strongly
26+
* discouraged). This class is in feature mode.
2427
*/
28+
@Deprecated
2529
interface TestParameterValidator {
2630

2731
/**

junit5/src/main/java/com/google/testing/junit/testparameterinjector/junit5/TestParameterValidator.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
/**
2222
* Validator interface which allows {@link TestParameterAnnotation} annotations to validate the set
2323
* of annotation values for a given test instance, and to selectively skip the test.
24+
*
25+
* @deprecated This interface only exists to support custom legacy annotations (strongly
26+
* discouraged). This class is in feature mode.
2427
*/
28+
@Deprecated
2529
interface TestParameterValidator {
2630

2731
/**

0 commit comments

Comments
 (0)