mirror of
https://github.com/1C-Company/v8-code-style.git
synced 2024-11-28 17:41:06 +02:00
#6 Адаптация к новой схеме именования API проверок
This commit is contained in:
parent
9d0dc21a2f
commit
14ce1558a7
@ -12,10 +12,10 @@ Automatic-Module-Name: com.e1c.v8codestyle.md
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Bundle-Localization: plugin
|
||||
Import-Package: com._1c.g5.v8.bm.core;version="[7.0.0,8.0.0)",
|
||||
com._1c.g5.v8.dt.check;version="[1.0.0,2.0.0)",
|
||||
com._1c.g5.v8.dt.check.components;version="[1.0.0,2.0.0)",
|
||||
com._1c.g5.v8.dt.check.ext;version="[1.0.0,2.0.0)",
|
||||
com._1c.g5.v8.dt.check.settings;version="[1.0.0,2.0.0)",
|
||||
com.e1c.g5.v8.dt.check;version="[1.0.0,2.0.0)",
|
||||
com.e1c.g5.v8.dt.check.components;version="[1.0.0,2.0.0)",
|
||||
com.e1c.g5.v8.dt.check.ext;version="[1.0.0,2.0.0)",
|
||||
com.e1c.g5.v8.dt.check.settings;version="[1.0.0,2.0.0)",
|
||||
com._1c.g5.v8.dt.common;version="[6.0.0,7.0.0)",
|
||||
com._1c.g5.v8.dt.metadata.mdclass;version="[8.0.0,9.0.0)",
|
||||
com._1c.g5.wiring;version="[2.2.0,3.0.0)",
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
<plugin>
|
||||
<extension
|
||||
point="com._1c.g5.v8.dt.check.checks">
|
||||
point="com.e1c.g5.v8.dt.check.checks">
|
||||
<category
|
||||
category="com.e1c.v8codestyle"
|
||||
description="%category.md.description"
|
||||
|
@ -29,14 +29,14 @@ import java.util.Map;
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
import org.eclipse.emf.ecore.EStructuralFeature;
|
||||
|
||||
import com._1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com._1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com._1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com._1c.g5.v8.dt.check.components.TopObjectFilterExtension;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueType;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.CommonModule;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.ReturnValuesReuse;
|
||||
import com.e1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com.e1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com.e1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com.e1c.g5.v8.dt.check.components.TopObjectFilterExtension;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueType;
|
||||
|
||||
/**
|
||||
* Check client common module name has "Client" suffix
|
||||
|
@ -29,14 +29,14 @@ import java.util.Map;
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
import org.eclipse.emf.ecore.EStructuralFeature;
|
||||
|
||||
import com._1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com._1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com._1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com._1c.g5.v8.dt.check.components.TopObjectFilterExtension;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueType;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.CommonModule;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.ReturnValuesReuse;
|
||||
import com.e1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com.e1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com.e1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com.e1c.g5.v8.dt.check.components.TopObjectFilterExtension;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueType;
|
||||
|
||||
/**
|
||||
* Check client-server common module name has "ClientServer" suffix
|
||||
|
@ -21,14 +21,14 @@ import java.text.MessageFormat;
|
||||
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
|
||||
import com._1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com._1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com._1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com._1c.g5.v8.dt.check.components.TopObjectFilterExtension;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueType;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.CommonModule;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.ReturnValuesReuse;
|
||||
import com.e1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com.e1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com.e1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com.e1c.g5.v8.dt.check.components.TopObjectFilterExtension;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueType;
|
||||
|
||||
/**
|
||||
* Check global common module name has "Global" suffix
|
||||
|
@ -32,13 +32,13 @@ import java.util.stream.Collectors;
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
import org.eclipse.emf.ecore.EStructuralFeature;
|
||||
|
||||
import com._1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com._1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com._1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com._1c.g5.v8.dt.check.components.TopObjectFilterExtension;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueType;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.CommonModule;
|
||||
import com.e1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com.e1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com.e1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com.e1c.g5.v8.dt.check.components.TopObjectFilterExtension;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueType;
|
||||
|
||||
/**
|
||||
* Check correct type of common module environment
|
||||
|
@ -17,13 +17,13 @@ import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.CONFIGUR
|
||||
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
|
||||
import com._1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com._1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com._1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueType;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.Configuration;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.DefaultDataLockControlMode;
|
||||
import com.e1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com.e1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com.e1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueType;
|
||||
|
||||
/**
|
||||
* Check configuration data lock mode should be managed
|
||||
|
@ -19,13 +19,13 @@ import java.text.MessageFormat;
|
||||
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
|
||||
import com._1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com._1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com._1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com._1c.g5.v8.dt.check.components.TopObjectFilterExtension;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com._1c.g5.v8.dt.check.settings.IssueType;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.MdObject;
|
||||
import com.e1c.g5.v8.dt.check.CheckComplexity;
|
||||
import com.e1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com.e1c.g5.v8.dt.check.components.BasicCheck;
|
||||
import com.e1c.g5.v8.dt.check.components.TopObjectFilterExtension;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueSeverity;
|
||||
import com.e1c.g5.v8.dt.check.settings.IssueType;
|
||||
|
||||
/**
|
||||
* Check top Metadata object name lengh that should be less then 80.
|
||||
|
@ -15,13 +15,13 @@ package com.e1c.v8codestyle.md.check;
|
||||
import java.util.List;
|
||||
|
||||
import com._1c.g5.v8.bm.core.IBmObject;
|
||||
import com._1c.g5.v8.dt.check.CheckParameterDefinition;
|
||||
import com._1c.g5.v8.dt.check.ICheckDefinition;
|
||||
import com._1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com._1c.g5.v8.dt.check.components.IBasicCheckExtension;
|
||||
import com._1c.g5.v8.dt.check.ext.ITopObjectFilter;
|
||||
import com._1c.g5.v8.dt.common.StringUtils;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.MdObject;
|
||||
import com.e1c.g5.v8.dt.check.CheckParameterDefinition;
|
||||
import com.e1c.g5.v8.dt.check.ICheckDefinition;
|
||||
import com.e1c.g5.v8.dt.check.ICheckParameters;
|
||||
import com.e1c.g5.v8.dt.check.components.IBasicCheckExtension;
|
||||
import com.e1c.g5.v8.dt.check.ext.ITopObjectFilter;
|
||||
|
||||
/**
|
||||
* The extention allows to filter {@link MdObject} name that has no suffix listed in parameters.
|
||||
|
@ -10,7 +10,7 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.18.0,4.0.0)"
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-11
|
||||
Automatic-Module-Name: com.e1c.v8codestyle
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Import-Package: com._1c.g5.v8.dt.check;version="[1.0.0,2.0.0)",
|
||||
Import-Package: com.e1c.g5.v8.dt.check;version="[1.0.0,2.0.0)",
|
||||
com._1c.g5.wiring;version="[2.2.0,3.0.0)",
|
||||
com._1c.g5.wiring.binder;version="[1.1.0,2.0.0)",
|
||||
com.google.inject;version="[1.3.0,2.0.0)"
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
<plugin>
|
||||
<extension
|
||||
point="com._1c.g5.v8.dt.check.checks">
|
||||
point="com.e1c.g5.v8.dt.check.checks">
|
||||
<category
|
||||
description="%category.root.description"
|
||||
id="com.e1c.v8codestyle"
|
||||
|
@ -11,7 +11,7 @@ Bundle-Localization: fragment
|
||||
Import-Package: com._1c.g5.v8.bm.integration;version="[9.1.0,10.0.0)",
|
||||
com._1c.g5.v8.dt.core.platform;version="[10.3.0,11.0.0)",
|
||||
com._1c.g5.v8.dt.testing;version="[3.1.0,4.0.0)",
|
||||
com._1c.g5.v8.dt.testing.check;version="[1.0.0,2.0.0)",
|
||||
com.e1c.g5.v8.dt.testing.check;version="[1.0.0,2.0.0)",
|
||||
com._1c.g5.v8.dt.validation.marker;version="[4.0.0,5.0.0)",
|
||||
org.junit;version="[4.13.0,5.0.0)"
|
||||
Require-Bundle: org.eclipse.core.resources;bundle-version="[3.13.0,4.0.0)"
|
||||
|
@ -19,8 +19,8 @@ import com._1c.g5.v8.bm.integration.AbstractBmTask;
|
||||
import com._1c.g5.v8.bm.integration.IBmModel;
|
||||
import com._1c.g5.v8.dt.core.platform.IDtProject;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.CommonModule;
|
||||
import com._1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com._1c.g5.v8.dt.validation.marker.Marker;
|
||||
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com.e1c.v8codestyle.md.check.CommonModuleNameClientServer;
|
||||
import com.e1c.v8codestyle.md.check.CommonModuleType;
|
||||
|
||||
|
@ -19,8 +19,8 @@ import com._1c.g5.v8.bm.integration.AbstractBmTask;
|
||||
import com._1c.g5.v8.bm.integration.IBmModel;
|
||||
import com._1c.g5.v8.dt.core.platform.IDtProject;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.CommonModule;
|
||||
import com._1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com._1c.g5.v8.dt.validation.marker.Marker;
|
||||
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com.e1c.v8codestyle.md.check.CommonModuleNameClient;
|
||||
import com.e1c.v8codestyle.md.check.CommonModuleType;
|
||||
|
||||
|
@ -19,8 +19,8 @@ import com._1c.g5.v8.bm.integration.AbstractBmTask;
|
||||
import com._1c.g5.v8.bm.integration.IBmModel;
|
||||
import com._1c.g5.v8.dt.core.platform.IDtProject;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.CommonModule;
|
||||
import com._1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com._1c.g5.v8.dt.validation.marker.Marker;
|
||||
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com.e1c.v8codestyle.md.check.CommonModuleNameGlobal;
|
||||
import com.e1c.v8codestyle.md.check.CommonModuleType;
|
||||
|
||||
|
@ -18,8 +18,8 @@ import com._1c.g5.v8.bm.core.IBmTransaction;
|
||||
import com._1c.g5.v8.bm.integration.AbstractBmTask;
|
||||
import com._1c.g5.v8.bm.integration.IBmModel;
|
||||
import com._1c.g5.v8.dt.core.platform.IDtProject;
|
||||
import com._1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com._1c.g5.v8.dt.validation.marker.Marker;
|
||||
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com.e1c.v8codestyle.md.check.CommonModuleType;
|
||||
|
||||
/**
|
||||
|
@ -15,8 +15,8 @@ import com._1c.g5.v8.bm.integration.IBmModel;
|
||||
import com._1c.g5.v8.dt.core.platform.IDtProject;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.Configuration;
|
||||
import com._1c.g5.v8.dt.metadata.mdclass.DefaultDataLockControlMode;
|
||||
import com._1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com._1c.g5.v8.dt.validation.marker.Marker;
|
||||
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com.e1c.v8codestyle.md.check.ConfigurationDataLock;
|
||||
|
||||
/**
|
||||
|
@ -9,8 +9,8 @@ import static org.junit.Assert.assertNull;
|
||||
import org.junit.Test;
|
||||
|
||||
import com._1c.g5.v8.dt.core.platform.IDtProject;
|
||||
import com._1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com._1c.g5.v8.dt.validation.marker.Marker;
|
||||
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
|
||||
import com.e1c.v8codestyle.md.check.MdObjectNameLength;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user