def test_StackManifest_xml(self):
   from roslib.stack_manifest import parse, StackManifest
   m = parse(STACK_EXAMPLE1)
   self._subtest_parse_stack_example1(m)
   # verify roundtrip
   m2 = parse(m.xml())
   self._subtest_parse_stack_example1(m2)
 def test_StackManifest_xml(self):
     from roslib.stack_manifest import parse
     m = parse(STACK_EXAMPLE1)
     self._subtest_parse_stack_example1(m)
     # verify roundtrip
     m2 = parse(m.xml())
     self._subtest_parse_stack_example1(m2)
Пример #3
0
 def test_Manifest_xml(self):
     from roslib.manifestlib import parse, _Manifest
     m = _Manifest()
     parse(m, EXAMPLE1)
     self._subtest_parse_example1(m)
     # verify roundtrip
     m2 = _Manifest()
     parse(m2, m.xml())
     self._subtest_parse_example1(m2)
Пример #4
0
 def test_Manifest_xml(self):
   from roslib.manifestlib import parse, _Manifest
   m = _Manifest()
   parse(m, EXAMPLE1)
   self._subtest_parse_example1(m)
   # verify roundtrip
   m2 = _Manifest()
   parse(m2, m.xml())
   self._subtest_parse_example1(m2)
 def test_StackManifest_str(self):
   # just make sure it doesn't crash
   from roslib.stack_manifest import parse
   str(parse(STACK_EXAMPLE1))
 def test_parse_example1_string(self):
   from roslib.manifestlib import parse, _Manifest
   self._subtest_parse_stack_example1(parse(_Manifest('stack'), STACK_EXAMPLE1))
Пример #7
0
 def test_Manifest_str(self):
     # just make sure it doesn't crash
     from roslib.manifestlib import parse, _Manifest
     str(parse(_Manifest(), EXAMPLE1))
Пример #8
0
 def test_parse_example1_string(self):
     from roslib.manifestlib import parse, _Manifest
     self._subtest_parse_example1(parse(_Manifest(), EXAMPLE1))
     self._subtest_parse_stack_example1(
         parse(_Manifest('stack'), STACK_EXAMPLE1))
 def test_StackManifest_str(self):
     # just make sure it doesn't crash
     from roslib.stack_manifest import parse
     str(parse(STACK_EXAMPLE1))
Пример #10
0
 def test_Manifest_str(self):
   # just make sure it doesn't crash
   from roslib.manifestlib import parse, _Manifest
   str(parse(_Manifest(), EXAMPLE1))