forked from wildfly-extras/wildfly-testing-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRequireResourceRoot.java
More file actions
36 lines (29 loc) · 920 Bytes
/
RequireResourceRoot.java
File metadata and controls
36 lines (29 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.testing.junit;
import org.junit.jupiter.api.Test;
import org.wildfly.testing.junit.annotation.RequiresModule;
/**
* @author <a href="mailto:jpekrins@ibm.com">James R. Perkins</a>
*/
@SuppressWarnings("NewClassNamingConvention")
@RequiresModule("org.wildfly.testing.junit.test.resource-root")
public class RequireResourceRoot {
@Test
public void passing() {
}
@Test
@RequiresModule(value = "org.wildfly.testing.junit.test.resource-root", minVersion = "1.0.0")
public void passingVersion() {
}
@Test
@RequiresModule(value = "org.wildfly.testing.junit.test.resource-root", minVersion = "2.0.1")
public void skippedVersion() {
}
@Test
@RequiresModule(value = "org.wildfly.testing.junit.test.resource-root.invalid")
public void skippedMissingModule() {
}
}