1.0.0

org.eclipse.soda.dk.device.testcases
Class DeviceRegistryTestcase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.soda.dk.device.testcases.DeviceRegistryTestcase
All Implemented Interfaces:
junit.framework.Test, NotificationListener

public class DeviceRegistryTestcase
extends junit.framework.TestCase
implements NotificationListener

Version:
1.0.0

Field Summary
static java.lang.String EMPTY_STRING
          Define the empty string (String) constant.
static java.lang.String RESOURCE_BUNDLE
          Define the resource bundle (String) constant.
 
Constructor Summary
DeviceRegistryTestcase(java.lang.String name)
          Constructs an instance of this class from the specified name parameter.
 
Method Summary
static void main(java.lang.String[] args)
          Main with the specified args parameter.
 void notificationReceived(java.lang.String externalKey, java.util.Dictionary data)
          Notification received with the specified external key and data parameters.
 void testCreate()
          Test create.
 void testFilter()
          Test filter.
 void testInterest()
          Test interest.
 void testInterestTwo()
          Test interest two.
 
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.

Constructor Detail

DeviceRegistryTestcase

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

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

main

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

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

notificationReceived

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

Specified by:
notificationReceived in interface NotificationListener
Parameters:
externalKey - The external key (String) parameter.
data - The data (Dictionary) parameter.

testCreate

public void testCreate()
Test create.


testFilter

public void testFilter()
Test filter.


testInterest

public void testInterest()
Test interest.


testInterestTwo

public void testInterestTwo()
Test interest two.


1.0.0

Copyright (c) 1999, 2007 IBM