public final class RuntimeBehavior
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SHOW_TESTNG_STACK_FRAMES |
private static java.lang.String |
SKIP_CALLER_CLS_LOADER |
private static java.lang.String |
TEST_CLASSPATH |
static java.lang.String |
TESTNG_MODE_DRYRUN |
static java.lang.String |
TESTNG_THREAD_AFFINITY |
static java.lang.String |
TESTNG_USE_UNSECURE_URL |
Modifier | Constructor and Description |
---|---|
private |
RuntimeBehavior() |
Modifier and Type | Method and Description |
---|---|
static boolean |
enforceThreadAffinity() |
static java.lang.String |
getCurrentUserHome() |
static java.lang.String |
getDefaultDataProviderThreadCount() |
static java.lang.String |
getDefaultLineSeparator() |
static java.lang.String |
getDefaultXmlGenerationImpl() |
static java.lang.String |
getTestClasspath() |
static java.util.TimeZone |
getTimeZone() |
static boolean |
isDryRun() |
static boolean |
isTestMode() |
static java.lang.String |
orderMethodsBasedOn() |
static boolean |
shouldSkipUsingCallerClassLoader() |
static boolean |
showTestNGStackFrames() |
static boolean |
useEmailableReporter() |
static boolean |
useHttpUrlForDtd() |
static boolean |
useOldTestNGEmailableReporter() |
static boolean |
useStrictParameterMatching() |
public static final java.lang.String TESTNG_THREAD_AFFINITY
public static final java.lang.String TESTNG_MODE_DRYRUN
private static final java.lang.String TEST_CLASSPATH
private static final java.lang.String SKIP_CALLER_CLS_LOADER
public static final java.lang.String TESTNG_USE_UNSECURE_URL
public static final java.lang.String SHOW_TESTNG_STACK_FRAMES
public static boolean showTestNGStackFrames()
public static boolean useHttpUrlForDtd()
public static java.lang.String getDefaultLineSeparator()
public static java.lang.String getCurrentUserHome()
public static java.lang.String getDefaultDataProviderThreadCount()
public static java.lang.String getDefaultXmlGenerationImpl()
public static boolean isTestMode()
public static boolean shouldSkipUsingCallerClassLoader()
public static boolean useStrictParameterMatching()
public static java.lang.String orderMethodsBasedOn()
public static java.lang.String getTestClasspath()
public static boolean useOldTestNGEmailableReporter()
public static boolean useEmailableReporter()
public static boolean isDryRun()
true
if we would like to run in the Dry mode and false
otherwise.public static java.util.TimeZone getTimeZone()
TimeZone
corresponding to the JVM argument
-Dtestng.timezone
if it was set. If not set, it returns the default timezone
pertaining to the user property user.timezone
public static boolean enforceThreadAffinity()
true
if we would like to enforce Thread affinity when dealing with the
below two variants of execution models: