You've already forked v8-code-style
mirror of
https://github.com/1C-Company/v8-code-style.git
synced 2025-07-17 13:07:50 +02:00
Рефакторинг теста
This commit is contained in:
@ -48,7 +48,7 @@ public class ExtensionMethodPrefixCheckTest
|
|||||||
"/src/CommonModules/CompliantCommonModule/Module.bsl";
|
"/src/CommonModules/CompliantCommonModule/Module.bsl";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String getTestConfigurationName()
|
public void setUp() throws CoreException
|
||||||
{
|
{
|
||||||
IProject project = testingWorkspace.getProject(PROJECT_NAME);
|
IProject project = testingWorkspace.getProject(PROJECT_NAME);
|
||||||
if (!project.exists() || !project.isAccessible())
|
if (!project.exists() || !project.isAccessible())
|
||||||
@ -61,9 +61,15 @@ public class ExtensionMethodPrefixCheckTest
|
|||||||
catch (CoreException e)
|
catch (CoreException e)
|
||||||
{
|
{
|
||||||
BslPlugin.logError(e);
|
BslPlugin.logError(e);
|
||||||
return e.getMessage();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
super.setUp();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected String getTestConfigurationName()
|
||||||
|
{
|
||||||
return PROJECT_EXTENSION_NAME;
|
return PROJECT_EXTENSION_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user