public enum ExtendedConfig extends Enum<ExtendedConfig>
Enum Constant and Description |
---|
CAPABILITIES
This can be set from within the configuration method of a given test-script.
|
TEST_NAME |
Modifier and Type | Method and Description |
---|---|
String |
getConfig() |
static ExtendedConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtendedConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtendedConfig CAPABILITIES
@BeforeMethod public void setup(ITestResult result, Method method){ DesiredCapabilities dc = new DesiredCapabilities(); //customize the capabilities result.setAttribute(ExtendedConfig.CAPABILITIES.getConfig(), dc);
public static final ExtendedConfig TEST_NAME
public static ExtendedConfig[] values()
for (ExtendedConfig c : ExtendedConfig.values()) System.out.println(c);
public static ExtendedConfig valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getConfig()
Copyright © 2016 PayPal Open Source. All rights reserved.