test_OutPortConnector.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # -*- Python -*-
3 
4 #
5 # \file test_OutPortConnector.py
6 # \brief test for OutPortConnector class
7 # \date $Date: 2007/09/19$
8 # \author Shinji Kurihara
9 #
10 # Copyright (C) 2006
11 # Noriaki Ando
12 # Task-intelligence Research Group,
13 # Intelligent Systems Research Institute,
14 # National Institute of
15 # Advanced Industrial Science and Technology (AIST), Japan
16 # All rights reserved.
17 #
18 
19 import sys
20 sys.path.insert(1,"../")
21 
22 from omniORB import *
23 from omniORB import any
24 
25 import unittest
26 from OutPortConnector import *
27 
28 import RTC, RTC__POA
29 
30 import OpenRTM_aist
31 
32 
33 
34 class TestOutPortConnector(unittest.TestCase):
35  def setUp(self):
36  self._profile = OpenRTM_aist.ConnectorBase.Profile("test",
37  "id",
38  ["in","out"],
40 
42  return
43 
44  def test_profile(self):
45  self.assertEqual(self._oc.profile(), self._profile)
46  return
47 
48 
49  def test_id(self):
50  self.assertEqual(self._oc.id(), "id")
51  return
52 
53 
54  def test_name(self):
55  self.assertEqual(self._oc.name(),"test")
56  return
57 
58 
59 
60 if __name__ == '__main__':
61  unittest.main()
The Properties class represents a persistent set of properties.
Definition: Properties.py:83
name
Definition: setup.py:543


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Mon Feb 28 2022 23:01:07