Public Member Functions | Private Attributes
org.ros.internal.node.server.master.MasterRegistrationManagerImplTest Class Reference

List of all members.

Public Member Functions

void setup ()
void testNodeNameRepeated () throws Exception
void testOnlySubscriberWildcard () throws Exception
void testPublisherPublisher () throws Exception
void testPublisherSubscriber () throws Exception
void testPublisherTwice () throws Exception
void testRegisterOnlyPublisher () throws Exception
void testRegisterOnlyService () throws Exception
void testRegisterOnlySubscriber () throws Exception
void testRegisterServiceReplaceNode () throws Exception
void testRegisterUnregisterService () throws Exception
void testRegisterUnregisterServiceWithPublisher () throws Exception
void testSinglePublisherRemoved () throws Exception
void testSingleSubscriberRemoved () throws Exception
void testSubscriberPublisher () throws Exception
void testSubscriberSubscriber () throws Exception
void testSubscriberSubscriberWildcard () throws Exception
void testSubscriberTwice () throws Exception
void testTwoPublishersOneRemoved () throws Exception
void testTwoSubscribersOneRemoved () throws Exception

Private Attributes

MasterRegistrationManagerImpl masterRegistrationManager
MasterRegistrationListener registrationListener

Detailed Description

Tests for the MasterRegistrationManagerImpl.

Author:
khughes@google.com (Keith M. Hughes)

Definition at line 28 of file MasterRegistrationManagerImplTest.java.


Member Function Documentation

Definition at line 34 of file MasterRegistrationManagerImplTest.java.

Register two publishers, each with the same node name but different URIs. Make sure the first one gets shut down.

Exceptions:
Exception

Definition at line 399 of file MasterRegistrationManagerImplTest.java.

Register only a subscriber and no publishers. TopicSystemState message type will be the wildcard, there should be no topic type.

Exceptions:
Exception

Definition at line 112 of file MasterRegistrationManagerImplTest.java.

Register two publishers. The topic message type will be overwritten by the second publisher.

Exceptions:
Exception

Definition at line 346 of file MasterRegistrationManagerImplTest.java.

Register one publisher and one subscriber, in that order. The subscriber topic message type will not be overwritten by the subscriber.

Exceptions:
Exception

Definition at line 296 of file MasterRegistrationManagerImplTest.java.

Register the same publisher twice. Should give same objects.

Exceptions:
Exception

Definition at line 607 of file MasterRegistrationManagerImplTest.java.

Register only a publisher and no subscribers.

Exceptions:
Exception

Definition at line 45 of file MasterRegistrationManagerImplTest.java.

Register only a service.

Exceptions:
Exception

Definition at line 645 of file MasterRegistrationManagerImplTest.java.

Register only a subscriber and no publishers.

Exceptions:
Exception

Definition at line 78 of file MasterRegistrationManagerImplTest.java.

Register a service and then force a node replacement. Make sure service goes away.

Exceptions:
Exception

Definition at line 733 of file MasterRegistrationManagerImplTest.java.

Register a service and then unregister it. Make sure it goes away.

Exceptions:
Exception

Definition at line 676 of file MasterRegistrationManagerImplTest.java.

Register a service and then unregister it. Have a publisher registered for the the same node. make sure node sticks around.

Exceptions:
Exception

Definition at line 702 of file MasterRegistrationManagerImplTest.java.

Register a single publisher and then delete it.

Exceptions:
Exception

Definition at line 447 of file MasterRegistrationManagerImplTest.java.

Register a single subscriber and then delete it.

Exceptions:
Exception

Definition at line 508 of file MasterRegistrationManagerImplTest.java.

Register one subscriber and one publisher, in that order. The subscriber topic message type will be overwritten by the publishers.

Exceptions:
Exception

Definition at line 246 of file MasterRegistrationManagerImplTest.java.

Register two subscribers, each with their own node. Both subscribers should appear. The topic message type should be the second subscriber's message type.

Exceptions:
Exception

Definition at line 146 of file MasterRegistrationManagerImplTest.java.

Register two subscribers and no publishers. The first subscriber's topic will be real, the second will be the wildcard. The topic type should be the first subscriber's.

Exceptions:
Exception

Definition at line 198 of file MasterRegistrationManagerImplTest.java.

Register the same subscriber twice. Should give same objects.

Exceptions:
Exception

Definition at line 570 of file MasterRegistrationManagerImplTest.java.

Register two publishers on the same node and then delete one of them.

Exceptions:
Exception

Definition at line 472 of file MasterRegistrationManagerImplTest.java.

Register two subscribers on the same node and then delete one of them.

Exceptions:
Exception

Definition at line 533 of file MasterRegistrationManagerImplTest.java.


Member Data Documentation

Definition at line 30 of file MasterRegistrationManagerImplTest.java.

Definition at line 31 of file MasterRegistrationManagerImplTest.java.


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


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:51