Package org.openl.rules.testmethod
Class ProjectHelper
- java.lang.Object
-
- org.openl.rules.testmethod.ProjectHelper
-
public final class ProjectHelper extends Object
- Author:
- snshor
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestSuiteMethod[]allTesters(IOpenClass openClass)static StringgetTestInfo(TestSuite testSuite)static StringgetTestInfo(IOpenMethod testMethod)static booleanisTestForMethod(IOpenMethod tester, IOpenMethod tested)If tester is an instance ofTestSuiteMethodand tested method object in tester is equal to tested we consider tester is test for tested method.static IOpenMethod[]testers(IOpenMethod tested, CompiledOpenClass openClass)Get tests for tested method that have filled rules rows data for testing its functionality.
-
-
-
Method Detail
-
allTesters
public static TestSuiteMethod[] allTesters(IOpenClass openClass)
-
testers
public static IOpenMethod[] testers(IOpenMethod tested, CompiledOpenClass openClass)
Get tests for tested method that have filled rules rows data for testing its functionality. Run methods and tests with empty test cases are not being processed. If you need to get all test methods, including run methods and empty ones, useisTestForMethod(IOpenMethod, IOpenMethod).
-
isTestForMethod
public static boolean isTestForMethod(IOpenMethod tester, IOpenMethod tested)
If tester is an instance ofTestSuiteMethodand tested method object in tester is equal to tested we consider tester is test for tested method.
-
getTestInfo
public static String getTestInfo(IOpenMethod testMethod)
-
-