|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITestInfo
The ITestInfo interface provides information about the test that is currently executing.
ITestInfo is implemented by the object stored in the TestDataArea
DataArea
under the key TestInfo
. This object is accessed from ICustomCode2
by calling
ITestExecutionServices
.findDataArea(IDataArea
.TEST).get(ITestInfo.KEY)
IDataArea
,
ITestExecutionServices
Field Summary | |
---|---|
static String |
KEY
Key for the ITestInfo object in the test's DataArea, |
Method Summary | |
---|---|
String |
getName()
Returns the name of the current test. |
int |
getPDLogLevel()
Returns the Problem Determination Log level that is effective for the current test. |
int |
getTestLogLevel()
Returns the TestLog level that is effective for all events for the current test. |
int |
getTestLogLevel(int filter)
Returns the TestLog level for the given filter that is effective for the current test. |
int |
popPDLogLevel()
Pops the Problem Determination Log level stack. |
int |
popTestLogLevel()
Pops the stack for the TestLog level for all events. |
int |
popTestLogLevel(int filter)
Pops the stack for the TestLog level for the given filter. |
void |
pushPDLogLevel(int level)
Pushes the given Problem Determination Log level onto the test's stack. |
void |
pushTestLogLevel(int level)
Pushes the given TestLog level for all events onto the test's stack. |
void |
pushTestLogLevel(int level,
int filter)
Pushes the given TestLog level for the given filter onto the test's stack. |
int |
setPDLogLevel(int level)
Sets the Problem Determination Log level for the remainder of the current test to the given level. |
int |
setTestLogLevel(int level)
Sets the TestLog level for all events for the remainder of the current test to the given level. |
int |
setTestLogLevel(int level,
int filter)
Sets the TestLog level for the given filter for the remainder of the current test to the given level. |
Field Detail |
---|
static final String KEY
Method Detail |
---|
String getName()
int getPDLogLevel()
int setPDLogLevel(int level)
The Problem Determination Log level is kept on a stack for the test. Setting the level is equivalent to popping the stack (if it is not empty) and pushing the new level.
level
- The new Problem Determination Log level.
ITestInfo.pushPDLogLevel(int)
,
ITestInfo.popPDLogLevel()
void pushPDLogLevel(int level)
This changes the effective Problem Determination Log level for the remainder of the test.
level
- The new Problem Determination Log level.ITestInfo.popPDLogLevel()
int popPDLogLevel()
This restores the effective Problem Determination Log level to its value before the last push.
ITestInfo.pushPDLogLevel(int)
int getTestLogLevel()
int getTestLogLevel(int filter)
filter
- The filter specifying the TestLog level to get.
int setTestLogLevel(int level)
The TestLog level is kept on a stack for the test. Setting the level is equivalent to popping the stack (if it is not empty) and pushing the new level.
level
- The new TestLog level.
ITestInfo.pushTestLogLevel(int)
,
ITestInfo.popTestLogLevel(int)
int setTestLogLevel(int level, int filter)
The TestLog level is kept on a stack for the test. Setting the level is equivalent to popping the stack (if it is not empty) and pushing the new level.
level
- The new TestLog level.filter
- The filter specifying the TestLog level to set.
ITestInfo.pushTestLogLevel(int)
,
ITestInfo.popTestLogLevel(int)
void pushTestLogLevel(int level)
This changes the effective TestLog level for the remainder of the test.,/p>
level
- The new TestLog level.ITestInfo.popTestLogLevel()
void pushTestLogLevel(int level, int filter)
This changes the effective TestLog level for the remainder of the test.,/p>
level
- The new TestLog level.filter
- The filter specifying the TestLog level to push.ITestInfo.popTestLogLevel()
int popTestLogLevel()
This restores the effective TestLog level to its value before the last push.
ITestInfo.pushTestLogLevel(int)
int popTestLogLevel(int filter)
This restores the effective TestLog level to its value before the last push.
filter
- The filter specifying the TestLog level to pop.
ITestInfo.pushTestLogLevel(int)
|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |