Classes | Functions | Variables
ServiceProfileSDOPackageTest Namespace Reference


class  SDOServiceMock
 Dummy class of SDOService_impl. More...


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


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,

memory leak check

Definition at line 73 of file

Definition at line 52 of file

def ServiceProfileSDOPackageTest.print_file_and_cons (   out_data,
  out_flag = 0 

file and console out

Definition at line 57 of file

Variable Documentation

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

Definition at line 45 of file

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

Definition at line 46 of file

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

Definition at line 28 of file


Definition at line 85 of file

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

Definition at line 83 of file

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

Create Composite RTC.

Definition at line 39 of file

Definition at line 88 of file

Definition at line 33 of file

tuple ServiceProfileSDOPackageTest::mgr_name = socket.gethostname()

Get Manager object reference.

Definition at line 31 of file

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

Definition at line 32 of file

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

Definition at line 42 of file

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

Definition at line 101 of file

Definition at line 107 of file

Definition at line 49 of file

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

Definition at line 50 of file

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

Definition at line 47 of file

string ServiceProfileSDOPackageTest::test_case = "ServiceProfileSDOPackageTest"

file out setting

Definition at line 82 of file

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