def testReporter(self):
     project = Project()
     project.add_config('reporter', self.reporter_path)
     # Check the synthesis reporter
     self.assertTrue(
         callable(project.get_reporter())
     )
 def testReporter(self):
     project = Project()
     XmlProjectParser.load_project(self.project_path, project)
     # Check the synthesis reporter
     self.assertTrue(
         callable(project.get_reporter())
     )
Esempio n. 3
0
 def test_reporter(self):
     project = Project()
     project.add_config('reporter', self.reporter_path)
     # Check the synthesis reporter
     self.assertTrue(
         callable(project.get_reporter())
     )
Esempio n. 4
0
 def test_reporter(self):
     project = Project()
     project.load_project(self.project_path)
     # Check the synthesis reporter
     self.assertTrue(
         callable(project.get_reporter())
     )
 def testReporter(self):
     """If the user incorrectly defines a reporter it should fail gracefully
     and return None."""
     project = Project()
     project.add_config('reporter', self.reporter_path)
     self.assertIsNone(
         project.get_reporter()
     )
Esempio n. 6
0
 def test_reporter(self):
     """If the user incorrectly defines a reporter it should fail gracefully
     and return None."""
     project = Project()
     project.add_config('reporter', self.reporter_path)
     self.assertIsNone(
         project.get_reporter()
     )
Esempio n. 7
0
 def testReporter(self):
     project = Project()
     XmlProjectParser.load_project(self.project_path, project)
     # Check the synthesis reporter
     self.assertTrue(callable(project.get_reporter()))