You've already forked v8-code-style
mirror of
https://github.com/1C-Company/v8-code-style.git
synced 2025-07-02 06:44:29 +02:00
Тестовый класс SingleProjectReadOnlyCheckTestBase неработоспособен
This commit is contained in:
@ -31,7 +31,7 @@ import com._1c.g5.v8.dt.core.platform.IDtProject;
|
|||||||
import com._1c.g5.v8.dt.metadata.mdclass.CommonModule;
|
import com._1c.g5.v8.dt.metadata.mdclass.CommonModule;
|
||||||
import com._1c.g5.v8.dt.validation.marker.Marker;
|
import com._1c.g5.v8.dt.validation.marker.Marker;
|
||||||
import com.e1c.g5.v8.dt.check.settings.CheckUid;
|
import com.e1c.g5.v8.dt.check.settings.CheckUid;
|
||||||
import com.e1c.g5.v8.dt.testing.check.SingleProjectReadOnlyCheckTestBase;
|
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests for {@link ConfigurationDataLock} check.
|
* Tests for {@link ConfigurationDataLock} check.
|
||||||
@ -39,7 +39,7 @@ import com.e1c.g5.v8.dt.testing.check.SingleProjectReadOnlyCheckTestBase;
|
|||||||
* @author Dmitriy Marmyshev
|
* @author Dmitriy Marmyshev
|
||||||
*/
|
*/
|
||||||
public class StructureCtorTooManyKeysCheckTest
|
public class StructureCtorTooManyKeysCheckTest
|
||||||
extends SingleProjectReadOnlyCheckTestBase
|
extends CheckTestBase
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final String CHECK_ID = "structure-consructor-too-many-keys"; //$NON-NLS-1$
|
private static final String CHECK_ID = "structure-consructor-too-many-keys"; //$NON-NLS-1$
|
||||||
@ -54,7 +54,7 @@ public class StructureCtorTooManyKeysCheckTest
|
|||||||
@Test
|
@Test
|
||||||
public void testStructureConstructorKeys() throws Exception
|
public void testStructureConstructorKeys() throws Exception
|
||||||
{
|
{
|
||||||
IDtProject dtProject = dtProjectManager.getDtProject(PROJECT_NAME);
|
IDtProject dtProject = openProjectAndWaitForValidationFinish(PROJECT_NAME);
|
||||||
assertNotNull(dtProject);
|
assertNotNull(dtProject);
|
||||||
|
|
||||||
IBmObject mdObject = getTopObjectByFqn("CommonModule.CommonModule", dtProject);
|
IBmObject mdObject = getTopObjectByFqn("CommonModule.CommonModule", dtProject);
|
||||||
@ -82,10 +82,4 @@ public class StructureCtorTooManyKeysCheckTest
|
|||||||
assertTrue(CHECK_ID.equals(checkUid.getCheckId()));
|
assertTrue(CHECK_ID.equals(checkUid.getCheckId()));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected String getTestConfigurationName()
|
|
||||||
{
|
|
||||||
return PROJECT_NAME;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user