def test_process_transport_752_sp2(self): builder = sap.adt.cts.WorkbenchBuilder('noconnection') abap_object_elem = Element(ABAP_OBJECT_ATTRIBUTES, []) task_elem = Element(NW_752_SP2_TASK_ATTRIBUTES, [abap_object_elem]) transport = builder.process_transport_xml( Element(NW_752_SP2_TRANSPORT_ATTRIBUTES, [task_elem])) self.assert_trasport_equal(transport) self.assert_task_equal(transport.tasks[0])
def test_process_task_752_sp2(self): builder = sap.adt.cts.WorkbenchBuilder('noconnection') task = builder.process_task_xml( Element(TASK_ATTRIBUTES, [Element(ABAP_OBJECT_ATTRIBUTES, [])])) self.assert_task_equal(task)
def test_process_abap_object(self): builder = sap.adt.cts.WorkbenchBuilder('noconnection') wb_object = builder.process_abap_object_xml( Element(ABAP_OBJECT_ATTRIBUTES, [])) self.assertEqual(wb_object, WORKBENCH_ABAP_OBJECT)