File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
platform-tests/src/test/java/org/junit/platform/launcher/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ void callsRegisteredListenersWhenLauncherIsUsedDirectly() {
84
84
inOrder .verify (firstSessionListener ).launcherSessionClosed (launcherSession .getValue ());
85
85
}
86
86
87
- @ SuppressWarnings ("deprecation" )
88
87
@ Test
88
+ @ SuppressWarnings ({ "deprecation" , "resource" })
89
89
void callsRegisteredListenersWhenLauncherIsUsedViaSession () {
90
90
var session = LauncherFactory .openSession (launcherConfig );
91
91
var launcher = session .getLauncher ();
@@ -112,8 +112,8 @@ void callsRegisteredListenersWhenLauncherIsUsedViaSession() {
112
112
verifyNoMoreInteractions (firstSessionListener , secondSessionListener );
113
113
}
114
114
115
- @ SuppressWarnings ("deprecation" )
116
115
@ Test
116
+ @ SuppressWarnings ({ "deprecation" , "resource" })
117
117
void closedSessionCannotBeUsed () {
118
118
var session = LauncherFactory .openSession (launcherConfig );
119
119
var launcher = session .getLauncher ();
You can’t perform that action at this time.
0 commit comments