75 lines
1.4 KiB
Java
75 lines
1.4 KiB
Java
package org.testng.annotations;
|
|
|
|
import org.testng.IRetryAnalyzer;
|
|
import org.testng.internal.annotations.IDataProvidable;
|
|
|
|
public interface ITestAnnotation extends ITestOrConfiguration, IDataProvidable {
|
|
boolean getAlwaysRun();
|
|
|
|
String getDataProvider();
|
|
|
|
Class<?> getDataProviderClass();
|
|
|
|
Class<?>[] getExpectedExceptions();
|
|
|
|
String getExpectedExceptionsMessageRegExp();
|
|
|
|
int getInvocationCount();
|
|
|
|
int getPriority();
|
|
|
|
IRetryAnalyzer getRetryAnalyzer();
|
|
|
|
boolean getSequential();
|
|
|
|
boolean getSingleThreaded();
|
|
|
|
int getSuccessPercentage();
|
|
|
|
String getSuiteName();
|
|
|
|
String getTestName();
|
|
|
|
int getThreadPoolSize();
|
|
|
|
boolean ignoreMissingDependencies();
|
|
|
|
long invocationTimeOut();
|
|
|
|
void setAlwaysRun(boolean z);
|
|
|
|
void setDataProvider(String str);
|
|
|
|
void setDataProviderClass(Class<?> cls);
|
|
|
|
void setExpectedExceptions(Class<?>[] clsArr);
|
|
|
|
void setExpectedExceptionsMessageRegExp(String str);
|
|
|
|
void setIgnoreMissingDependencies(boolean z);
|
|
|
|
void setInvocationCount(int i);
|
|
|
|
void setInvocationTimeOut(long j);
|
|
|
|
void setPriority(int i);
|
|
|
|
void setRetryAnalyzer(Class<?> cls);
|
|
|
|
void setSequential(boolean z);
|
|
|
|
void setSingleThreaded(boolean z);
|
|
|
|
void setSkipFailedInvocations(boolean z);
|
|
|
|
void setSuccessPercentage(int i);
|
|
|
|
void setSuiteName(String str);
|
|
|
|
void setTestName(String str);
|
|
|
|
void setThreadPoolSize(int i);
|
|
|
|
boolean skipFailedInvocations();
|
|
}
|