diff --git a/java/execution/impl/src/com/intellij/execution/application/ApplicationConfiguration.java b/java/execution/impl/src/com/intellij/execution/application/ApplicationConfiguration.java index a15f2de7d5fa..f98100026007 100644 --- a/java/execution/impl/src/com/intellij/execution/application/ApplicationConfiguration.java +++ b/java/execution/impl/src/com/intellij/execution/application/ApplicationConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2009 JetBrains s.r.o. + * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -111,7 +111,7 @@ public class ApplicationConfiguration extends ModuleBasedConfiguration 1 ? " and " + (size - 1) + " more" : ""); } - final String className = JavaExecutionUtil.getPresentableClassName(getMainClassName(), configurationModule); + final String className = JavaExecutionUtil.getPresentableClassName(getMainClassName()); if (TEST_METHOD.equals(TEST_OBJECT)) { return className + '.' + getMethodName(); } diff --git a/plugins/testng/src/com/theoryinpractice/testng/model/TestData.java b/plugins/testng/src/com/theoryinpractice/testng/model/TestData.java index f88daee3e06b..55a6a3db11b5 100644 --- a/plugins/testng/src/com/theoryinpractice/testng/model/TestData.java +++ b/plugins/testng/src/com/theoryinpractice/testng/model/TestData.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2009 JetBrains s.r.o. + * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -177,7 +177,7 @@ public class TestData implements Cloneable public String getGeneratedName(JavaRunConfigurationModule runconfigurationmodule) { if (TestType.PACKAGE.getType().equals(TEST_OBJECT)) if (getPackageName().length() == 0) return ""; else return getPackageName(); - String name = JavaExecutionUtil.getPresentableClassName(getMainClassName(), runconfigurationmodule); + String name = JavaExecutionUtil.getPresentableClassName(getMainClassName()); if (TestType.METHOD.getType().equals(TEST_OBJECT)) { return name + '.' + getMethodName(); }