Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement @DisabledOnOs #9

Merged
merged 9 commits into from
Dec 23, 2016
Merged

Implement @DisabledOnOs #9

merged 9 commits into from
Dec 23, 2016

Conversation

nipafx
Copy link
Member

@nipafx nipafx commented Nov 25, 2016

Implements annotations @DisabledOnOs and @EnabledOnOs, which pretty much do what the name says.

Fixes #2.


I hereby agree to the terms of the Io Contributor License Agreement.

@nipafx
Copy link
Member Author

nipafx commented Dec 11, 2016

This is almost done, open issues:

  • OS needs to be implemented properly
  • once Implement Vintage @Test #8 is merged smoke tests could be simplified by using AbstractIoTestEngineTests
  • there is only Javadoc so far but until a further documentation mechanism is decided upon, that suffices

@nipafx nipafx merged commit a198997 into junit-pioneer:master Dec 23, 2016
/**
* Operating systems on which the test or test container is disabled.
*/
OS[] value() default {};
Copy link

@sbrannen sbrannen Dec 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't provide a default value for an annotation attribute if it's required.

In other words, declaring @DisabledOnOs without specifying and OS is pointless. 😉

Same for @EnabledOnOs.

@nipafx nipafx deleted the disabled-on-os branch December 23, 2016 15:16
@sonarcloud
Copy link

sonarcloud bot commented Jan 18, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

1 similar comment
@sonarcloud
Copy link

sonarcloud bot commented Feb 1, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DisabledOnOs
2 participants