(self)
| 56 | self.assertIn('does not use "Context"', output); |
| 57 | |
| 58 | def test_unsorted(self): |
| 59 | with captured_output() as (out, _err): |
| 60 | self.assertEqual(is_valid(path.join(self.fixturesDir, 'unsorted.cc')), |
| 61 | False) |
| 62 | output = out.getvalue() |
| 63 | self.assertIn('using statements aren\'t sorted in', output); |
| 64 | self.assertIn('Line 1: Actual: v8::MaybeLocal, Expected: v8::Array', |
| 65 | output); |
| 66 | self.assertIn('Line 2: Actual: v8::Array, Expected: v8::MaybeLocal', |
| 67 | output); |
| 68 | |
| 69 | def test_valid(self): |
| 70 | with captured_output() as (out, _err): |
nothing calls this directly
no test coverage detected