Skip to content

Commit 4ff8864

Browse files
Merge pull request #377 from mehmet-karaman/fix_deprecated_ATTR_TEST_NAME_usage_371
adjusted deprecated usage of ATTR_TEST_METHOD_NAME #371
2 parents 02b0757 + 4d3ba71 commit 4ff8864

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

org.eclipse.xpect.ui.junit/src/org/eclipse/xpect/ui/junit/launching/LaunchShortcutUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ public static ILaunchConfigurationWorkingCopy createXpectLaunchConfiguration(JUn
6565

6666
String methodName = element.getDescription().getMethodName();
6767
if (!Strings.isEmpty(methodName))
68-
wc.setAttribute(JUnitLaunchConfigurationConstants.ATTR_TEST_METHOD_NAME, methodName);
68+
wc.setAttribute(JUnitLaunchConfigurationConstants.ATTR_TEST_NAME, methodName);
6969
else
70-
wc.setAttribute(JUnitLaunchConfigurationConstants.ATTR_TEST_METHOD_NAME, element.getDescription().getClassName());
70+
wc.setAttribute(JUnitLaunchConfigurationConstants.ATTR_TEST_NAME, element.getDescription().getClassName());
7171
String fileInProject = element.getResource().getFullPath().removeFirstSegments(1).toString();
7272
ensureContains(wc, IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS, "-DxpectFiles=", fileInProject);
7373
return wc;

0 commit comments

Comments
 (0)