2010-01-26 1.2.0

org.eclipse.soda.dk.rfid.inventory.profile.testcases
Class RfidInventoryTestcaseSingle

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.soda.dk.rfid.inventory.profile.testcases.RfidInventoryTestcaseSingle
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
RfidInventoryTestcaseMultiple

public class RfidInventoryTestcaseSingle
extends junit.framework.TestCase

Version:
1.2.0

Field Summary
static java.lang.String EMPTY_STRING
          Define the empty string (String) constant.
protected  int notificationCount
          Define the notification count (int) field.
protected  java.lang.Object notificationCountObject
          Define the notification count object (int) field.
protected  int notificationWaitCount
          Define the notification wait count (int) field.
protected  boolean quiet
          Define the quiet (boolean) field.
static java.lang.String RESOURCE_BUNDLE
          Define the resource bundle (String) constant.
 
Constructor Summary
RfidInventoryTestcaseSingle(java.lang.String name)
          Constructs an instance of this class from the specified name parameter.
 
Method Summary
 int getNotificationCount()
          Gets the notification count (int) value.
 int getNotificationWaitCount()
          Gets the notification wait count (int) value.
 boolean isQuiet()
          Gets the quiet (boolean) value.
static void main(java.lang.String[] arguments)
          Main with the specified arguments parameter.
 void notificationReceived(java.lang.String externalKey, java.util.Dictionary data)
          Notification received with the specified external key and data parameters.
 void runTest01(NotificationService notificationService, RfidInventoryProfileTester rfidInventoryProfileTester, int count)
          Run test01 with the specified notification service and RFID inventory profile tester parameters.
 void runTest02(NotificationService notificationService, RfidInventoryProfileTester rfidInventoryProfileTester, int count)
          Run test01 with the specified notification service and RFID inventory profile tester parameters.
 void setNotificationCount(int notificationCount)
          Sets the notification count value.
 void setNotificationWaitCount(int notificationWaitCount)
          Sets the notification wait count value.
 void setQuiet(boolean quiet)
          Sets the quiet value.
 void test01()
          Test 01.
 int updateNotificationCount()
          Update the notification count (int) value.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE_BUNDLE

public static final java.lang.String RESOURCE_BUNDLE
Define the resource bundle (String) constant.

See Also:
Constant Field Values

EMPTY_STRING

public static final java.lang.String EMPTY_STRING
Define the empty string (String) constant.


quiet

protected boolean quiet
Define the quiet (boolean) field.

Since:
1.2

notificationCount

protected int notificationCount
Define the notification count (int) field.

Since:
1.2

notificationWaitCount

protected int notificationWaitCount
Define the notification wait count (int) field.

Since:
1.2

notificationCountObject

protected final java.lang.Object notificationCountObject
Define the notification count object (int) field.

Since:
1.2
Constructor Detail

RfidInventoryTestcaseSingle

public RfidInventoryTestcaseSingle(java.lang.String name)
Constructs an instance of this class from the specified name parameter.

Parameters:
name - The name (String) parameter.
Method Detail

main

public static void main(java.lang.String[] arguments)
Main with the specified arguments parameter.

Parameters:
arguments - The arguments (String[]) parameter.

getNotificationCount

public int getNotificationCount()
Gets the notification count (int) value.

Returns:
The notification count (int) value.
Since:
1.2
See Also:
setNotificationCount(int), updateNotificationCount()

getNotificationWaitCount

public int getNotificationWaitCount()
Gets the notification wait count (int) value.

Returns:
The notification wait count (int) value.
Since:
1.2
See Also:
setNotificationWaitCount(int)

isQuiet

public boolean isQuiet()
Gets the quiet (boolean) value.

Returns:
The quiet (boolean) value.
Since:
1.2
See Also:
setQuiet(boolean)

notificationReceived

public void notificationReceived(java.lang.String externalKey,
                                 java.util.Dictionary data)
Notification received with the specified external key and data parameters.

Parameters:
externalKey - The external key (String) parameter.
data - The data (Dictionary) parameter.

runTest01

public void runTest01(NotificationService notificationService,
                      RfidInventoryProfileTester rfidInventoryProfileTester,
                      int count)
Run test01 with the specified notification service and RFID inventory profile tester parameters.

Parameters:
notificationService - The notification service (NotificationService) parameter.
rfidInventoryProfileTester - The RFID inventory profile tester (RfidInventoryProfileTester) parameter.
count - The count (int) parameter.
Since:
1.2

runTest02

public void runTest02(NotificationService notificationService,
                      RfidInventoryProfileTester rfidInventoryProfileTester,
                      int count)
Run test01 with the specified notification service and RFID inventory profile tester parameters.

Parameters:
notificationService - The notification service (NotificationService) parameter.
rfidInventoryProfileTester - The RFID inventory profile tester (RfidInventoryProfileTester) parameter.
count - The count (int) parameter.
Since:
1.2

setNotificationCount

public void setNotificationCount(int notificationCount)
Sets the notification count value.

Parameters:
notificationCount - The notification count (int) parameter.
Since:
1.2
See Also:
getNotificationCount(), updateNotificationCount()

setNotificationWaitCount

public void setNotificationWaitCount(int notificationWaitCount)
Sets the notification wait count value.

Parameters:
notificationWaitCount - The notification wait count (int) parameter.
Since:
1.2
See Also:
getNotificationWaitCount()

setQuiet

public void setQuiet(boolean quiet)
Sets the quiet value.

Parameters:
quiet - The quiet (boolean) parameter.
Since:
1.2
See Also:
isQuiet()

test01

public void test01()
Test 01.


updateNotificationCount

public int updateNotificationCount()
Update the notification count (int) value.

Returns:
The notification count (int) value.
Since:
1.2
See Also:
getNotificationCount(), setNotificationCount(int)

2010-01-26 1.2.0

Copyright (c) 2010 IBM. See license in Legal section.