Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 29f3d87

Browse files
committed
该注解也可以被继承
1 parent f456f9f commit 29f3d87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/suren/autotest/web/framework/annotation/AutoDataSource.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
import java.lang.annotation.Documented;
2222
import java.lang.annotation.ElementType;
23+
import java.lang.annotation.Inherited;
2324
import java.lang.annotation.Retention;
2425
import java.lang.annotation.RetentionPolicy;
2526
import java.lang.annotation.Target;
@@ -33,6 +34,7 @@
3334
*/
3435
@Target(ElementType.TYPE)
3536
@Retention(RetentionPolicy.RUNTIME)
37+
@Inherited
3638
@Documented
3739
@AutoPage
3840
public @interface AutoDataSource {

0 commit comments

Comments
 (0)