@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Repeatable(value=SkipWhenDatabaseVersions.class) public @interface SkipWhenDatabaseVersion
SkipTestRule JUnit rule, that allows tests to be skipped
based on the database version used for testing.| Modifier and Type | Required Element and Description |
|---|---|
EqualityCheck |
check
Defines the type of equal-check that should initiate the skip on the test class or method.
|
int |
major
Specify the database major version; cannot be omitted.
|
String |
reason
Specifies the reason for skipping the method, used when logging a skipped test.
|
| Modifier and Type | Optional Element and Description |
|---|---|
int |
minor
Specify the database minor version; defaults to
-1 to imply skipping minor version check. |
int |
patch
Specify the database patch version; defaults to {code -1} to imply skipping patch version check.
|
public abstract int major
public abstract EqualityCheck check
public abstract String reason
Copyright © 2021 JBoss by Red Hat. All rights reserved.