示例#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 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
示例#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 req statistics object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
     self.__ofile = None
     tracer.debug("Finished.")
示例#5
0
 def cmad_topic_continuum_pre(self, _):
     '''Write out the one and only dependency to all the requirements.'''
     tracer.debug("Called.")
     CreateMakeDependencies.write_reqs_dep(self._cmad_file,
                                           self._output_filename)
     self._cmad_file.write(u"REQS_LATEX2=%s\n" %
                           self._output_filename)
示例#6
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.")
示例#7
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)
示例#8
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.")
示例#9
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()
示例#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
 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 = ""
示例#12
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", ])
示例#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
 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 = []
示例#15
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
示例#16
0
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.debug("Called: html ouput module constructed.")
     self._config = Cfg(oconfig)
     CreateMakeDependencies.__init__(self)
     self.__fd_stack = []
     self.__topic_name_set = []
     # Take care about the openess of the ul.
     self.__ul_open_stack = []
     self.__output_directory = self._config.get_rvalue('output_directory')
     self.html_header_filename = self._config.get_rvalue('header')
     self.html_footer_filename = self._config.get_rvalue('footer')
     self.read_html_arts()
示例#17
0
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.debug("Called: html ouput module constructed.")
     self._config = Cfg(oconfig)
     CreateMakeDependencies.__init__(self)
     self.__fd_stack = []
     self.__topic_name_set = []
     # Take care about the openess of the ul.
     self.__ul_open_stack = []
     self.__output_directory = self._config.get_rvalue('output_directory')
     self.html_header_filename = self._config.get_rvalue('header')
     self.html_footer_filename = self._config.get_rvalue('footer')
     self.read_html_arts()
示例#18
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
示例#19
0
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.info("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
示例#20
0
 def cmad_topic_continuum_pre(self, _):
     """Write out the one and only dependency to all the requirements."""
     tracer.debug("Called.")
     CreateMakeDependencies.write_reqs_dep(self._cmad_file, self._output_filename)
示例#21
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
示例#22
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
示例#23
0
 def cmad_topic_continuum_pre(self, _):
     '''Write out the one and only dependency to all the requirements.'''
     tracer.debug("Called.")
     CreateMakeDependencies.write_reqs_dep(self._cmad_file,
                                           self._output_filename)
示例#24
0
 def __init__(self, oconfig):
     '''Create a prios output object.'''
     tracer.info("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)
示例#25
0
文件: tlp1.py 项目: samjaninf/rmtoo
 def __init__(self, oconfig):
     '''Create a graph output object.'''
     tracer.debug("Called.")
     StdOutputParams.__init__(self, oconfig)
     CreateMakeDependencies.__init__(self)