File tree 1 file changed +5
-4
lines changed
src/test/java/edu/hm/hafner/util
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
package edu .hm .hafner .util ;
2
2
3
- import java .io .Serializable ;
4
-
3
+ import org .junit .jupiter .api .Disabled ;
5
4
import org .junit .jupiter .api .Test ;
6
5
7
6
import com .tngtech .archunit .core .domain .JavaClasses ;
8
7
import com .tngtech .archunit .core .importer .ClassFileImporter ;
9
8
10
9
import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
11
10
11
+ import java .io .Serializable ;
12
+
12
13
import static org .assertj .core .api .Assertions .*;
13
14
14
15
/**
@@ -115,7 +116,7 @@ public static class ArchitectureRulesViolatedTest {
115
116
@ edu .umd .cs .findbugs .annotations .Nullable
116
117
private final String noNullable = null ;
117
118
118
- @ Test
119
+ @ Test @ Disabled ( "This test is just there to be used in architecture tests" )
119
120
public void shouldFail () {
120
121
org .junit .jupiter .api .Assertions .assertEquals (1 , 1 );
121
122
@@ -154,7 +155,7 @@ private Object readResolve() {
154
155
@ SuppressWarnings ("all" ) @ Generated // This class is just there to be used in architecture tests
155
156
@ SuppressFBWarnings ("SE" )
156
157
static final class ArchitectureRulesPassedTest implements Serializable {
157
- @ Test
158
+ @ Test @ Disabled ( "This test is just there to be used in architecture tests" )
158
159
void shouldPass () {
159
160
throw new IllegalArgumentException ("context" );
160
161
}
You can’t perform that action at this time.
0 commit comments