ITestNGMethod but with the exception that it
generates a unique hashcode that is different from the original ITestNGMethod instance
that it wraps.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final ITestNGMethod | |
| private final UUID |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addFailedInvocationNumber(int
The invocation number that failed number)Implements org. |
| public void | |
| public boolean | |
| public ITestNGMethod | clone()
Overrides java. Implements org. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public Map | findMethodParameters(XmlTest
- The test)XmlTest object.Implements org. |
| public String[] | |
| public String[] | |
| public ConstructorOrMethod | |
| public int | |
| public long | |
| public String | |
| public boolean | |
| public List | |
| public String[] | |
| public String[] | |
| public String | |
| public Object | |
| public long[] | getInstanceHashCodes()
Implements org. |
| public UUID | |
| public int | |
| public int | |
| public List | getInvocationNumbers()
Implements org. |
| public long | |
| public String | |
| public String[] | |
| public String | |
| public int | |
| public int | |
| public String | getQualifiedName()
Implements org. |
| public Class | |
| public IRetryAnalyzer | |
| public Class | |
| public int | |
| public ITestClass | |
| public int | |
| public long | |
| public XmlTest | |
| public int | |
| public boolean | |
| public boolean | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | setIgnoreMissingDependencies(boolean ignore)
Implements org. |
| public void | |
| public void | |
| public void | setInvocationNumbers(List<Integer> numbers)
Implements org. |
| public void | |
| public void | setMoreInvocationChecker(Callable<Boolean> moreInvocationChecker)
Implements org. |
| public void | |
| public void | |
| public void | setRetryAnalyzerClass(Class<? extends IRetryAnalyzer> clazz)
Implements org. |
| public void | |
| public void | setTestClass(ITestClass
The test class having this method. cls)Implements org. |
| public void | |
| public void | |
| public boolean | |
| public String |
| multiplicationFactor | back to summary |
|---|---|
| private final int multiplicationFactor | |
| testNGMethod | back to summary |
|---|---|
| private final ITestNGMethod testNGMethod | |
| uuid | back to summary |
|---|---|
| private final UUID uuid | |
| WrappedTestNGMethod | back to summary |
|---|---|
| public WrappedTestNGMethod(ITestNGMethod testNGMethod) | |
| addFailedInvocationNumber | back to summary |
|---|---|
| public void addFailedInvocationNumber(int number) Implements org. Doc from org. The list of invocation numbers that failed, which is only applicable for methods that have a data provider.
| |
| addMethodDependedUpon | back to summary |
|---|---|
| public void addMethodDependedUpon(String methodName) Implements org.
| |
| canRunFromClass | back to summary |
|---|---|
| public boolean canRunFromClass(IClass testClass) Implements org.
| |
| clone | back to summary |
|---|---|
| public ITestNGMethod clone() Overrides java. Implements org. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findMethodParameters | back to summary |
|---|---|
| public Map Implements org.
| |
| getAfterGroups | back to summary |
|---|---|
| public String[] getAfterGroups() Implements org.
| |
| getBeforeGroups | back to summary |
|---|---|
| public String[] getBeforeGroups() Implements org.
| |
| getConstructorOrMethod | back to summary |
|---|---|
| public ConstructorOrMethod getConstructorOrMethod() Implements org.
| |
| getCurrentInvocationCount | back to summary |
|---|---|
| public int getCurrentInvocationCount() Implements org.
| |
| getDate | back to summary |
|---|---|
| public long getDate() Implements org.
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements org.
| |
| getEnabled | back to summary |
|---|---|
| public boolean getEnabled() Implements org.
| |
| getFailedInvocationNumbers | back to summary |
|---|---|
| public List Implements org.
| |
| getGroups | back to summary |
|---|---|
| public String[] getGroups() Implements org.
| |
| getGroupsDependedUpon | back to summary |
|---|---|
| public String[] getGroupsDependedUpon() Implements org.
| |
| getId | back to summary |
|---|---|
| public String getId() Implements org.
| |
| getInstance | back to summary |
|---|---|
| public Object getInstance() Implements org.
| |
| getInstanceHashCodes | back to summary |
|---|---|
| public long[] getInstanceHashCodes() Implements org. Doc from org. Needed for serialization.
| |
| getInstanceId | back to summary |
|---|---|
| public UUID getInstanceId() Implements org.
| |
| getInterceptedPriority | back to summary |
|---|---|
| public int getInterceptedPriority() Implements org.
| |
| getInvocationCount | back to summary |
|---|---|
| public int getInvocationCount() Implements org.
| |
| getInvocationNumbers | back to summary |
|---|---|
| public List Implements org. Doc from org. Which invocation numbers of this method should be used (only applicable if it uses a data
provider). If this value is an empty list, use all the values returned from the data provider.
These values are read from the XML file in the | |
| getInvocationTimeOut | back to summary |
|---|---|
| public long getInvocationTimeOut() Implements org.
| |
| getMethodName | back to summary |
|---|---|
| public String getMethodName() Implements org. Doc from org. Returns the method name. This is needed for serialization because methods are not Serializable. | |
| getMethodsDependedUpon | back to summary |
|---|---|
| public String[] getMethodsDependedUpon() Implements org.
| |
| getMissingGroup | back to summary |
|---|---|
| public String getMissingGroup() Implements org.
| |
| getParameterInvocationCount | back to summary |
|---|---|
| public int getParameterInvocationCount() Implements org.
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() Implements org. Doc from org. The scheduling priority. Lower priorities get scheduled first.
| |
| getQualifiedName | back to summary |
|---|---|
| public String getQualifiedName() Implements org. Doc from org. getRealClass().getName() + "." + getMethodName() | |
| getRealClass | back to summary |
|---|---|
| public Class Implements org.
| |
| getRetryAnalyzer | back to summary |
|---|---|
| public IRetryAnalyzer getRetryAnalyzer(ITestResult result) Implements org.
| |
| getRetryAnalyzerClass | back to summary |
|---|---|
| public Class Implements org.
| |
| getSuccessPercentage | back to summary |
|---|---|
| public int getSuccessPercentage() Implements org.
| |
| getTestClass | back to summary |
|---|---|
| public ITestClass getTestClass() Implements org.
| |
| getThreadPoolSize | back to summary |
|---|---|
| public int getThreadPoolSize() Implements org.
| |
| getTimeOut | back to summary |
|---|---|
| public long getTimeOut() Implements org.
| |
| getXmlTest | back to summary |
|---|---|
| public XmlTest getXmlTest() Implements org.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasMoreInvocation | back to summary |
|---|---|
| public boolean hasMoreInvocation() Implements org.
| |
| ignoreMissingDependencies | back to summary |
|---|---|
| public boolean ignoreMissingDependencies() Implements org.
| |
| incrementCurrentInvocationCount | back to summary |
|---|---|
| public void incrementCurrentInvocationCount() Implements org.
| |
| isAfterClassConfiguration | back to summary |
|---|---|
| public boolean isAfterClassConfiguration() Implements org.
| |
| isAfterGroupsConfiguration | back to summary |
|---|---|
| public boolean isAfterGroupsConfiguration() Implements org.
| |
| isAfterMethodConfiguration | back to summary |
|---|---|
| public boolean isAfterMethodConfiguration() Implements org.
| |
| isAfterSuiteConfiguration | back to summary |
|---|---|
| public boolean isAfterSuiteConfiguration() Implements org.
| |
| isAfterTestConfiguration | back to summary |
|---|---|
| public boolean isAfterTestConfiguration() Implements org.
| |
| isAlwaysRun | back to summary |
|---|---|
| public boolean isAlwaysRun() Implements org.
| |
| isBeforeClassConfiguration | back to summary |
|---|---|
| public boolean isBeforeClassConfiguration() Implements org.
| |
| isBeforeGroupsConfiguration | back to summary |
|---|---|
| public boolean isBeforeGroupsConfiguration() Implements org.
| |
| isBeforeMethodConfiguration | back to summary |
|---|---|
| public boolean isBeforeMethodConfiguration() Implements org.
| |
| isBeforeSuiteConfiguration | back to summary |
|---|---|
| public boolean isBeforeSuiteConfiguration() Implements org.
| |
| isBeforeTestConfiguration | back to summary |
|---|---|
| public boolean isBeforeTestConfiguration() Implements org.
| |
| isTest | back to summary |
|---|---|
| public boolean isTest() Implements org.
| |
| setDate | back to summary |
|---|---|
| public void setDate(long date) Implements org.
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) Implements org.
| |
| setId | back to summary |
|---|---|
| public void setId(String id) Implements org.
| |
| setIgnoreMissingDependencies | back to summary |
|---|---|
| public void setIgnoreMissingDependencies(boolean ignore) Implements org.
| |
| setInterceptedPriority | back to summary |
|---|---|
| public void setInterceptedPriority(int priority) Implements org.
| |
| setInvocationCount | back to summary |
|---|---|
| public void setInvocationCount(int count) Implements org.
| |
| setInvocationNumbers | back to summary |
|---|---|
| public void setInvocationNumbers(List<Integer> numbers) Implements org.
| |
| setMissingGroup | back to summary |
|---|---|
| public void setMissingGroup(String group) Implements org.
| |
| setMoreInvocationChecker | back to summary |
|---|---|
| public void setMoreInvocationChecker(Callable<Boolean> moreInvocationChecker) Implements org.
| |
| setParameterInvocationCount | back to summary |
|---|---|
| public void setParameterInvocationCount(int n) Implements org.
| |
| setPriority | back to summary |
|---|---|
| public void setPriority(int priority) Implements org.
| |
| setRetryAnalyzerClass | back to summary |
|---|---|
| public void setRetryAnalyzerClass(Class<? extends IRetryAnalyzer> clazz) Implements org.
| |
| setSkipFailedInvocations | back to summary |
|---|---|
| public void setSkipFailedInvocations(boolean skip) Implements org.
| |
| setTestClass | back to summary |
|---|---|
| public void setTestClass(ITestClass cls) Implements org. Doc from org. Sets the test class having this method. This is not necessarily the declaring class.
| |
| setThreadPoolSize | back to summary |
|---|---|
| public void setThreadPoolSize(int threadPoolSize) Implements org.
| |
| setTimeOut | back to summary |
|---|---|
| public void setTimeOut(long timeOut) Implements org.
| |
| skipFailedInvocations | back to summary |
|---|---|
| public boolean skipFailedInvocations() Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |