1.0.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, NotificationListener

public class CountMeasurementTestcase
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
CountMeasurementTestcase(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 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, 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

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[] args)
Main with the specified args 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.

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

testCount

public void testCount()
Test count.


1.0.0

Copyright (c) 1999, 2007 IBM