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 invoidregisterCheck(ICheck check, String categoryId) Registers new testingICheckregisterCheck(Class<? extends AbstractTestCheck> checkClass, String checkId, String categoryId) Registers new testingICheck
-
Constructor Details
-
TestCheckProvider
public TestCheckProvider()
-
-
Method Details
-
getCategories
Description copied from interface:ICheckProviderGets all registered categories, in form of the plain collection- Specified by:
getCategoriesin interfaceICheckProvider- Returns:
- The collection of registered categories. May not be
null
-
getChecks
Description copied from interface:ICheckProviderGets all registered checks paired with categories they are being registered in- Specified by:
getChecksin 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 benullcategoryId- unique testing check category id, cannot benull
-