|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
OCSEPICS.JunitOCSEPICS
public class JunitOCSEPICS
This class is a Junit test frame which tests the functionality of the classes which comprise the OCSEPICS package When run it will perform a sequence of tests which will verify the correct operation of the classs. In order to run these tests, the user must use the command ant test from the source directory which contains this test class
| Field Summary | |
|---|---|
(package private) MessageHandler |
messageHandler
This will be used for syslog reporting |
(package private) OCSCORBAHelper |
OCSCorba
This will be used to perform a lot of the donkey work associated with setting up a CORBA server. |
iParameterNoticeBoard.ParameterNoticeBoardSupplier |
parameterNoticeBoard
A CORBA reference to the parameter noticeboard |
(package private) ProcessVariable |
processVariable
This is a EPICS process variable that we are going to test |
(package private) StatusVariable |
statusVariable
A StatusVariable which will be used for testing |
| Constructor Summary | |
|---|---|
JunitOCSEPICS()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] argv)
main method which will run the tests of the parameter |
protected void |
setUp()
This class will be called to set up the test unit ahead of the tests being executed. |
static junit.framework.TestSuite |
suite()
Establish the test suite in this class, it goes through the class extracting the test methods and then building a Junit test suite which will be used to perform the tests. |
protected void |
tearDown()
This method is called when the tests are finished and we close down the ORB so that we can run the tests again. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public iParameterNoticeBoard.ParameterNoticeBoardSupplier parameterNoticeBoard
OCSCORBAHelper OCSCorba
StatusVariable statusVariable
ProcessVariable processVariable
MessageHandler messageHandler
| Constructor Detail |
|---|
public JunitOCSEPICS()
| Method Detail |
|---|
protected void tearDown()
tearDown in class junit.framework.TestCaseprotected void setUp()
setUp in class junit.framework.TestCasepublic static junit.framework.TestSuite suite()
public static void main(java.lang.String[] argv)
argv - Command line arguments. The method starts up the
Junit test GUI which will be used to test the software package.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||