Package dev.galasa.framework
Class GenericMethodWrapper
java.lang.Object
dev.galasa.framework.GenericMethodWrapper
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGenericMethodWrapper
(Method excecutionMethod, Class<?> testClass, GenericMethodWrapper.Type type) -
Method Summary
Modifier and TypeMethodDescriptionboolean
fullStop()
getName()
void
invoke
(@NotNull ITestRunManagers managers, Object testClassObject, GenericMethodWrapper testMethod) Run the supplied method
-
Field Details
-
LOG_METHOD_BEFORE_CLASS
- See Also:
-
LOG_METHOD_BEFORE
- See Also:
-
LOG_METHOD_TEST
- See Also:
-
LOG_METHOD_AFTER
- See Also:
-
LOG_METHOD_AFTER_CLASS
- See Also:
-
-
Constructor Details
-
GenericMethodWrapper
public GenericMethodWrapper(Method excecutionMethod, Class<?> testClass, GenericMethodWrapper.Type type)
-
-
Method Details
-
invoke
public void invoke(@NotNull @NotNull ITestRunManagers managers, Object testClassObject, GenericMethodWrapper testMethod) throws TestRunException Run the supplied method- Parameters:
managers
- the managers used in this testtestClassObject
- the test classtestMethod
- the test method if the execution method is @Before or @After- Throws:
TestRunException
- The failure thrown by the test run
-
fullStop
public boolean fullStop() -
getResult
-
getStructure
-
getName
-