Crossfire JXClient, Trunk
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
com.sun.jmx.examples.scandir.ScanManagerTest Class Reference
Inheritance diagram for com.sun.jmx.examples.scandir.ScanManagerTest:
Inheritance graph
Collaboration diagram for com.sun.jmx.examples.scandir.ScanManagerTest:
Collaboration graph

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
 

Detailed Description

Unit tests for

ScanManager
Author
Sun Microsystems, 2006 - All rights reserved.

Definition at line 77 of file ScanManagerTest.java.

Constructor & Destructor Documentation

◆ ScanManagerTest()

com.sun.jmx.examples.scandir.ScanManagerTest.ScanManagerTest ( String  testName)

Definition at line 79 of file ScanManagerTest.java.

Member Function Documentation

◆ assertContained()

static void com.sun.jmx.examples.scandir.ScanManagerTest.assertContained ( EnumSet< ScanState allowed,
ScanState  state 
)
static

◆ doTestOperation()

void com.sun.jmx.examples.scandir.ScanManagerTest.doTestOperation ( ScanManagerMXBean  proxy,
Call  op,
EnumSet< ScanState after,
String  testName 
) throws Exception
private

◆ setUp()

void com.sun.jmx.examples.scandir.ScanManagerTest.setUp ( ) throws Exception
protected

Definition at line 83 of file ScanManagerTest.java.

◆ suite()

static Test com.sun.jmx.examples.scandir.ScanManagerTest.suite ( )
static

Definition at line 89 of file ScanManagerTest.java.

◆ tearDown()

void com.sun.jmx.examples.scandir.ScanManagerTest.tearDown ( ) throws Exception
protected

Definition at line 86 of file ScanManagerTest.java.

◆ testAddNotificationListener()

void com.sun.jmx.examples.scandir.ScanManagerTest.testAddNotificationListener ( ) throws Exception

◆ testGetState()

void com.sun.jmx.examples.scandir.ScanManagerTest.testGetState ( ) throws IOException, InstanceNotFoundException

◆ testMakeSingletonName()

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.

Here is the call graph for this function:

◆ testPreRegister()

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().

Here is the call graph for this function:

◆ testRegister()

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.

Here is the call graph for this function:

◆ testSchedule()

void com.sun.jmx.examples.scandir.ScanManagerTest.testSchedule ( ) throws Exception

◆ testStart()

void com.sun.jmx.examples.scandir.ScanManagerTest.testStart ( ) throws Exception

◆ testStop()

void com.sun.jmx.examples.scandir.ScanManagerTest.testStop ( ) throws Exception

The documentation for this class was generated from the following file: