| Total Complexity | 2 | 
| Total Lines | 17 | 
| Duplicated Lines | 0 % | 
| 1 | import os  | 
            ||
| 13 | class CSharpLintBearTest(LocalBearTestHelper):  | 
            ||
| 14 | def setUp(self):  | 
            ||
| 15 |         self.section = Section("test section") | 
            ||
| 16 | self.uut = CSharpLintBear(self.section, Queue())  | 
            ||
| 17 | self.test_file1 = os.path.join(os.path.dirname(__file__),  | 
            ||
| 18 | "test_files",  | 
            ||
| 19 | "csharplint_test1.cs")  | 
            ||
| 20 | self.test_file2 = os.path.join(os.path.dirname(__file__),  | 
            ||
| 21 | "test_files",  | 
            ||
| 22 | "csharplint_test2.cs")  | 
            ||
| 23 | |||
| 24 | def test_run(self):  | 
            ||
| 25 | # Test a file with no issues  | 
            ||
| 26 | self.assertLinesValid(self.uut, [], self.test_file1)  | 
            ||
| 27 | |||
| 28 | # Test a file with issues  | 
            ||
| 29 | self.assertLinesInvalid(self.uut, [], self.test_file2)  | 
            ||
| 30 | |||
| 44 |