mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
take correct parameter names from debug info for long/double parameters (IDEA-53195)
This commit is contained in:
@@ -52,9 +52,17 @@ public class ClsBuilderTest extends LightIdeaTestCase {
|
||||
}
|
||||
|
||||
public void testTestSuite() throws Exception {
|
||||
final String clsFilePath = JavaTestUtil.getJavaTestDataPath() + "/psi/cls/stubBuilder/TestSuite.class";
|
||||
doTestFromTestData();
|
||||
}
|
||||
|
||||
public void testDoubleTest() throws Exception { // IDEA-53195
|
||||
doTestFromTestData();
|
||||
}
|
||||
|
||||
private void doTestFromTestData() throws ClsFormatException, IOException {
|
||||
final String clsFilePath = JavaTestUtil.getJavaTestDataPath() + "/psi/cls/stubBuilder/" + getTestName(false) + ".class";
|
||||
VirtualFile clsFile = LocalFileSystem.getInstance().findFileByPath(clsFilePath);
|
||||
doTest(clsFile, "TestSuite.txt");
|
||||
doTest(clsFile, getTestName(false) + ".txt");
|
||||
}
|
||||
|
||||
private void doTest(final String classname) throws IOException, ClsFormatException {
|
||||
|
||||
Reference in New Issue
Block a user