2026-03-17 13:31:18 -07:00

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();
}