Skip to content

Commit

Permalink
Removed unused method parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Aug 1, 2022
1 parent 4a23d92 commit d9bf3e5
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,14 @@ private void runTestWithModifiedClassPath(
testClass.getClassLoader());
Thread.currentThread().setContextClassLoader(forkedClassPathClassLoader);
try {
runTest(forkedClassPathClassLoader, testClass, testMethod);
runTest(testClass, testMethod);
}
finally {
Thread.currentThread().setContextClassLoader(originalClassLoader);
}
}

private void runTest(ClassLoader classLoader, Class<?> testClass, Method testMethod)
throws Throwable {

private void runTest(Class<?> testClass, Method testMethod) throws Throwable {
LauncherDiscoveryRequest request = LauncherDiscoveryRequestBuilder.request()
.selectors(selectMethod(getFullyQualifiedMethodName(testClass, testMethod)))
.filters(includeEngines("junit-jupiter"))
Expand Down

0 comments on commit d9bf3e5

Please sign in to comment.