Ejemplo n.º 1
0
    def __init__(self, p_def=None):

        self.id = p_def["id"] if p_def else None
        self.window_mark = p_def["window_mark"] if p_def else None
        self.window_desc = p_def["window_desc"] if p_def else None
        self.comment = p_def["comment"] if p_def else None
        self.create_time = OrcCover.str2time(p_def["create_time"]) if p_def else None
        self.modify_time = OrcCover.str2time(p_def["modify_time"]) if p_def else None
Ejemplo n.º 2
0
    def __init__(self, p_def=None):

        self.id = p_def["id"] if p_def else None
        self.page_flag = p_def["page_flag"] if p_def else None
        self.page_desc = p_def["page_desc"] if p_def else None
        self.comment = p_def["comment"] if p_def else None
        self.create_time = OrcCover.str2time(p_def["create_time"]) if p_def else None
        self.modify_time = OrcCover.str2time(p_def["modify_time"]) if p_def else None
Ejemplo n.º 3
0
    def __init__(self, p_def=None):

        self.id = p_def["id"] if p_def else None
        self.page_id = p_def["page_id"] if p_def else None
        self.page_env = p_def["page_env"] if p_def else None
        self.page_url = p_def["page_url"] if p_def else None
        self.comment = p_def["comment"] if p_def else None
        self.create_time = OrcCover.str2time(p_def["create_time"]) if p_def else None
        self.modify_time = OrcCover.str2time(p_def["modify_time"]) if p_def else None
Ejemplo n.º 4
0
    def __init__(self, p_def=None):

        self.id = p_def["id"] if p_def else None
        self.item_type = p_def["item_type"] if p_def else None
        self.item_mode = p_def["item_mode"] if p_def else None
        self.item_operate = p_def["item_operate"] if p_def else None
        self.item_desc = p_def["item_desc"] if p_def else None
        self.comment = p_def["comment"] if p_def else None
        self.create_time = OrcCover.str2time(p_def["create_time"]) if p_def else None
        self.modify_time = OrcCover.str2time(p_def["modify_time"]) if p_def else None
Ejemplo n.º 5
0
    def __init__(self, p_def=None):

        self.id = p_def["id"] if p_def else None
        self.pid = p_def["pid"] if p_def else None
        self.batch_no = p_def["batch_no"] if p_def else None
        self.batch_type = p_def["batch_type"] if p_def else None
        self.batch_name = p_def["batch_name"] if p_def else None
        self.batch_desc = p_def["batch_desc"] if p_def else None
        self.comment = p_def["comment"] if p_def else None
        self.create_time = OrcCover.str2time(p_def["create_time"]) if p_def else None
        self.modify_time = OrcCover.str2time(p_def["modify_time"]) if p_def else None
Ejemplo n.º 6
0
    def __init__(self, p_def=None):

        self.id = p_def["id"] if p_def else None
        self.widget_id = p_def["widget_id"] if p_def else None
        self.widget_order = p_def["widget_order"] if p_def else None
        self.widget_attr_type = p_def["widget_attr_type"] if p_def else None
        self.widget_attr_value = p_def["widget_attr_value"] if p_def else None
        self.widget_desc = p_def["widget_desc"] if p_def else None
        self.comment = p_def["comment"] if p_def else None
        self.create_time = OrcCover.str2time(p_def["create_time"]) if p_def else None
        self.modify_time = OrcCover.str2time(p_def["modify_time"]) if p_def else None
Ejemplo n.º 7
0
    def __init__(self, p_def=None):

        self.id = p_def["id"] if p_def else None
        self.pid = p_def["pid"] if p_def else None
        self.widget_flag = p_def["widget_flag"] if p_def else None
        self.widget_path = p_def["widget_path"] if p_def else None
        self.widget_type = p_def["widget_type"] if p_def else None
        self.widget_desc = p_def["widget_desc"] if p_def else None
        self.comment = p_def["comment"] if p_def else None
        self.create_time = OrcCover.str2time(p_def["create_time"]) if p_def else None
        self.modify_time = OrcCover.str2time(p_def["modify_time"]) if p_def else None
Ejemplo n.º 8
0
    def __init__(self, p_def=None):

        self.id = p_def["id"] if p_def else None
        self.test_env = p_def["test_env"] if p_def else None
        self.src_id = p_def["src_id"] if p_def else None
        self.src_type = p_def["src_type"] if p_def else None
        self.step_order = p_def["step_order"] if p_def else None
        self.data_flag = p_def["data_flag"] if p_def else None
        self.data_order = p_def["data_order"] if p_def else None
        self.data_type = p_def["data_type"] if p_def else None
        self.data_mode = p_def["data_mode"] if p_def else None
        self.data_value = p_def["data_value"] if p_def else None
        self.comment = p_def["comment"] if p_def else None
        self.create_time = OrcCover.str2time(p_def["create_time"]) if p_def else None
        self.modify_time = OrcCover.str2time(p_def["modify_time"]) if p_def else None
Ejemplo n.º 9
0
    def __init__(self, p_def=None):

        self.id = p_def["id"] if p_def else None
        self.step_id = p_def["step_id"] if p_def else None
        self.item_id = p_def["item_id"] if p_def else None
        self.item_no = p_def["item_no"] if p_def else None
        self.create_time = OrcCover.str2time(p_def["create_time"]) if p_def else None
Ejemplo n.º 10
0
    def test_char2time_01(self):
        """
        Test get exist option
        """
        OrcTest.test_print_begin()

        _lib = OrcCover()
        _res = _lib.str2time("2016-09-19 17:32:47")

        OrcTest.test_print_result(_res)
        OrcTest.test_print_end()
Ejemplo n.º 11
0
    def __init__(self, p_def=None):

        self.id = p_def["id"] if p_def else None
        self.batch_id = p_def["batch_id"] if p_def else None
        self.case_id = p_def["case_id"] if p_def else None
        self.create_time = OrcCover.str2time(p_def["create_time"]) if p_def else None