File tree Expand file tree Collapse file tree
randomizedtesting-jupiter/src/test/java/com/carrotsearch/randomizedtesting/tests/infra Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 */
1919@ Tag ("nested-integration-test" )
2020@ ExtendWith ({OutputCaptureExtension .class })
21- @ IgnoreInStandaloneRuns .EnabledIfConfigParaPresent (
22- IgnoreInStandaloneRuns .EnabledIfConfigParaPresent .PARAM_NAME )
21+ @ IgnoreInStandaloneRuns .EnabledIfConfigParamPresent (
22+ IgnoreInStandaloneRuns .EnabledIfConfigParamPresent .PARAM_NAME )
2323public abstract class IgnoreInStandaloneRuns {
2424 @ Target ({ElementType .TYPE , ElementType .METHOD })
2525 @ Retention (RetentionPolicy .RUNTIME )
2626 @ ExtendWith (MyConfigParamCondition .class )
2727 @ Inherited
28- @interface EnabledIfConfigParaPresent {
28+ @interface EnabledIfConfigParamPresent {
2929 String PARAM_NAME = "nested-integration-test" ;
3030
3131 String value ();
@@ -35,7 +35,7 @@ static class MyConfigParamCondition implements ExecutionCondition {
3535 @ Override
3636 public ConditionEvaluationResult evaluateExecutionCondition (ExtensionContext context ) {
3737 var annotation =
38- AnnotationSupport .findAnnotation (context .getElement (), EnabledIfConfigParaPresent .class );
38+ AnnotationSupport .findAnnotation (context .getElement (), EnabledIfConfigParamPresent .class );
3939 if (annotation .isEmpty ()) {
4040 return ConditionEvaluationResult .enabled ("No annotation" );
4141 }
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ public static EngineTestKit.Builder testKitBuilder() {
2727 OutputCaptureExtension .drain ();
2828 return EngineTestKit .engine ("junit-jupiter" )
2929 .configurationParameter (
30- IgnoreInStandaloneRuns .EnabledIfConfigParaPresent .PARAM_NAME , "true" );
30+ IgnoreInStandaloneRuns .EnabledIfConfigParamPresent .PARAM_NAME , "true" );
3131 }
3232
3333 public static EngineTestKit .Builder testKitBuilder (String engineId ) {
3434 OutputCaptureExtension .drain ();
3535 return EngineTestKit .engine (engineId )
3636 .configurationParameter (
37- IgnoreInStandaloneRuns .EnabledIfConfigParaPresent .PARAM_NAME , "true" );
37+ IgnoreInStandaloneRuns .EnabledIfConfigParamPresent .PARAM_NAME , "true" );
3838 }
3939}
You can’t perform that action at this time.
0 commit comments