public final class ProjectHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static TestSuiteMethod[] |
allTesters(IOpenClass openClass) |
static String |
getTestInfo(IOpenMethod testMethod) |
static String |
getTestInfo(TestSuite testSuite) |
static boolean |
isTester(IOpenMethod tester)
Checks if the tester is instance of
TestSuiteMethod, if it has any parameters for testing(see
TestSuiteMethod.isRunmethodTestable()) and if there is no errors in it. |
static boolean |
isTestForMethod(IOpenMethod tester,
IOpenMethod tested)
If tester is an instance of
TestSuiteMethod and tested method object in tester is equal to tested we
consider tester is test for tested method. |
static IOpenMethod[] |
testers(IOpenMethod tested)
Get tests for tested method that have filled rules rows data for testing its functionality.
|
public static TestSuiteMethod[] allTesters(IOpenClass openClass)
public static boolean isTester(IOpenMethod tester)
TestSuiteMethod, if it has any parameters for testing(see
TestSuiteMethod.isRunmethodTestable()) and if there is no errors in it.tester - instance of method that is considered to be a test.TestSuiteMethod.public static IOpenMethod[] testers(IOpenMethod tested)
isTestForMethod(IOpenMethod, IOpenMethod).public static boolean isTestForMethod(IOpenMethod tester, IOpenMethod tested)
TestSuiteMethod and tested method object in tester is equal to tested we
consider tester is test for tested method.public static String getTestInfo(IOpenMethod testMethod)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.