2009-01-09 1.2.0

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

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

public class CountMeasurementTestcase
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
CountMeasurementTestcase(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 testCount()
          Test count.
 
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

CountMeasurementTestcase

public CountMeasurementTestcase(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 (Object) parameter.

testCount

public void testCount()
Test count.


2009-01-09 1.2.0

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