예제 #1
0
    def __init__(self, oconfig):
        '''Create a graph output object.'''
        tracer.info("Called.")
        StdOutputParams.__init__(self, oconfig)
        CreateMakeDependencies.__init__(self)
        self.__ce3set = None
        self.__fd = None
        self.__constraints_reqs_ref = {}
        self.__testcases = None

        # Jinja2 initialisation
        template_loader = jinja2.FileSystemLoader(
            searchpath=oconfig['template_path'])
        template_env_unmodded = jinja2.Environment(loader=template_loader)
        self._template_env = template_env_unmodded.overlay(
            block_start_string='((*',
            block_end_string='*))',
            variable_start_string='(((',
            variable_end_string=')))',
            comment_start_string='((=',
            comment_end_string='=))')

        if not self._config.is_available('req_attributes'):
            self._config.set_value('req_attributes', [
                "Id", "Priority", "Owner", "Invented on", "Invented by",
                "Status", "Class"
            ])
        self.__level = -1
예제 #2
0
 def __init__(self, oconfig):
     """Create a req statistics object."""
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__ofile = None
     tracer.debug("Finished.")
예제 #3
0
 def __init__(self, oconfig):
     '''Create a req statistics object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__ofile = None
     tracer.debug("Finished.")
예제 #4
0
    def __init__(self, oconfig):
        '''Create a graph output object.'''
        tracer.info("Called.")
        StdOutputParams.__init__(self, oconfig)
        CreateMakeDependencies.__init__(self)
        self.__ce3set = None
        self.__fd = None
        self.__constraints_reqs_ref = {}
        self.__testcases = None

        # Jinja2 initialisation
        template_loader = jinja2.FileSystemLoader(
                searchpath=oconfig['template_path'])
        template_env_unmodded = jinja2.Environment(loader=template_loader)
        self._template_env = template_env_unmodded.overlay(
            block_start_string='((*',
            block_end_string='*))',
            variable_start_string='(((',
            variable_end_string=')))',
            comment_start_string='((=',
            comment_end_string='=))')

        if not self._config.is_available('req_attributes'):
            self._config.set_value(
                'req_attributes',
                ["Id", "Priority", "Owner", "Invented on",
                 "Invented by", "Status", "Class"])
        self.__level = -1
예제 #5
0
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__ofile = None
     tracer.debug("Finished.")
예제 #6
0
파일: xls.py 프로젝트: kown7/rmtoo
 def __init__(self, oconfig):
     """Create an openpyxl output object."""
     tracer.info("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__ce3set = None
     self.__fd = None
     self._opiface = XlsHandler(self._output_filename, self._config)
예제 #7
0
 def __init__(self, oconfig):
     '''Create a usage statistics object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__ofile = None
     self.__stats = {}
     tracer.debug("Finished.")
예제 #8
0
 def __init__(self, oconfig):
     '''Create a oopricing output object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.doc_styles = {}
     self.__used_vcs_id = None
     self.__setup_coord_lookup()
예제 #9
0
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__output_file = None
     self.__ident = ""
     self.__level = 0
     self.__req_dep_graph = ""
예제 #10
0
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__output_file = None
     self.__ident = ""
     self.__level = 0
     self.__req_dep_graph = ""
예제 #11
0
파일: graph.py 프로젝트: samjaninf/rmtoo
    def __init__(self, oconfig):
        '''Create a graph output object.'''
        tracer.info("Called.")
        StdOutputParams.__init__(self, oconfig)
        CreateMakeDependencies.__init__(self)
        self.__used_vcs_id = None
        self.__output_file = None

        if not self._config.is_available('node_attributes'):
            self._config.set_value('node_attributes',
                ["Type", "Status", "Class", "Topic", "Priority", ])
예제 #12
0
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__fd = None
     self.effort_factor = self._config.get_value_default('effort_factor', 1)
     self.req_ids = {}
     self.next_id = 1
     self.__xml_doc = None
     self.__xml_obj_stack = []
예제 #13
0
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__fd = None
     self.effort_factor = self._config.get_value_default('effort_factor', 1)
     self.req_ids = {}
     self.next_id = 1
     self.__xml_doc = None
     self.__xml_obj_stack = []
예제 #14
0
파일: latex2.py 프로젝트: hagenw/ltfat
    def __init__(self, oconfig):
        """Create a graph output object."""
        tracer.info("Called.")
        StdOutputParams.__init__(self, oconfig)
        CreateMakeDependencies.__init__(self)
        self.__ce3set = None
        self.__fd = None

        if not self._config.is_available("req_attributes"):
            self._config.set_value(
                "req_attributes", ["Id", "Priority", "Owner", "Invented on", "Invented by", "Status", "Class"]
            )
        self.__level = -1
예제 #15
0
파일: latex2.py 프로젝트: vibhutesh/otfs
    def __init__(self, oconfig):
        '''Create a graph output object.'''
        tracer.info("Called.")
        StdOutputParams.__init__(self, oconfig)
        CreateMakeDependencies.__init__(self)
        self.__ce3set = None
        self.__fd = None

        if not self._config.is_available('req_attributes'):
            self._config.set_value('req_attributes', [
                "Id", "Priority", "Owner", "Invented on", "Invented by",
                "Status", "Class"
            ])
        self.__level = -1
예제 #16
0
파일: version1.py 프로젝트: apre/rmtoo
 def __init__(self, oconfig):
     '''Create a version1 output object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__used_vcs_id = None
예제 #17
0
 def __init__(self, oconfig):
     '''Create a version1 output object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__used_vcs_id = None
예제 #18
0
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.info("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
예제 #19
0
 def __init__(self, oconfig):
     '''Create a prios output object.'''
     tracer.info("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
예제 #20
0
파일: tlp1.py 프로젝트: samjaninf/rmtoo
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)