public class DDDriverLogCommands
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOGFAILUREOK_KEYWORD
"LogFailureOK"
|
static java.lang.String |
LOGMESSAGE_KEYWORD
"LogMessage"
|
static java.lang.String |
LOGTESTFAILURE_KEYWORD
"LogTestFailure"
|
static java.lang.String |
LOGTESTSUCCESS_KEYWORD
"LogTestSuccess"
|
static java.lang.String |
LOGTESTWARNING_KEYWORD
"LogTestWarning"
|
static java.lang.String |
LOGWARNINGOK_KEYWORD
"LogWarningOK"
|
static java.lang.String |
RESUMELOGGING_KEYWORD
"ResumeLogging"
|
static java.lang.String |
SUSPENDLOGGING_KEYWORD
"SuspendLogging"
|
Modifier and Type | Method and Description |
---|---|
static DDDriverLogCommands |
getInstance()
public Singleton to access class static methods via instance
|
static DriverCommand |
logFailureOK(java.lang.String[] parameters)
Log an EXPECTED failure message.
|
static DriverCommand |
logFailureOK(java.lang.String message,
java.lang.String details)
Log an EXPECTED failure message.
|
static DriverCommand |
logMessage(java.lang.String[] parameters)
Log a generic message
Log a generic message.
|
static DriverCommand |
logMessage(java.lang.String message,
java.lang.String details)
Log a generic message
Log a generic message.
|
static DriverCommand |
logTestFailure(java.lang.String[] parameters)
Log a FAILURE message.
|
static DriverCommand |
logTestFailure(java.lang.String message,
java.lang.String details)
Log a FAILURE message.
|
static DriverCommand |
logTestSuccess(java.lang.String[] parameters)
Log a SUCCESS/OK message.
|
static DriverCommand |
logTestSuccess(java.lang.String message,
java.lang.String details)
Log a SUCCESS/OK message.
|
static DriverCommand |
logTestWarning(java.lang.String[] parameters)
Log a WARNING message.
|
static DriverCommand |
logTestWarning(java.lang.String message,
java.lang.String details)
Log a WARNING message.
|
static DriverCommand |
logWarningOK(java.lang.String[] parameters)
Log an EXPECTED WARNING message.
|
static DriverCommand |
logWarningOK(java.lang.String message,
java.lang.String details)
Log an EXPECTED WARNING message.
|
static DriverCommand |
resumeLogging(java.lang.String logName)
Resume suspended logging.
|
static DriverCommand |
suspendLogging(java.lang.String logName)
Suspend all logging.
|
public static final java.lang.String LOGFAILUREOK_KEYWORD
public static final java.lang.String LOGMESSAGE_KEYWORD
public static final java.lang.String LOGTESTFAILURE_KEYWORD
public static final java.lang.String LOGTESTSUCCESS_KEYWORD
public static final java.lang.String LOGTESTWARNING_KEYWORD
public static final java.lang.String LOGWARNINGOK_KEYWORD
public static final java.lang.String RESUMELOGGING_KEYWORD
public static final java.lang.String SUSPENDLOGGING_KEYWORD
public static DDDriverLogCommands getInstance()
public static DriverCommand logFailureOK(java.lang.String message, java.lang.String details)
Log an EXPECTED failure message. Log that a failure was expected and, as such, is OK. You can optionally add an additional details description that follows the message.Supporting Engines:
message
- Optional:NO
The message to log.details
- Optional:YES
Additional detail to add to the message.public static DriverCommand logFailureOK(java.lang.String[] parameters)
Log an EXPECTED failure message. Log that a failure was expected and, as such, is OK. You can optionally add an additional details description that follows the message.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public static DriverCommand logMessage(java.lang.String message, java.lang.String details)
Log a generic message Log a generic message. You can optionally add an additional details description that follows the message.Supporting Engines:
message
- Optional:NO
The message to log.details
- Optional:YES
Additional detail to add to the message.public static DriverCommand logMessage(java.lang.String[] parameters)
Log a generic message Log a generic message. You can optionally add an additional details description that follows the message.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public static DriverCommand logTestFailure(java.lang.String message, java.lang.String details)
Log a FAILURE message. Also increments appropriate counters. Log a FAILURE message. Also increments appropriate counters. You can optionally add an additional details description that follows the message.Supporting Engines:
message
- Optional:NO
The message to log.details
- Optional:YES
Additional detail to add to the message.public static DriverCommand logTestFailure(java.lang.String[] parameters)
Log a FAILURE message. Also increments appropriate counters. Log a FAILURE message. Also increments appropriate counters. You can optionally add an additional details description that follows the message.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public static DriverCommand logTestSuccess(java.lang.String message, java.lang.String details)
Log a SUCCESS/OK message. Also increments appropriate counters. Log a SUCCESS/OK message. Also increments appropriate counters. You can optionally add an additional details description that follows the message.Supporting Engines:
message
- Optional:NO
The message to log.details
- Optional:YES
Additional detail to add to the message.public static DriverCommand logTestSuccess(java.lang.String[] parameters)
Log a SUCCESS/OK message. Also increments appropriate counters. Log a SUCCESS/OK message. Also increments appropriate counters. You can optionally add an additional details description that follows the message.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public static DriverCommand logTestWarning(java.lang.String message, java.lang.String details)
Log a WARNING message. Also increments appropriate counters. Log a WARNING message. Also increments appropriate counters. You can optionally add an additional details description that follows the message.Supporting Engines:
message
- Optional:NO
The message to log.details
- Optional:YES
Additional detail to add to the message.public static DriverCommand logTestWarning(java.lang.String[] parameters)
Log a WARNING message. Also increments appropriate counters. Log a WARNING message. Also increments appropriate counters. You can optionally add an additional details description that follows the message.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public static DriverCommand logWarningOK(java.lang.String message, java.lang.String details)
Log an EXPECTED WARNING message. Log that a WARNING was expected and, as such, is OK. You can optionally add an additional details description that follows the message.Supporting Engines:
message
- Optional:NO
The message to log.details
- Optional:YES
Additional detail to add to the message.public static DriverCommand logWarningOK(java.lang.String[] parameters)
Log an EXPECTED WARNING message. Log that a WARNING was expected and, as such, is OK. You can optionally add an additional details description that follows the message.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public static DriverCommand resumeLogging(java.lang.String logName)
Resume suspended logging.Supporting Engines:
logName
- Optional:YES DefaultVal:
The name of a Log Facility, other than the "current" one, to resume.public static DriverCommand suspendLogging(java.lang.String logName)
Suspend all logging.Supporting Engines:
logName
- Optional:YES DefaultVal:
The name of a Log Facility if other than the "current" one.Copyright © SAS Institute. All Rights Reserved.