def setUpClass(cls):
     project = get_project(cls.datadir)
     linker = Linker(project)
     handler = DiadefsHandler(CONFIG)
     dd = DefaultDiadefGenerator(linker, handler).visit(project)
     for diagram in dd:
         diagram.extract_relationships()
     writer = DotWriter(CONFIG)
     writer.write(dd)
 def setUpClass(cls):
     project = get_project(os.path.join(os.path.dirname(__file__), 'data'))
     linker = Linker(project)
     handler = DiadefsHandler(CONFIG)
     dd = DefaultDiadefGenerator(linker, handler).visit(project)
     for diagram in dd:
         diagram.extract_relationships()
     writer = DotWriter(CONFIG)
     writer.write(dd)
 def setUpClass(cls):
     project = get_project(cls.datadir)
     linker = Linker(project)
     handler = DiadefsHandler(CONFIG)
     dd = DefaultDiadefGenerator(linker, handler).visit(project)
     for diagram in dd:
         diagram.extract_relationships()
     writer = DotWriter(CONFIG)
     writer.write(dd)
def setup():
    project = get_project(os.path.join(os.path.dirname(__file__), "data"))
    linker = Linker(project)
    CONFIG = Config()
    handler = DiadefsHandler(CONFIG)
    dd = DefaultDiadefGenerator(linker, handler).visit(project)
    for diagram in dd:
        diagram.extract_relationships()
    writer = DotWriter(CONFIG)
    writer.write(dd)
    yield
    for fname in DOT_FILES:
        try:
            os.remove(fname)
        except:
            continue
def setup():
    project = get_project(os.path.join(os.path.dirname(__file__), "data"))
    linker = Linker(project)
    CONFIG = Config()
    handler = DiadefsHandler(CONFIG)
    dd = DefaultDiadefGenerator(linker, handler).visit(project)
    for diagram in dd:
        diagram.extract_relationships()
    writer = DotWriter(CONFIG)
    writer.write(dd)
    yield
    for fname in DOT_FILES:
        try:
            os.remove(fname)
        except:
            continue
예제 #6
0
 def setUpClass(cls):
     project = get_project(os.path.join(os.path.dirname(__file__), 'data'))
     linker = Linker(project)
     handler = DiadefsHandler(CONFIG)
     cls.dd = DefaultDiadefGenerator(linker, handler).visit(project)
     for diagram in cls.dd:
         diagram.extract_relationships()
     cls.writer = DotWriter(STDOUT_CONFIG)
     cls.package_diagram = cls.dd[0]
     cls.class_diagram = cls.dd[1]
 def setUp(self):
     FileTC.setUp(self)
     writer = DotWriter(config)
     writer.write(dd)
예제 #8
0
 def setUp(self):
     FileTC.setUp(self)
     writer = DotWriter(config)
     writer.write(dd)