IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.vp
Interface ITestDataText

All Superinterfaces:
ITestData

public interface ITestDataText
extends ITestData

Represents the necessary methods for supporting a text-type verification point.

Since:
RFT1.0

Field Summary
static int IGNORE_ALL_SPACES
          White-space mode setting for ignoring all whitespace characters.
static int IGNORE_INTERNAL_SPACES
          White-space mode setting for ignoring the nested whitespace characters only.
static int IGNORE_LEADING_AND_TRAILING_SPACES
          White-space mode setting for ignoring leading and trailing whitespace characters.
static int IGNORE_LEADING_SPACES
          White-space mode setting for ignoring leading whitespace characters.
static int IGNORE_NONE
          Default white-space mode setting, which matches all characters without ignoring any white-space characters.
static int IGNORE_TRAILING_SPACES
          White-space mode setting for ignoring trailing whitespace characters.
 
Method Summary
 boolean getIgnoreCase()
          Returns the ignoreCase property associated with this verification point.
 java.lang.String getText()
          Accesses the Text associated with this verification point.
 int getWhiteSpaceMode()
          Sets the text-data comparison model for the associated data.
 void setIgnoreCase(boolean ignoreCase)
          Sets the case-sensitivity property associated with this verification point.
 void setText(java.lang.String text)
          Sets the Text associated with this verification point.
 void setWhiteSpaceMode(int mode)
          Returns the associated whiteSpaceMode proeprty.
 
Methods inherited from interface com.rational.test.ft.vp.ITestData
getData, getDataType, getDescription, getName, getProperty, getPropertyKeys, getType, setData, setDataType, setDescription, setName, setProperty, setType
 

Field Detail

IGNORE_NONE

static final int IGNORE_NONE
Default white-space mode setting, which matches all characters without ignoring any white-space characters.

Since:
RFT1.0
See Also:
setWhiteSpaceMode(int), getWhiteSpaceMode(), Constant Field Values

IGNORE_LEADING_SPACES

static final int IGNORE_LEADING_SPACES
White-space mode setting for ignoring leading whitespace characters.

Since:
RFT1.0
See Also:
setWhiteSpaceMode(int), getWhiteSpaceMode(), Constant Field Values

IGNORE_TRAILING_SPACES

static final int IGNORE_TRAILING_SPACES
White-space mode setting for ignoring trailing whitespace characters.

Since:
RFT1.0
See Also:
setWhiteSpaceMode(int), getWhiteSpaceMode(), Constant Field Values

IGNORE_LEADING_AND_TRAILING_SPACES

static final int IGNORE_LEADING_AND_TRAILING_SPACES
White-space mode setting for ignoring leading and trailing whitespace characters.

Since:
RFT1.0
See Also:
setWhiteSpaceMode(int), getWhiteSpaceMode(), Constant Field Values

IGNORE_INTERNAL_SPACES

static final int IGNORE_INTERNAL_SPACES
White-space mode setting for ignoring the nested whitespace characters only.

Since:
RFT1.0
See Also:
setWhiteSpaceMode(int), getWhiteSpaceMode(), Constant Field Values

IGNORE_ALL_SPACES

static final int IGNORE_ALL_SPACES
White-space mode setting for ignoring all whitespace characters.

Since:
RFT1.0
See Also:
setWhiteSpaceMode(int), getWhiteSpaceMode(), Constant Field Values
Method Detail

getText

java.lang.String getText()
Accesses the Text associated with this verification point.

Since:
RFT1.0

setText

void setText(java.lang.String text)
Sets the Text associated with this verification point.

Parameters:
text - The Text associated with this verification point
Since:
RFT1.0

getIgnoreCase

boolean getIgnoreCase()
Returns the ignoreCase property associated with this verification point. If set to true, case-insensitive comparisons are performed against this data.

Since:
RFT1.0
See Also:
setIgnoreCase(boolean)

setIgnoreCase

void setIgnoreCase(boolean ignoreCase)
Sets the case-sensitivity property associated with this verification point. If set to true, case-insensitive comparisons are performed against this text.

Parameters:
ignoreCase - New setting for the case-sensitivity property
Since:
RFT1.0
See Also:
getIgnoreCase()

getWhiteSpaceMode

int getWhiteSpaceMode()
Sets the text-data comparison model for the associated data.

Parameters:
mode - One of the IGNORE_* literals
Since:
RFT1.0
See Also:
setWhiteSpaceMode(int), IGNORE_NONE, IGNORE_LEADING_SPACES, IGNORE_TRAILING_SPACES, IGNORE_LEADING_AND_TRAILING_SPACES, IGNORE_INTERNAL_SPACES, IGNORE_ALL_SPACES

setWhiteSpaceMode

void setWhiteSpaceMode(int mode)
Returns the associated whiteSpaceMode proeprty.

Since:
RFT1.0
See Also:
getWhiteSpaceMode(), IGNORE_NONE, IGNORE_LEADING_SPACES, IGNORE_TRAILING_SPACES, IGNORE_LEADING_AND_TRAILING_SPACES, IGNORE_INTERNAL_SPACES, IGNORE_ALL_SPACES