Package org.testng.internal
Class InvokeMethodRunnable
- java.lang.Object
-
- org.testng.internal.InvokeMethodRunnable
-
- All Implemented Interfaces:
java.lang.Runnable
public class InvokeMethodRunnable extends java.lang.Object implements java.lang.Runnable
A Runnable Method invoker.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InvokeMethodRunnable.TestNGRuntimeException
-
Field Summary
Fields Modifier and Type Field Description private IHookable
m_hookable
private java.lang.Object
m_instance
private ITestNGMethod
m_method
private java.lang.Object[]
m_parameters
private ITestResult
m_testResult
-
Constructor Summary
Constructors Constructor Description InvokeMethodRunnable(ITestNGMethod thisMethod, java.lang.Object instance, java.lang.Object[] parameters, IHookable hookable, ITestResult testResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
private void
runOne()
-
-
-
Field Detail
-
m_method
private ITestNGMethod m_method
-
m_instance
private java.lang.Object m_instance
-
m_parameters
private java.lang.Object[] m_parameters
-
m_hookable
private final IHookable m_hookable
-
m_testResult
private final ITestResult m_testResult
-
-
Constructor Detail
-
InvokeMethodRunnable
public InvokeMethodRunnable(ITestNGMethod thisMethod, java.lang.Object instance, java.lang.Object[] parameters, IHookable hookable, ITestResult testResult)
-
-
Method Detail
-
run
public void run() throws InvokeMethodRunnable.TestNGRuntimeException
- Specified by:
run
in interfacejava.lang.Runnable
- Throws:
InvokeMethodRunnable.TestNGRuntimeException
-
runOne
private void runOne()
-
-