1
0
mirror of https://github.com/1C-Company/v8-code-style.git synced 2024-12-01 10:41:05 +02:00

Рефакторинг теста

This commit is contained in:
Artem Iliukhin 2022-10-27 09:35:47 +03:00
parent 73e615d97d
commit c4cbb1c5bc

View File

@ -48,7 +48,7 @@ public class ExtensionMethodPrefixCheckTest
"/src/CommonModules/CompliantCommonModule/Module.bsl";
@Override
protected String getTestConfigurationName()
public void setUp() throws CoreException
{
IProject project = testingWorkspace.getProject(PROJECT_NAME);
if (!project.exists() || !project.isAccessible())
@ -61,9 +61,15 @@ public class ExtensionMethodPrefixCheckTest
catch (CoreException e)
{
BslPlugin.logError(e);
return e.getMessage();
}
}
super.setUp();
}
@Override
protected String getTestConfigurationName()
{
return PROJECT_EXTENSION_NAME;
}