/*
* class: RecordListenerManagerNoRunTest
*
* Version $Id: RecordListenerManagerNoRunTest.java 8584 2006-08-10 23:06:37Z duns $
*
* Date: March 7 2003
*
* (c) 2003 IceCube Collaboration
*/
package org.freehep.record.loop.event.test;
import org.freehep.record.loop.event.RecordListenerManager;
import junit.framework.*;
/**
* This class defines the tests that any RecordListenerManager object should pass.
*
* @version $Id: RecordListenerManagerNoRunTest.java 8584 2006-08-10 23:06:37Z duns $
* @author patton
*/
public class RecordListenerManagerNoRunTest
extends TestCase
{
// public static final member data
// protected static final member data
// static final member data
// private static final member data
// private static member data
// private instance member data
/** The object being tested. */
protected RecordListenerManager testObject;
// constructors
/**
* Create an instance of this class.
* Default constructor is declared, but private, to stop accidental
* creation of an instance of the class.
*/
private RecordListenerManagerNoRunTest()
{
this(null);
}
/**
* Constructs and instance of this test.
* @param name
*/
public RecordListenerManagerNoRunTest(String name)
{
super(name);
}
// instance member function (alphabetic)
/**
* Sets the object to be tested.
*
* @param testObject object to be tested.
*/
protected void setRecordListenerManager(RecordListenerManager testObject)
{
this.testObject = testObject;
}
/**
* Sets up the fixture, for example, open a network connection.
* This method is called before a test is executed.
*/
// protected void setUp()
// {
// }
/**
* Tears down the fixture, for example, close a network connection.
* This method is called after a test is executed.
*/
protected void tearDown()
{
testObject = null;
}
/**
* Explanation of test.
*/
public void testSomething()
{
// MD: we cannot test this unless we have a listener
// assertNotNull(testObject);
}
// static member functions (alphabetic)
/**
* Create test suite for this class.
*/
public static Test suite()
{
return new TestSuite(RecordListenerManagerNoRunTest.class);
}
// Description of this object.
// public String toString() {}
}