2009-01-09 1.2.0

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

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

public class SignalListenerTestcase
extends junit.framework.TestCase
implements SignalListener

Since:
1.0
Version:
1.2.0

Field Summary
protected  int signalCount
          Define the signal count (int) field.
 
Constructor Summary
SignalListenerTestcase(java.lang.String name)
          Constructs an instance of this class from the specified name parameter.
 
Method Summary
 void errorOccurred(java.lang.Object source, java.lang.Object timestamp, java.lang.Object data)
          Error occurred with the specified source, timestamp and data parameters.
static void main(java.lang.String[] arguments)
          Main with the specified arguments parameter.
 void signalOccurred(SignalService source, java.lang.Object timestamp, java.lang.Object data)
          Signal occurred with the specified source, timestamp and data parameters.
 void test01()
          Test01.
 
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

signalCount

protected int signalCount
Define the signal count (int) field.

Constructor Detail

SignalListenerTestcase

public SignalListenerTestcase(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.

errorOccurred

public void errorOccurred(java.lang.Object source,
                          java.lang.Object timestamp,
                          java.lang.Object data)
Error occurred with the specified source, timestamp and data parameters.

Specified by:
errorOccurred in interface ErrorListener
Parameters:
source - The source (Object) parameter.
timestamp - The time stamp (Object) parameter.
data - The data (Object) parameter.
See Also:
signalOccurred(SignalService,Object,Object)

signalOccurred

public void signalOccurred(SignalService source,
                           java.lang.Object timestamp,
                           java.lang.Object data)
Signal occurred with the specified source, timestamp and data parameters.

Specified by:
signalOccurred in interface SignalListener
Parameters:
source - The source (SignalService) parameter.
timestamp - The time stamp (Object) parameter.
data - The data (Object) parameter.
See Also:
errorOccurred(Object,Object,Object)

test01

public void test01()
Test01.


2009-01-09 1.2.0

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