File tree Expand file tree Collapse file tree 5 files changed +13
-0
lines changed
processor/src/test/java/org/mapstruct/ap Expand file tree Collapse file tree 5 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1111
1212import org .junit .jupiter .api .AfterEach ;
1313import org .junit .jupiter .api .BeforeEach ;
14+ import org .junit .jupiter .api .condition .DisabledOnJre ;
15+ import org .junit .jupiter .api .condition .JRE ;
1416import org .junit .jupiter .api .extension .RegisterExtension ;
1517import org .mapstruct .ap .test .decorator .Address ;
1618import org .mapstruct .ap .test .decorator .AddressDto ;
4648@ ComponentScan (basePackageClasses = Jsr330DecoratorTest .class )
4749@ Configuration
4850@ WithJavaxInject
51+ @ DisabledOnJre (JRE .OTHER )
4952public class Jsr330DecoratorTest {
5053
5154 @ RegisterExtension
Original file line number Diff line number Diff line change 77
88import org .junit .jupiter .api .AfterEach ;
99import org .junit .jupiter .api .BeforeEach ;
10+ import org .junit .jupiter .api .condition .DisabledOnJre ;
1011import org .junit .jupiter .api .extension .RegisterExtension ;
1112import org .mapstruct .ap .test .injectionstrategy .shared .CustomerDto ;
1213import org .mapstruct .ap .test .injectionstrategy .shared .CustomerEntity ;
Original file line number Diff line number Diff line change 1010
1111import org .junit .jupiter .api .AfterEach ;
1212import org .junit .jupiter .api .BeforeEach ;
13+ import org .junit .jupiter .api .condition .DisabledOnJre ;
14+ import org .junit .jupiter .api .condition .JRE ;
1315import org .junit .jupiter .api .extension .RegisterExtension ;
1416import org .mapstruct .ap .test .injectionstrategy .shared .CustomerDto ;
1517import org .mapstruct .ap .test .injectionstrategy .shared .CustomerEntity ;
4648@ ComponentScan (basePackageClasses = CustomerJsr330FieldMapper .class )
4749@ Configuration
4850@ WithJavaxInject
51+ @ DisabledOnJre (JRE .OTHER )
4952public class Jsr330FieldMapperTest {
5053
5154 @ RegisterExtension
Original file line number Diff line number Diff line change 77
88import org .junit .jupiter .api .AfterEach ;
99import org .junit .jupiter .api .BeforeEach ;
10+ import org .junit .jupiter .api .condition .DisabledOnJre ;
11+ import org .junit .jupiter .api .condition .JRE ;
1012import org .junit .jupiter .api .extension .RegisterExtension ;
1113import org .mapstruct .ap .test .injectionstrategy .shared .CustomerDto ;
1214import org .mapstruct .ap .test .injectionstrategy .shared .CustomerEntity ;
4244@ ComponentScan (basePackageClasses = CustomerJsr330SetterMapper .class )
4345@ Configuration
4446@ WithJavaxInject
47+ @ DisabledOnJre (JRE .OTHER )
4548public class Jsr330SetterMapperTest {
4649
4750 @ RegisterExtension
Original file line number Diff line number Diff line change 1010import java .lang .annotation .Retention ;
1111import java .lang .annotation .RetentionPolicy ;
1212import java .lang .annotation .Target ;
13+ import org .junit .jupiter .api .condition .DisabledOnJre ;
14+ import org .junit .jupiter .api .condition .JRE ;
1315
1416/**
1517 * Meta annotation that adds the needed Spring Dependencies
2325 "spring-beans" ,
2426 "spring-context"
2527})
28+ @ DisabledOnJre (JRE .OTHER )
2629public @interface WithSpring {
2730
2831}
You can’t perform that action at this time.
0 commit comments