org.backsource.alert
Class AlertCase
java.lang.Object
org.backsource.alert.AlertCase
- public class AlertCase
- extends java.lang.Object
The alert test suite.
This is the central class in the alert framework. The ant driven junit
tets will be run agains this class, and it is up the the class to return
a TestSuite. This test suite is dynalically created throu reading of an
alert XML file, where all the agents are specifyed.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Peter Antman
|
Method Summary |
static junit.framework.TestCase |
getTest(java.lang.String clazz,
java.lang.String test,
java.lang.String name,
java.util.Properties prop)
Dynalically create an Agent. |
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlertCase
public AlertCase()
suite
public static junit.framework.Test suite()
throws java.lang.Exception
- Throws:
java.lang.Exception
getTest
public static junit.framework.TestCase getTest(java.lang.String clazz,
java.lang.String test,
java.lang.String name,
java.util.Properties prop)
throws java.lang.Exception
- Dynalically create an Agent.
- Parameters:
clazz - the fully qualifyed name of the Agent class.test - the name of the method to invoke on the test.name - the unique agent name.prop - the properties for the agent.
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
Copyright © 2002-2004 Backsource. All Rights Reserved.