File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,13 @@ void init() {
30
30
@ DisplayName ("Single test successful" )
31
31
@ Test
32
32
void testSingleSuccessTest () {
33
- System .out .println ("Success " );
33
+ System .out .println ("in testSingleSuccessTest " );
34
34
assertEquals (5 + 2 , 7 );
35
35
}
36
36
37
37
@ Test
38
38
void shouldThrowException () {
39
+ System .out .println ("in shouldThrowException" );
39
40
Throwable exception = assertThrows (UnsupportedOperationException .class , () -> {
40
41
throw new UnsupportedOperationException ("Not supported" );
41
42
});
@@ -44,6 +45,7 @@ void shouldThrowException() {
44
45
45
46
@ Test
46
47
void assertThrowsException () {
48
+ System .out .println ("in assertThrowsException" );
47
49
String str = null ;
48
50
assertThrows (IllegalArgumentException .class , () -> {
49
51
Integer .valueOf (str );
@@ -53,6 +55,7 @@ void assertThrowsException() {
53
55
@ ParameterizedTest
54
56
@ MethodSource ("data" )
55
57
public void parameterizedTest (String input , boolean expected ) {
58
+ System .out .println ("input is: " + input + ", expected is: " + expected );
56
59
assertEquals (expected , Strings .isBlank (input ));
57
60
}
58
61
You can’t perform that action at this time.
0 commit comments