|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectProfileAbstractTestCase
org.eclipse.soda.dk.rfid.write.profile.test.agent.RfidWriteProfileAbstractTestCase
public class RfidWriteProfileAbstractTestCase
| Field Summary | |
|---|---|
protected static java.lang.String |
AND_EXPRESSION
( String) use to define the AND expression |
protected static long |
BIT_1
( long) use to define the bit1 constant |
protected static long |
BIT_2
( long) use to define the bit2 constant |
protected static long |
BIT_32
( long) use to define the bit32 constant |
protected java.lang.String |
controlProfileServiceBitsExternalKey
Define control profile service bits external key. |
protected java.lang.String |
controlProfileServiceLongsExternalKey
Define control profile service longs external key. |
protected static int |
DEFAULT_KILL_TIME_DURATION
( int) use to store the default kill time duration |
protected static int |
DEFAULT_TIME_OUT_DURATION
( int) use to store the default time out duration |
protected int |
epc_bit_size
( int) use to store the tags epc bit size |
protected java.lang.String |
gpioProfileServiceAnalogInputExternalKey
Define gpio profile service analog input external key. |
protected java.lang.String |
gpioProfileServiceInputExternalKey
Define gpio profile service input external key. |
protected java.lang.String |
initialReadOperationId
( String) use to store the initial read operation ID |
protected static java.lang.String |
OR_EXPRESSION
( String) use to define the OR expression |
protected java.util.Set |
originalTagInfo
( Set) use to store the data found in the tags |
protected java.lang.String |
readerIdProperty
( String) use to store the reader ID property |
protected java.lang.String |
readOperationId
( String) use to store the read operation ID |
protected java.lang.String |
readString
( String) use to store the format of a read string |
protected java.lang.String |
rfidWriteProfileServiceAntennaConfigurationExternalKey
Define rfid write profile service antenna configuration external key. |
protected java.lang.String |
rfidWriteProfileServiceCapabilitiesExternalKey
Define rfid write profile service capabilities external key. |
protected java.lang.String |
rfidWriteProfileServiceConfigurationExternalKey
Define rfid write profile service configuration external key. |
protected java.lang.String |
rfidWriteProfileServiceDataWriteExtensionsExternalKey
Define rfid write profile service data write extensions external key. |
protected java.lang.String |
rfidWriteProfileServiceStatusExternalKey
Define rfid write profile service status external key. |
protected java.lang.String |
rfidWriteProfileServiceTagAggregationWriteMaskSettingExternalKey
Define rfid write profile service tag aggregation write mask setting external key. |
protected java.lang.String |
rfidWriteProfileServiceTagWriteAggregatingExpressionExternalKey
Define rfid write profile service tag write aggregating expression external key. |
protected java.lang.String |
rfidWriteProfileServiceTagWriteAggregatingExternalKey
Define rfid write profile service tag write aggregating external key. |
protected java.lang.String |
rfidWriteProfileServiceTagWriteAggregationReportExternalKey
Define rfid write profile service tag write aggregation report external key. |
protected java.lang.String |
rfidWriteProfileServiceTagWriteAntennaReportingExternalKey
Define rfid write profile service tag write antenna reporting external key. |
protected java.lang.String |
rfidWriteProfileServiceTagWriteMaskSettingExternalKey
Define rfid write profile service tag write mask setting external key. |
protected java.lang.String |
rfidWriteProfileServiceTagWriteReportExternalKey
Define rfid write profile service tag write report external key. |
protected java.lang.String |
rfidWriteProfileServiceWriteOperationsExecuteRequestExternalKey
Define rfid write profile service write operations execute request external key. |
protected java.lang.String |
rfidWriteProfileServiceWriteOperationsExecuteStatusExternalKey
Define rfid write profile service write operations execute status external key. |
protected java.lang.String |
rfidWriteProfileServiceWriteOperationsExpressionExternalKey
Define rfid write profile service write operations expression external key. |
protected java.lang.String |
rfidWriteProfileServiceWriteOperationsExternalKey
Define rfid write profile service write operations external key. |
protected java.lang.String |
rfidWriteProfileServiceWriteOperationsStopRequestExternalKey
Define rfid write profile service write operations stop request external key. |
protected java.lang.String |
tagEpc
( String) use to store the epc's that will be written |
protected java.util.Set |
tagEpcSet
( Set) use to store the Epc's that will be written to tags |
protected java.lang.String |
tagWriteData
( String) use to store the write data |
protected java.lang.String |
tagWriteString
( String) use to store the format of a write string |
protected int |
testState
( int) use to store the current test state |
protected int |
timeOutDurationProperty
( int) use to store the time out duration property |
protected java.util.Set |
writeDataSet
( Set) use to store the write data that will be written to tags |
protected java.lang.String |
writeOperationId
( String) use to store the write operation ID |
protected int |
writeOperationKillTime
( int) use to store the write operation kill time |
| Fields inherited from interface org.eclipse.soda.dk.rfid.write.profile.test.agent.WriteProfileStringGeneratorConstants |
|---|
BIT_POINTER, BIT_POINTER_HOLDER, COUNT_HOLDER, DEFAULT_EPC_SIZE, EPC_64, EPC_64_TAG_MASK, EPC_64_WORD_COUNT, EPC_96, EPC_96_TAG_MASK, EPC_96_WORD_COUNT, EPC_BIT_POINTER, EPC_MEMORYBANK, EPC_WORD_POINTER, epcState, EXPECTED_DATA_HOLDER, FILTER_HOLDER, MEMORY_BANK_HOLDER, OP_COUNT, PASSWORD, PASSWORD_HOLDER, TAG_DATA, TAG_DATA_HOLDER, TAG_MASK, TAG_MASK_HOLDER, TAG_OPERATION_ID_HOLDER, TIME_OUT_HOLDER, USER_MEMORYBANK, USER_TAG_MASK, USER_WORD_COUNT, USER_WORD_POINTER, userDataState, WORD_COUNT_HOLDER, WORD_POINTER_HOLDER, WRITE_DATA_HOLDER |
| Constructor Summary | |
|---|---|
RfidWriteProfileAbstractTestCase(java.lang.String name)
Constructs a new instance of the RfidWriteProfileAbstractTestCase class. |
|
| Method Summary | |
|---|---|
static java.lang.String |
byteArray2Str(byte[] bytes)
Byte array2 str with the specified bytes parameter and return the String result. |
protected void |
checkSetWrite(java.lang.String writeString)
Used to verify that there is no write operation being executed before trying to start another, and that the write operation has completed before moving on. |
protected int |
countTagAggregationReports()
Counts the number of aggregation reports received. |
protected java.lang.String |
generateReadString(java.lang.String opId)
Generates a read string depending on the state of the tests (userdata or epc) and on the bit size of the tags. |
protected java.lang.String |
generateWriteString(java.util.Set expectedData)
Generates a write string depending on the state of the tests (userdate or epc) and on the bit size of the tags. |
protected java.util.ArrayList |
getAllTagAggregationReports()
Gets the all tag aggregation reports (ArrayList) value. |
protected java.util.ArrayList |
getAllTagReports()
Returns all the tag reports. |
protected java.util.Map |
GetAntennaConfiguration()
Get antenna configuration. |
protected java.util.Map |
getBitsData(long bits)
Get bits data with the specified bits parameter and return the Map result. |
protected java.util.Map |
GetDataWriteExtensions()
Get data write extensions. |
protected java.util.Map |
getInputsData(long bits)
Get inputs data with the specified bits parameter and return the Map result. |
protected void |
getKeysAndSettingsFromProperties()
Get keys and settings from the properties |
protected java.util.Map |
getLongsData(long bits)
Get longs data with the specified bits parameter and return the Map result. |
protected java.util.Dictionary |
GetRfidWriteProfileCapabilities()
Get rfid write profile capabilities. |
protected java.util.Dictionary |
GetRfidWriteProfileConfiguration()
Get rfid write profile configuration. |
protected java.util.Dictionary |
GetRfidWriteProfileStatus()
Get rfid write profile status. |
protected java.lang.String |
GetTagAggregationWriteMaskSetting()
Get tag aggregation write mask setting. |
protected java.util.List |
getTagsFromTagAggregationReports(java.util.Map expectedDataExtensions)
Get tags from tag aggregation reports with the specified expected data extensions parameter and return the List result. |
protected java.util.List |
getTagsFromTagReports(java.util.Map expectedDataExtensions,
java.lang.String operationId)
Returns the tags obtained from the tag reports |
protected java.lang.Boolean |
GetTagWriteAggregating()
Get tag write aggregating. |
protected java.lang.String |
GetTagWriteAggregatingExpression()
Get tag write aggregating expression. |
protected java.lang.Boolean |
GetTagWriteAntennaReporting()
Get tag write antenna reporting. |
protected java.lang.String |
GetTagWriteMaskSetting()
Get tag write mask setting. |
protected java.lang.String |
GetWriteOperations()
Get write operations. |
protected java.lang.Boolean |
GetWriteOperationsExecuteStatus()
Get write operations execute status. |
protected java.lang.String |
GetWriteOperationsExpression()
Get write operations expression. |
void |
initialReadTagDataAndCompare(java.util.Set expectedData,
java.util.Map expectedDataExtensions,
boolean noDuplicatesAllowed)
Verifies that the expected data and the data found in the tags before tests is not the same. |
protected void |
readAndVerifyTags(java.util.Set expectedData,
java.util.Map expectedDataExtensions,
boolean noDuplicatesAllowed)
Reads and verifies that the expected data is equal to that which was written. |
protected java.util.Map |
ReadAntennaConfiguration()
Read antenna configuration. |
protected java.util.Map |
ReadDataWriteExtensions()
Read data write extensions. |
protected java.lang.String |
ReadTagAggregationWriteMaskSetting()
Read tag aggregation write mask setting. |
protected java.lang.Boolean |
ReadTagWriteAggregating()
Read tag write aggregating. |
protected java.lang.String |
ReadTagWriteAggregatingExpression()
Read tag write aggregating expression. |
protected java.lang.Boolean |
ReadTagWriteAntennaReporting()
Read tag write antenna reporting. |
protected java.lang.String |
ReadTagWriteMaskSetting()
Read tag write mask setting. |
protected java.lang.String |
ReadWriteOperations()
Read write operations. |
protected java.lang.Boolean |
ReadWriteOperationsExecuteStatus()
Read write operations execute status. |
protected java.lang.String |
ReadWriteOperationsExpression()
Read write operations expression. |
java.lang.String |
replace(java.lang.String temp,
java.lang.String r1,
java.lang.String r2)
Use to replace two strings within a string. |
protected void |
ReportAnalogInput(java.util.Map dataValue)
Report analog input. |
protected void |
ReportBits(java.util.Map dataValue)
Report bits. |
protected void |
ReportInput(java.util.Map dataValue)
Report input. |
protected void |
ReportLongs(java.util.Map dataValue)
Report longs. |
protected java.lang.String |
setReadString(java.lang.String memoryBank,
java.lang.String bitPointer,
java.lang.String tagMask,
java.lang.String tagData,
java.lang.String wordPointer,
java.lang.String wordCount,
java.lang.String password,
java.lang.String operationCount,
java.lang.String timeOut,
java.lang.String operationId)
Uses the format of a read string to generate a write string with the parameters given. |
protected java.lang.String |
setWriteString(java.lang.String filterHolder,
java.lang.String memoryBank,
java.lang.String bitPointer,
java.lang.String tagMask,
java.lang.String tagData,
java.lang.String wordPointer,
java.lang.String password,
java.lang.String operationCount,
java.lang.String timeOut,
java.lang.String operationId,
java.lang.String writeData)
Uses the format of a write string to generate a write string with the parameters given. |
void |
tagComparison(java.util.List receivedTags,
java.util.List expectedData)
Compares the expected data and the received tags data. |
protected void |
tearDown()
Tear down. |
void |
verifyAggregationReceived(java.util.Set expectedData,
java.util.Map expectedDataExtensions,
boolean noDuplicatesAllowed)
Verify aggregation received with the specified expected tags, expected data extensions and no duplicates allowed parameters. |
void |
verifyExpectedTags(java.util.Set expectedData,
java.util.Map expectedDataExtensions,
boolean noDuplicatesAllowed,
java.lang.String operationId)
Verifies that the tag data and the expected data match. |
protected void |
verifyNoAggregationReceived()
Verify that no aggregation was received. |
void |
verifyTagAggregationExpression(java.util.Set expectedData)
Verify tag writing expression with the specified expected data parameter. |
protected java.util.List |
verifyTagReadsForTagReports(java.util.ArrayList tagReports,
java.util.Map expectedDataExtensions,
java.lang.String operationId)
Verifies that the tags read information is correct. |
protected void |
verifyTagWriteData(java.util.Set expectedData)
Verifies that the expected data is not already contained in the tags. |
protected void |
verifyTagWriteData(java.util.Set expectedData,
java.util.Map expectedDataExtensions)
Verifies that the expected data is not already contained in the tags. |
protected void |
verifyTagWritingAndAggregating(java.util.Set expectedData,
java.util.Map expectedDataExtensions)
Verify tag writing and aggregation with the specified expected data and expected data extensions parameters. |
void |
verifyTagWritingAndAggregation(java.util.Set expectedData)
Verify tag reading and aggregation with the specified expected data parameter. |
void |
verifyTagWritingExpression(java.util.Set expectedData)
Verify tag writing expression with the specified expected data parameter. |
protected int |
waitForTagAggregationReports(int expectedCount,
int duration)
Wait for tag aggregation reports with the specified expected count and duration parameters and return the int result. |
protected int |
waitForTagReports(int expectedCount,
int duration)
Wait for tag reports with the specified expected count and duration parameters and return the int result. |
protected void |
waitSig()
Used to allow for the WriteWriteOperations method to finish executing. |
protected void |
WriteAntennaConfiguration(java.util.Map dataValue)
Write antenna configuration. |
protected void |
WriteDataWriteExtensions(java.util.Map dataValue)
Write data write extensions. |
protected void |
WriteTagAggregationWriteMaskSetting(java.lang.String dataValue)
Write tag aggregation write mask setting. |
protected void |
writeTagStartOperation(java.lang.String dataValue)
Executes the command to start the write operation. |
protected void |
writeTagStopWriting(java.lang.String dataValue)
Executes the command to stop the write operation. |
protected void |
WriteTagWriteAggregating(java.lang.Boolean dataValue)
Write tag write aggregating. |
protected void |
WriteTagWriteAggregatingExpression(java.lang.String dataValue)
Write tag write aggregating expression. |
protected void |
WriteTagWriteAntennaReporting(java.lang.Boolean dataValue)
Write tag write antenna reporting. |
protected void |
WriteTagWriteMaskSetting(java.lang.String dataValue)
Write tag write mask setting. |
protected void |
WriteWriteOperations(java.lang.String dataValue)
Write write operations. |
protected void |
WriteWriteOperationsExecuteStatus(java.lang.Boolean dataValue)
Write write operations execute status. |
protected void |
WriteWriteOperationsExpression(java.lang.String dataValue)
Write write operations expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int DEFAULT_TIME_OUT_DURATION
int) use to store the default time out duration
protected static final int DEFAULT_KILL_TIME_DURATION
int) use to store the default kill time duration
protected static final java.lang.String AND_EXPRESSION
String) use to define the AND expression
protected static final java.lang.String OR_EXPRESSION
String) use to define the OR expression
protected static final long BIT_1
long) use to define the bit1 constant
protected static final long BIT_2
long) use to define the bit2 constant
protected static final long BIT_32
long) use to define the bit32 constant
protected java.util.Set originalTagInfo
Set) use to store the data found in the tags
protected java.util.Set writeDataSet
Set) use to store the write data that will be written to tags
protected java.util.Set tagEpcSet
Set) use to store the Epc's that will be written to tags
protected java.lang.String writeOperationId
String) use to store the write operation ID
protected java.lang.String readOperationId
String) use to store the read operation ID
protected java.lang.String initialReadOperationId
String) use to store the initial read operation ID
protected java.lang.String tagEpc
String) use to store the epc's that will be written
protected java.lang.String tagWriteString
String) use to store the format of a write string
protected java.lang.String readString
String) use to store the format of a read string
protected java.lang.String readerIdProperty
String) use to store the reader ID property
protected java.lang.String tagWriteData
String) use to store the write data
protected int epc_bit_size
int) use to store the tags epc bit size
protected int testState
int) use to store the current test state
protected int timeOutDurationProperty
int) use to store the time out duration property
protected int writeOperationKillTime
int) use to store the write operation kill time
protected java.lang.String controlProfileServiceBitsExternalKey
protected java.lang.String controlProfileServiceLongsExternalKey
protected java.lang.String gpioProfileServiceAnalogInputExternalKey
protected java.lang.String gpioProfileServiceInputExternalKey
protected java.lang.String rfidWriteProfileServiceAntennaConfigurationExternalKey
protected java.lang.String rfidWriteProfileServiceCapabilitiesExternalKey
protected java.lang.String rfidWriteProfileServiceConfigurationExternalKey
protected java.lang.String rfidWriteProfileServiceDataWriteExtensionsExternalKey
protected java.lang.String rfidWriteProfileServiceStatusExternalKey
protected java.lang.String rfidWriteProfileServiceTagAggregationWriteMaskSettingExternalKey
protected java.lang.String rfidWriteProfileServiceTagWriteAggregatingExpressionExternalKey
protected java.lang.String rfidWriteProfileServiceTagWriteAggregatingExternalKey
protected java.lang.String rfidWriteProfileServiceTagWriteAggregationReportExternalKey
protected java.lang.String rfidWriteProfileServiceTagWriteAntennaReportingExternalKey
protected java.lang.String rfidWriteProfileServiceTagWriteMaskSettingExternalKey
protected java.lang.String rfidWriteProfileServiceTagWriteReportExternalKey
protected java.lang.String rfidWriteProfileServiceWriteOperationsExecuteRequestExternalKey
protected java.lang.String rfidWriteProfileServiceWriteOperationsExecuteStatusExternalKey
protected java.lang.String rfidWriteProfileServiceWriteOperationsExpressionExternalKey
protected java.lang.String rfidWriteProfileServiceWriteOperationsExternalKey
protected java.lang.String rfidWriteProfileServiceWriteOperationsStopRequestExternalKey
| Constructor Detail |
|---|
public RfidWriteProfileAbstractTestCase(java.lang.String name)
name - name.| Method Detail |
|---|
public static java.lang.String byteArray2Str(byte[] bytes)
bytes - The bytes (byte[]) parameter.
String) value.
protected java.util.Map GetAntennaConfiguration()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.util.Map GetDataWriteExtensions()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.util.Dictionary GetRfidWriteProfileCapabilities()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.util.Dictionary GetRfidWriteProfileConfiguration()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.util.Dictionary GetRfidWriteProfileStatus()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.String GetTagAggregationWriteMaskSetting()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.Boolean GetTagWriteAggregating()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.String GetTagWriteAggregatingExpression()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.Boolean GetTagWriteAntennaReporting()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.String GetTagWriteMaskSetting()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.String GetWriteOperations()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.Boolean GetWriteOperationsExecuteStatus()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.String GetWriteOperationsExpression()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.util.Map ReadAntennaConfiguration()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.util.Map ReadDataWriteExtensions()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.String ReadTagAggregationWriteMaskSetting()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.Boolean ReadTagWriteAggregating()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.String ReadTagWriteAggregatingExpression()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.Boolean ReadTagWriteAntennaReporting()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.String ReadTagWriteMaskSetting()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.String ReadWriteOperations()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.Boolean ReadWriteOperationsExecuteStatus()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.
protected java.lang.String ReadWriteOperationsExpression()
throws java.lang.InterruptedException
java.lang.InterruptedException - interrupted exception.protected void ReportAnalogInput(java.util.Map dataValue)
dataValue - data value.protected void ReportBits(java.util.Map dataValue)
dataValue - data value.protected void ReportInput(java.util.Map dataValue)
dataValue - data value.protected void ReportLongs(java.util.Map dataValue)
dataValue - data value.
protected void WriteAntennaConfiguration(java.util.Map dataValue)
throws java.lang.InterruptedException
dataValue - data value.
java.lang.InterruptedException - interrupted exception.
protected void WriteDataWriteExtensions(java.util.Map dataValue)
throws java.lang.InterruptedException
dataValue - data value.
java.lang.InterruptedException - interrupted exception.
protected void WriteTagAggregationWriteMaskSetting(java.lang.String dataValue)
throws java.lang.InterruptedException
dataValue - data value.
java.lang.InterruptedException - interrupted exception.
protected void WriteTagWriteAggregating(java.lang.Boolean dataValue)
throws java.lang.InterruptedException
dataValue - data value.
java.lang.InterruptedException - interrupted exception.
protected void WriteTagWriteAggregatingExpression(java.lang.String dataValue)
throws java.lang.InterruptedException
dataValue - data value.
java.lang.InterruptedException - interrupted exception.
protected void WriteTagWriteAntennaReporting(java.lang.Boolean dataValue)
throws java.lang.InterruptedException
dataValue - data value.
java.lang.InterruptedException - interrupted exception.
protected void WriteTagWriteMaskSetting(java.lang.String dataValue)
throws java.lang.InterruptedException
dataValue - data value.
java.lang.InterruptedException - interrupted exception.
protected void WriteWriteOperations(java.lang.String dataValue)
throws java.lang.InterruptedException
dataValue - data value.
java.lang.InterruptedException - interrupted exception.
protected void WriteWriteOperationsExecuteStatus(java.lang.Boolean dataValue)
throws java.lang.InterruptedException
dataValue - data value.
java.lang.InterruptedException - interrupted exception.
protected void WriteWriteOperationsExpression(java.lang.String dataValue)
throws java.lang.InterruptedException
dataValue - data value.
java.lang.InterruptedException - interrupted exception.
protected void checkSetWrite(java.lang.String writeString)
throws java.lang.InterruptedException
writeString - The write string (String) parameter.
java.lang.InterruptedException - Interrupted Exceptionprotected int countTagAggregationReports()
int) number of aggregation reports received.getAllTagAggregationReports(),
getTagsFromTagAggregationReports(Map),
waitForTagAggregationReports(int,int)protected java.lang.String generateReadString(java.lang.String opId)
opId - The operation ID (String) parameter.
String) for a write operation to use.setReadString(String,String,String,String,String,String,String,String,String,String)protected java.lang.String generateWriteString(java.util.Set expectedData)
expectedData - The expected data (Set) paramter.
String) for a write operation to use.setWriteString(String,String,String,String,String,String,String,String,String,String,String)protected java.util.ArrayList getAllTagAggregationReports()
ArrayList) value.protected java.util.ArrayList getAllTagReports()
ArrayList) contains all reports.protected java.util.Map getBitsData(long bits)
bits - The bits (long) parameter.
Map) value.protected java.util.Map getInputsData(long bits)
bits - The bits (long) parameter.
Map) value.protected void getKeysAndSettingsFromProperties()
protected java.util.Map getLongsData(long bits)
bits - The bits (long) parameter.
Map) value.protected java.util.List getTagsFromTagAggregationReports(java.util.Map expectedDataExtensions)
expectedDataExtensions - The expected data extensions (Map) parameter.
List) value.
protected java.util.List getTagsFromTagReports(java.util.Map expectedDataExtensions,
java.lang.String operationId)
expectedDataExtensions - The expected data extensions (Set) parameter.operationId - The expected operation ID (String) parameter.
List) contains all tags received.
public void initialReadTagDataAndCompare(java.util.Set expectedData,
java.util.Map expectedDataExtensions,
boolean noDuplicatesAllowed)
expectedData - The expected data (Set) parameter.expectedDataExtensions - The expected data extensions (Map) parameter.noDuplicatesAllowed - The no duplicates allowed (boolean) parameter.
protected void readAndVerifyTags(java.util.Set expectedData,
java.util.Map expectedDataExtensions,
boolean noDuplicatesAllowed)
throws java.lang.InterruptedException
expectedData - The expected data (Set) parameter.expectedDataExtensions - The expected data extensions (Map) parameter.noDuplicatesAllowed - The no duplicates (boolean parameter.
java.lang.InterruptedException
public java.lang.String replace(java.lang.String temp,
java.lang.String r1,
java.lang.String r2)
temp - The (String) that contains the (String) that will be replace.r1 - The (String) that will be replace.r2 - The (String) that will be replace r1.
String) that has had the two (String) swapped.
protected java.lang.String setReadString(java.lang.String memoryBank,
java.lang.String bitPointer,
java.lang.String tagMask,
java.lang.String tagData,
java.lang.String wordPointer,
java.lang.String wordCount,
java.lang.String password,
java.lang.String operationCount,
java.lang.String timeOut,
java.lang.String operationId)
memoryBank - The memory bank (String) parameter.bitPointer - The bit pointer (String) parameter.tagMask - The tag mask (String) parameter.tagData - The tag data (String) parameter.wordPointer - The word pointer (String) parameter.wordCount - The word count (String) parameter.password - The password (String) parameter.operationCount - The operation count (String) parameter.timeOut - The time out (String) parameter.operationId - The operation ID (String) parameter.
String) value.generateReadString(String)
protected java.lang.String setWriteString(java.lang.String filterHolder,
java.lang.String memoryBank,
java.lang.String bitPointer,
java.lang.String tagMask,
java.lang.String tagData,
java.lang.String wordPointer,
java.lang.String password,
java.lang.String operationCount,
java.lang.String timeOut,
java.lang.String operationId,
java.lang.String writeData)
filterHolder - The filter holder (String) parameter.memoryBank - The memory bank (String) parameter.bitPointer - The bit pointer (String) parameter.tagMask - The tag mask (String) parameter.tagData - The tag data (String) parameter.wordPointer - The word pointer (String) parameter.password - The password (String) parameter.operationCount - The operation count (String) parameter.timeOut - The time out (String) parameter.operationId - The operation ID (String) parameter.writeData - The write data (String) parameter.
String) value.generateWriteString(Set)
public void tagComparison(java.util.List receivedTags,
java.util.List expectedData)
receivedTags - The received tags (List) parameter.expectedData - The expected data (List) parameter.
protected void tearDown()
throws java.lang.Exception
java.lang.Exception - Exception.
public void verifyAggregationReceived(java.util.Set expectedData,
java.util.Map expectedDataExtensions,
boolean noDuplicatesAllowed)
throws java.lang.InterruptedException
expectedData - The expected tags(Set) parameter.expectedDataExtensions - The expected data extensions (Map) parameter.noDuplicatesAllowed - The no duplicates allowed (boolean) parameter
java.lang.InterruptedException - Interrupted Exception.verifyNoAggregationReceived()
public void verifyExpectedTags(java.util.Set expectedData,
java.util.Map expectedDataExtensions,
boolean noDuplicatesAllowed,
java.lang.String operationId)
throws java.lang.InterruptedException
expectedData - The expected data (Set) parameter.expectedDataExtensions - The expected data extensions (Map) parameter.noDuplicatesAllowed - The no duplicates allowed (boolean) parameter.operationId - The operation ID (String) parameter.
java.lang.InterruptedException - Intterupted Exceptionprotected void verifyNoAggregationReceived()
public void verifyTagAggregationExpression(java.util.Set expectedData)
throws java.lang.InterruptedException
expectedData - The expected (SetThrows:
java.lang.InterruptedException - Interrupted Exception
protected java.util.List verifyTagReadsForTagReports(java.util.ArrayList tagReports,
java.util.Map expectedDataExtensions,
java.lang.String operationId)
tagReports - The tag reports (ArrayList) parameter.expectedDataExtensions - The expected data extensions (Map) parameter.operationId - The operation ID (String) parameter.
List) contains all data found in the READDATA_KEY (Key)
protected void verifyTagWriteData(java.util.Set expectedData)
throws java.lang.InterruptedException
expectedData - The expected data (Set) parameter.
java.lang.InterruptedException - Interrupted ExceptionverifyTagWriteData(Set,Map)
protected void verifyTagWriteData(java.util.Set expectedData,
java.util.Map expectedDataExtensions)
throws java.lang.InterruptedException
expectedData - The expected data (Set) parameter.expectedDataExtensions - The expected data extensions (Map) parameter.
java.lang.InterruptedException - Interrupted ExceptionverifyTagWriteData(Set)
protected void verifyTagWritingAndAggregating(java.util.Set expectedData,
java.util.Map expectedDataExtensions)
throws java.lang.InterruptedException
expectedData - The expected data (Set) parameter.expectedDataExtensions - The expected data extensions (Map)
java.lang.InterruptedException - Interrupted Exception
public void verifyTagWritingAndAggregation(java.util.Set expectedData)
throws java.lang.InterruptedException
expectedData - The expected tags (Set) parameter.
java.lang.InterruptedException - Interrupted Exception.
public void verifyTagWritingExpression(java.util.Set expectedData)
throws java.lang.InterruptedException
expectedData - The expected data (Set) parameter
java.lang.InterruptedException - Interrupted Exception
protected int waitForTagAggregationReports(int expectedCount,
int duration)
throws java.lang.InterruptedException
expectedCount - The expected count (int) parameter.duration - The duration (int) parameter.
int) value.
java.lang.InterruptedException - Interrupted Exception.
protected int waitForTagReports(int expectedCount,
int duration)
throws java.lang.InterruptedException
expectedCount - The expected count (int) parameter.duration - The duration (int) parameter.
int) value.
java.lang.InterruptedException - Interrupted Exception.verifyTagReadsForTagReports(ArrayList,Map,String)
protected void waitSig()
throws java.lang.InterruptedException
method to finish executing.
java.lang.InterruptedException - Interrupted Exception
protected void writeTagStartOperation(java.lang.String dataValue)
throws java.lang.InterruptedException
dataValue - The data value (String) parameter.
java.lang.InterruptedException
protected void writeTagStopWriting(java.lang.String dataValue)
throws java.lang.InterruptedException
dataValue - The data value (String) parameter.
java.lang.InterruptedException
|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||