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.ICheckProviderICheckProvider.CheckInfo
 
- 
 - 
Constructor SummaryConstructors Constructor Description TestCheckProvider()
 - 
Method SummaryAll 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 invoidregisterCheck(ICheck check, String categoryId)Registers new testingICheckICheckregisterCheck(Class<? extends AbstractTestCheck> checkClass, String checkId, String categoryId)Registers new testingICheck
 
- 
- 
- 
Method Detail- 
getCategoriespublic Collection<INamedElement> getCategories() Description copied from interface:ICheckProviderGets all registered categories, in form of the plain collection- Specified by:
- getCategoriesin interface- ICheckProvider
- Returns:
- The collection of registered categories. May not be null
 
 - 
getCheckspublic Collection<ICheckProvider.CheckInfo> getChecks() Description copied from interface:ICheckProviderGets all registered checks paired with categories they are being registered in- Specified by:
- getChecksin interface- ICheckProvider
- Returns:
- The collection of check-category pairs. May not be null
 
 - 
registerCheckpublic ICheck registerCheck(Class<? extends AbstractTestCheck> checkClass, String checkId, String categoryId) Registers new testingICheck
 
- 
 
-