2009-01-09 1.2.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, org.eclipse.soda.dk.notification.service.NotificationListener

public class DeviceRegistryTestcase
extends junit.framework.TestCase
implements org.eclipse.soda.dk.notification.service.NotificationListener

Since:
1.0
Version:
1.2.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[] 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 testCreate()
          Test create.
 void testFilter01()
          Test filter.
 void testGlobal()
          Test global.
 void testInterest()
          Test interest.
 void testInterestTwo()
          Test interest two.
 void testPrefix()
          Test prefix.
 
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
 
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.

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.

notificationReceived

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

Specified by:
notificationReceived in interface org.eclipse.soda.dk.notification.service.NotificationListener
Parameters:
externalKey - The external key (String) parameter.
data - The data (Dictionary) parameter.

testCreate

public void testCreate()
Test create.


testFilter01

public void testFilter01()
Test filter.


testGlobal

public void testGlobal()
Test global.


testInterest

public void testInterest()
Test interest.


testInterestTwo

public void testInterestTwo()
Test interest two.


testPrefix

public void testPrefix()
Test prefix.


2009-01-09 1.2.0

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