Crossfire JXClient, Trunk
|
Classes | |
interface | Call |
Public Member Functions | |
ScanManagerTest (String testName) | |
void | testAddNotificationListener () throws Exception |
void | testGetState () throws IOException, InstanceNotFoundException |
void | testMakeSingletonName () |
void | testPreRegister () throws Exception |
void | testRegister () throws Exception |
void | testSchedule () throws Exception |
void | testStart () throws Exception |
void | testStop () throws Exception |
Static Public Member Functions | |
static void | assertContained (EnumSet< ScanState > allowed, ScanState state) |
static Test | suite () |
Protected Member Functions | |
void | setUp () throws Exception |
void | tearDown () throws Exception |
Private Member Functions | |
void | doTestOperation (ScanManagerMXBean proxy, Call op, EnumSet< ScanState > after, String testName) throws Exception |
com.sun.jmx.examples.scandir.ScanManagerTest.ScanManagerTest | ( | String | testName | ) |
Definition at line 79 of file ScanManagerTest.java.
|
static |
Definition at line 300 of file ScanManagerTest.java.
Referenced by com.sun.jmx.examples.scandir.ScanManagerTest.doTestOperation(), com.sun.jmx.examples.scandir.ScanManagerTest.testGetState(), com.sun.jmx.examples.scandir.ScanManagerTest.testStart(), and com.sun.jmx.examples.scandir.ScanManagerTest.testStop().
|
private |
Test of addNotificationListener method, of class com.sun.jmx.examples.scandir.ScanManager.
Definition at line 168 of file ScanManagerTest.java.
References com.sun.jmx.examples.scandir.ScanManagerTest.assertContained(), and com.sun.jmx.examples.scandir.ScanManager.SCAN_MANAGER_NAME.
Referenced by com.sun.jmx.examples.scandir.ScanManagerTest.testAddNotificationListener(), com.sun.jmx.examples.scandir.ScanManagerTest.testSchedule(), com.sun.jmx.examples.scandir.ScanManagerTest.testStart(), and com.sun.jmx.examples.scandir.ScanManagerTest.testStop().
|
protected |
Definition at line 83 of file ScanManagerTest.java.
|
static |
Definition at line 89 of file ScanManagerTest.java.
|
protected |
Definition at line 86 of file ScanManagerTest.java.
void com.sun.jmx.examples.scandir.ScanManagerTest.testAddNotificationListener | ( | ) | throws Exception |
Test of addNotificationListener method, of class com.sun.jmx.examples.scandir.ScanManager.
Definition at line 139 of file ScanManagerTest.java.
References com.sun.jmx.examples.scandir.ScanManagerTest.doTestOperation(), com.sun.jmx.examples.scandir.ScanManager.register(), com.sun.jmx.examples.scandir.ScanManager.SCAN_MANAGER_NAME, com.sun.jmx.examples.scandir.ScanManagerMXBean.schedule(), and com.sun.jmx.examples.scandir.ScanManagerMXBean.stop().
void com.sun.jmx.examples.scandir.ScanManagerTest.testGetState | ( | ) | throws IOException, InstanceNotFoundException |
Test of getState method, of class com.sun.jmx.examples.scandir.ScanManager.
Definition at line 249 of file ScanManagerTest.java.
References com.sun.jmx.examples.scandir.ScanManagerTest.assertContained(), com.sun.jmx.examples.scandir.ScanManager.getState(), result, com.sun.jmx.examples.scandir.ScanManager.schedule(), com.sun.jmx.examples.scandir.ScanManager.start(), com.sun.jmx.examples.scandir.ScanManager.stop(), and com.sun.jmx.examples.scandir.ScanManagerMXBean.ScanState.STOPPED.
void com.sun.jmx.examples.scandir.ScanManagerTest.testMakeSingletonName | ( | ) |
Test of makeSingletonName method, of class com.sun.jmx.examples.scandir.ScanManager.
Definition at line 98 of file ScanManagerTest.java.
References com.sun.jmx.examples.scandir.ScanManager.makeSingletonName(), result, and com.sun.jmx.examples.scandir.ScanManager.SCAN_MANAGER_NAME.
void com.sun.jmx.examples.scandir.ScanManagerTest.testPreRegister | ( | ) | throws Exception |
Test of preRegister method, of class com.sun.jmx.examples.scandir.ScanManager.
Definition at line 224 of file ScanManagerTest.java.
References name(), com.sun.jmx.examples.scandir.ScanManager.preRegister(), result, com.sun.jmx.examples.scandir.ScanManager.SCAN_MANAGER_NAME, and server().
void com.sun.jmx.examples.scandir.ScanManagerTest.testRegister | ( | ) | throws Exception |
Test of register method, of class com.sun.jmx.examples.scandir.ScanManager.
Definition at line 112 of file ScanManagerTest.java.
References com.sun.jmx.examples.scandir.ScanManager.register(), result, and com.sun.jmx.examples.scandir.ScanManager.SCAN_MANAGER_NAME.
void com.sun.jmx.examples.scandir.ScanManagerTest.testSchedule | ( | ) | throws Exception |
Test of schedule method, of class com.sun.jmx.examples.scandir.ScanManager.
Definition at line 271 of file ScanManagerTest.java.
References com.sun.jmx.examples.scandir.ScanManagerTest.doTestOperation(), com.sun.jmx.examples.scandir.ScanManagerMXBean.getState(), com.sun.jmx.examples.scandir.ScanManager.register(), com.sun.jmx.examples.scandir.ScanManager.SCAN_MANAGER_NAME, com.sun.jmx.examples.scandir.ScanManagerMXBean.schedule(), and com.sun.jmx.examples.scandir.ScanManagerMXBean.stop().
void com.sun.jmx.examples.scandir.ScanManagerTest.testStart | ( | ) | throws Exception |
Test of start method, of class com.sun.jmx.examples.scandir.ScanManager.
Definition at line 339 of file ScanManagerTest.java.
References com.sun.jmx.examples.scandir.ScanManagerTest.assertContained(), com.sun.jmx.examples.scandir.ScanManagerTest.doTestOperation(), com.sun.jmx.examples.scandir.ScanManagerMXBean.getState(), com.sun.jmx.examples.scandir.ScanManager.register(), com.sun.jmx.examples.scandir.ScanManager.SCAN_MANAGER_NAME, com.sun.jmx.examples.scandir.ScanManagerMXBean.start(), and com.sun.jmx.examples.scandir.ScanManagerMXBean.stop().
void com.sun.jmx.examples.scandir.ScanManagerTest.testStop | ( | ) | throws Exception |
Test of stop method, of class com.sun.jmx.examples.scandir.ScanManager.
Definition at line 309 of file ScanManagerTest.java.
References com.sun.jmx.examples.scandir.ScanManagerTest.assertContained(), com.sun.jmx.examples.scandir.ScanManagerTest.doTestOperation(), com.sun.jmx.examples.scandir.ScanManagerMXBean.getState(), com.sun.jmx.examples.scandir.ScanManager.register(), com.sun.jmx.examples.scandir.ScanManager.SCAN_MANAGER_NAME, com.sun.jmx.examples.scandir.ScanManagerMXBean.schedule(), and com.sun.jmx.examples.scandir.ScanManagerMXBean.stop().