def setUp(self): self.section = Section('test section') self.uut = CheckstyleBear.CheckstyleBear(self.section, Queue()) test_files = os.path.join(os.path.dirname(__file__), 'test_files') self.good_file = os.path.join(test_files, 'CheckstyleGood.java') self.bad_file = os.path.join(test_files, 'CheckstyleBad.java') self.empty_config = os.path.join(test_files, 'checkstyle_empty_config.xml')
def setUp(self): self.section = Section("test section") self.uut = CheckstyleBear.CheckstyleBear(self.section, Queue()) test_files = os.path.join(os.path.dirname(__file__), "test_files") self.good_file = os.path.join(test_files, "CheckstyleGood.java") self.bad_file = os.path.join(test_files, "CheckstyleBad.java") self.empty_config = os.path.join(test_files, "checkstyle_empty_config.xml")