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
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 -
Method Summary
Modifier and TypeMethodDescriptionGets all registered categories, in form of the plain collectionGets all registered checks paired with categories they are being registered invoid
registerCheck
(ICheck check, String categoryId) Registers new testingICheck
registerCheck
(Class<? extends AbstractTestCheck> checkClass, String checkId, String categoryId) Registers new testingICheck
-
Constructor Details
-
TestCheckProvider
public TestCheckProvider()
-
-
Method Details
-
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
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
-
registerCheck
Registers new testingICheck
- Parameters:
checkId
- unique testing check id, cannot benull
categoryId
- unique testing check category id, cannot benull
-