Public Member Functions | Public Attributes | List of all members
travis_test_lightsensors.LightsensorTest Class Reference
Inheritance diagram for travis_test_lightsensors.LightsensorTest:
Inheritance graph
[legend]

Public Member Functions

def callback (self, data)
 
def check_values (self, lf, ls, rs, rf)
 
def setUp (self)
 
def test_change_parameter (self)
 
def test_get_value (self)
 
def test_node_exist (self)
 

Public Attributes

 count
 コールバック関数が最低1回は呼ばれ、値が取得できているかを確認### More...
 
 values
 

Detailed Description

Definition at line 8 of file travis_test_lightsensors.py.

Member Function Documentation

def travis_test_lightsensors.LightsensorTest.callback (   self,
  data 
)

Definition at line 14 of file travis_test_lightsensors.py.

def travis_test_lightsensors.LightsensorTest.check_values (   self,
  lf,
  ls,
  rs,
  rf 
)

Definition at line 18 of file travis_test_lightsensors.py.

def travis_test_lightsensors.LightsensorTest.setUp (   self)

Definition at line 9 of file travis_test_lightsensors.py.

def travis_test_lightsensors.LightsensorTest.test_change_parameter (   self)

Definition at line 42 of file travis_test_lightsensors.py.

def travis_test_lightsensors.LightsensorTest.test_get_value (   self)

Definition at line 31 of file travis_test_lightsensors.py.

def travis_test_lightsensors.LightsensorTest.test_node_exist (   self)

Definition at line 27 of file travis_test_lightsensors.py.

Member Data Documentation

travis_test_lightsensors.LightsensorTest.count

コールバック関数が最低1回は呼ばれ、値が取得できているかを確認###

コールバック関数が3秒間で最低1回、最高でも4回しか呼ばれてないことを確認###

Definition at line 10 of file travis_test_lightsensors.py.

travis_test_lightsensors.LightsensorTest.values

Definition at line 12 of file travis_test_lightsensors.py.


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


raspicat
Author(s): Ryuichi Ueda , Daisuke Sato
autogenerated on Mon Jun 10 2019 14:27:50