コード例 #1
0
 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')
コード例 #2
0
 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")