Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from alvarolobato/master
[JENKINS-37317] Fix problems with requiredClasses
- Loading branch information
Showing
6 changed files
with
110 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.jenkinsci.plugins.variant; | ||
|
||
import org.jenkinsci.plugins.Beer; | ||
import org.jvnet.hudson.test.Issue; | ||
|
||
@OptionalExtension(requireClasses = Beer.class) | ||
@Issue("JENKINS-37317") | ||
public class Negative3 extends Base { | ||
} |
10 changes: 10 additions & 0 deletions
10
src/test/java/org/jenkinsci/plugins/variant/Negative4.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.jenkinsci.plugins.variant; | ||
|
||
import org.jenkinsci.plugins.Beer; | ||
import org.jvnet.hudson.test.Issue; | ||
|
||
@OptionalExtension(requireClasses = Beer.class) | ||
@Issue("JENKINS-37317") | ||
public class Negative4 extends Beer { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.jenkinsci.plugins.variant; | ||
|
||
import org.jvnet.hudson.test.Issue; | ||
|
||
@OptionalExtension(requireClasses = VariantSet.class) | ||
@Issue("JENKINS-37317") | ||
public class Positive4 extends Base { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters