Classes | Functions | Variables
ServiceProfileSDOPackageTest Namespace Reference

Classes

class  SDOServiceMock
 Dummy class of SDOService_impl. More...

Functions

def leak_check
 memory leak check
def mem_rss
def print_file_and_cons
 file and console out

Variables

list a0 = ns.rtc_handles["a.rtc"]
tuple config = a0.rtc_ref.get_configuration()
tuple env = RtmEnv(sys.argv, ["localhost:9898"])
string fodat = "=== "
tuple fout = open(test_case + ".log", 'w')
list listo = env.name_space["localhost:9898"]
 Create Composite RTC.
int loop_cnt = 1000
tuple manager = naming.resolve(mgr_name)
tuple mgr_name = socket.gethostname()
 Get Manager object reference.
tuple naming = CorbaNaming(env.orb, "localhost:9898")
list ns = env.name_space['localhost:9898']
tuple rss0 = mem_rss()
 Configuration::add_service_profile (in ServiceProfile sProfile);.
tuple rss1 = mem_rss()
tuple rssEnd = mem_rss()
tuple sdomock = SDOServiceMock()
tuple svcProf = SDOPackage.ServiceProfile("ID 1", "INTERFACE_TYPE 1", [], sdomock)
tuple svcprofs = a0.rtc_ref.get_service_profiles()
string test_case = "ServiceProfileSDOPackageTest"
 file out setting

Function Documentation

def ServiceProfileSDOPackageTest.leak_check (   rss_start,
  rss_end 
)

memory leak check

Definition at line 73 of file ServiceProfileSDOPackageTest.py.

Definition at line 52 of file ServiceProfileSDOPackageTest.py.

def ServiceProfileSDOPackageTest.print_file_and_cons (   out_data,
  out_flag = 0 
)

file and console out

Definition at line 57 of file ServiceProfileSDOPackageTest.py.


Variable Documentation

list ServiceProfileSDOPackageTest::a0 = ns.rtc_handles["a.rtc"]

Definition at line 45 of file ServiceProfileSDOPackageTest.py.

tuple ServiceProfileSDOPackageTest::config = a0.rtc_ref.get_configuration()

Definition at line 46 of file ServiceProfileSDOPackageTest.py.

tuple ServiceProfileSDOPackageTest::env = RtmEnv(sys.argv, ["localhost:9898"])

Definition at line 28 of file ServiceProfileSDOPackageTest.py.

-----------------------------------------------------------------------------

Definition at line 85 of file ServiceProfileSDOPackageTest.py.

tuple ServiceProfileSDOPackageTest::fout = open(test_case + ".log", 'w')

Definition at line 83 of file ServiceProfileSDOPackageTest.py.

list ServiceProfileSDOPackageTest::listo = env.name_space["localhost:9898"]

Create Composite RTC.

Definition at line 39 of file ServiceProfileSDOPackageTest.py.

Definition at line 88 of file ServiceProfileSDOPackageTest.py.

Definition at line 33 of file ServiceProfileSDOPackageTest.py.

tuple ServiceProfileSDOPackageTest::mgr_name = socket.gethostname()

Get Manager object reference.

Definition at line 31 of file ServiceProfileSDOPackageTest.py.

tuple ServiceProfileSDOPackageTest::naming = CorbaNaming(env.orb, "localhost:9898")

Definition at line 32 of file ServiceProfileSDOPackageTest.py.

list ServiceProfileSDOPackageTest::ns = env.name_space['localhost:9898']

Definition at line 42 of file ServiceProfileSDOPackageTest.py.

Configuration::add_service_profile (in ServiceProfile sProfile);.

Configuration::remove_service_profile (in UniqueIdentifier id);.

SDOSystemElement::get_sdo_service (in UniqueIdentifier id);.

SDOSystemElement::get_service_profile (in UniqueIdentifier id);.

SDOSystemElement::get_service_profiles ();.

Definition at line 98 of file ServiceProfileSDOPackageTest.py.

Definition at line 101 of file ServiceProfileSDOPackageTest.py.

Definition at line 107 of file ServiceProfileSDOPackageTest.py.

Definition at line 49 of file ServiceProfileSDOPackageTest.py.

tuple ServiceProfileSDOPackageTest::svcProf = SDOPackage.ServiceProfile("ID 1", "INTERFACE_TYPE 1", [], sdomock)

Definition at line 50 of file ServiceProfileSDOPackageTest.py.

tuple ServiceProfileSDOPackageTest::svcprofs = a0.rtc_ref.get_service_profiles()

Definition at line 47 of file ServiceProfileSDOPackageTest.py.

string ServiceProfileSDOPackageTest::test_case = "ServiceProfileSDOPackageTest"

file out setting

Definition at line 82 of file ServiceProfileSDOPackageTest.py.



openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sat Jun 8 2019 18:49:16