Minor refactorings in legacy codegen tests
Use loadFile() + getPrefix() instead of loadFile(String)
This commit is contained in:
@@ -38,9 +38,14 @@ public class InnerClassInfoGenTest extends CodegenTestCase {
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
loadFile("innerClassInfo/" + getTestName(true) + ".kt");
|
||||
loadFile();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
protected String getPrefix() {
|
||||
return "innerClassInfo";
|
||||
}
|
||||
|
||||
public void testInnerClassInfo() {
|
||||
|
||||
Reference in New Issue
Block a user