Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring Suite, Parameterized and class runners to allow reuse in custom Runners #1348

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
minor improvement of variable name
  • Loading branch information
pwippermann authored and pwippermann committed Jul 18, 2016
commit 59bd4618928ecd282644b0a12692cf38d198e2a9
4 changes: 2 additions & 2 deletions src/main/java/org/junit/runners/Parameterized.java
Original file line number Diff line number Diff line change
@@ -366,8 +366,8 @@ public static String produceTestName(String pattern, int index,
}

public static String getNamePatternForParameters(TestClass testClass) throws Exception {
Parameters parameters = getParametersMethod(testClass).getAnnotation(
Parameters parametersAnnotation = getParametersMethod(testClass).getAnnotation(
Parameters.class);
return parameters.name();
return parametersAnnotation.name();
}
}