Public Member Functions | Private Attributes | List of all members
flexbe_testing.test_context.LaunchContext Class Reference
Inheritance diagram for flexbe_testing.test_context.LaunchContext:
Inheritance graph
[legend]

Public Member Functions

def __enter__ (self)
 
def __exit__ (self, exception_type, exception_value, traceback)
 
def __init__ (self, launch_config, wait_cond="True")
 
def spin_once (self)
 
def success (self)
 
def verify (self)
 
def wait_for_finishing (self)
 
- Public Member Functions inherited from flexbe_testing.test_context.TestContext
def __enter__ (self)
 
def __exit__ (self, exception_type, exception_value, traceback)
 
def __init__ (self)
 
def spin_once (self)
 
def success (self)
 
def verify (self)
 
def wait_for_finishing (self)
 

Private Attributes

 _exit_codes
 
 _launched_proc_names
 
 _launchrunner
 
 _run_id
 
 _valid
 
 _wait_cond
 

Detailed Description

Test context that runs a specified launch file configuration. 

Definition at line 49 of file test_context.py.

Constructor & Destructor Documentation

def flexbe_testing.test_context.LaunchContext.__init__ (   self,
  launch_config,
  wait_cond = "True" 
)

Definition at line 52 of file test_context.py.

Member Function Documentation

def flexbe_testing.test_context.LaunchContext.__enter__ (   self)

Definition at line 86 of file test_context.py.

def flexbe_testing.test_context.LaunchContext.__exit__ (   self,
  exception_type,
  exception_value,
  traceback 
)

Definition at line 117 of file test_context.py.

def flexbe_testing.test_context.LaunchContext.spin_once (   self)

Definition at line 108 of file test_context.py.

def flexbe_testing.test_context.LaunchContext.success (   self)

Definition at line 122 of file test_context.py.

def flexbe_testing.test_context.LaunchContext.verify (   self)

Definition at line 105 of file test_context.py.

def flexbe_testing.test_context.LaunchContext.wait_for_finishing (   self)

Definition at line 111 of file test_context.py.

Member Data Documentation

flexbe_testing.test_context.LaunchContext._exit_codes
private

Definition at line 58 of file test_context.py.

flexbe_testing.test_context.LaunchContext._launched_proc_names
private

Definition at line 57 of file test_context.py.

flexbe_testing.test_context.LaunchContext._launchrunner
private

Definition at line 78 of file test_context.py.

flexbe_testing.test_context.LaunchContext._run_id
private

Definition at line 53 of file test_context.py.

flexbe_testing.test_context.LaunchContext._valid
private

Definition at line 84 of file test_context.py.

flexbe_testing.test_context.LaunchContext._wait_cond
private

Definition at line 83 of file test_context.py.


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


flexbe_testing
Author(s): Philipp Schillinger
autogenerated on Sun Dec 13 2020 04:01:44