Package com._1c.g5.v8.dt.testing.check
Class TestCheckProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.testing.check.TestCheckProvider
-
- All Implemented Interfaces:
ICheckProvider
public class TestCheckProvider extends Object implements ICheckProvider
Supports dynamic registration of test checks
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.e1c.g5.v8.dt.check.settings.ICheckProvider
ICheckProvider.CheckInfo
-
-
Constructor Summary
Constructors Constructor Description TestCheckProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<INamedElement>
getCategories()
Gets all registered categories, in form of the plain collectionCollection<ICheckProvider.CheckInfo>
getChecks()
Gets all registered checks paired with categories they are being registered invoid
registerCheck(ICheck check, String categoryId)
Registers new testingICheck
ICheck
registerCheck(Class<? extends AbstractTestCheck> checkClass, String checkId, String categoryId)
Registers new testingICheck
-
-
-
Method Detail
-
getCategories
public Collection<INamedElement> getCategories()
Description copied from interface:ICheckProvider
Gets all registered categories, in form of the plain collection- Specified by:
getCategories
in interfaceICheckProvider
- Returns:
- The collection of registered categories. May not be
null
-
getChecks
public Collection<ICheckProvider.CheckInfo> getChecks()
Description copied from interface:ICheckProvider
Gets all registered checks paired with categories they are being registered in- Specified by:
getChecks
in interfaceICheckProvider
- Returns:
- The collection of check-category pairs. May not be
null
-
registerCheck
public ICheck registerCheck(Class<? extends AbstractTestCheck> checkClass, String checkId, String categoryId)
Registers new testingICheck
-
-