Exemplo n.º 1
0
 def test_deserialize_bad_2(self):
     """Deserialize: XML -> ObjectLocationList (bad 2)"""
     util.deserialize_and_check(EG_BAD_OBJECTLOCATIONLIST_2,
                                shouldfail=True)
Exemplo n.º 2
0
 def test_serialization_bad_2(self):
     """Deserialize: XML -> NodeList (bad 2)"""
     util.deserialize_and_check(EG_BAD_NODELIST_2, shouldfail=True)
Exemplo n.º 3
0
 def test_deserialize_gmn(self):
     """Deserialize: XML -> ObjectLocationList (GMN)"""
     util.deserialize_and_check(EG_OBJECTLOCATIONLIST_GMN)
Exemplo n.º 4
0
 def test_serialization_bad(self):
   """Deserialize: XML -> ObjectList (bad)"""
   util.deserialize_and_check(EG_BAD_OBJECTLIST, shouldfail=True)
Exemplo n.º 5
0
 def test_serialization_gmn(self):
     """Deserialize: XML -> NodeList (GMN)"""
     util.deserialize_and_check(EG_NODELIST_GMN)
Exemplo n.º 6
0
 def test_serialization_gmn(self):
   """Deserialize: XML -> ObjectList (GMN)"""
   util.deserialize_and_check(EG_OBJECTLIST_GMN)
Exemplo n.º 7
0
 def test_deserialize_xml_bad(self):
   util.deserialize_and_check(EG_BAD_OBJECTLIST, shouldfail=True)
Exemplo n.º 8
0
 def test_deserialize_xml_gmn(self):
   util.deserialize_and_check(EG_OBJECTLIST_GMN)
Exemplo n.º 9
0
 def test_serialization_gmn(self):
     """Deserialize: XML -> Log (GMN)"""
     try:
         util.deserialize_and_check(EG_LOG_GMN)
     except Exception as e:
         print e
Exemplo n.º 10
0
 def test_serialization_bad_3(self):
     """Deserialize: XML -> Log (bad 3)"""
     util.deserialize_and_check(EG_BAD_LOG_3, shouldfail=True)