56 'test_expected.pdf.0.png',
57 'test_expected_win.pdf.1.png',
58 'test_expected_agg.pdf.3.png',
59 'test_expected_agg_linux.pdf.3.png',
60 'test_expected_skia.pdf.2.png',
61 'test_expected_skia_mac.pdf.4.png',
62 'test_expected_gdi_agg.pdf.3.png',
63 'test_expected_gdi_agg_win.pdf.4.png',
64 'test_expected_gdi_skia.pdf.10.png',
65 'test_expected_gdi_skia_linux.pdf.5.png',
66 'test_expected_gdi.pdf.99.png',
67 'test_expected_gdi_mac.pdf.0.png',
72 'test1_expected.0.png',
73 'test2_expected.pdf.png',
74 'test3_expected.pdf.x.png',
75 'test4_expected_agg_gdi.pdf.0.png',
76 'test4_expected_linux_agg.pdf.0.png',
77 'test4_expected_mac_skia.pdf.0.png',
78 'test4_expected_skia_gdi.pdf.0.png',
79 'test5_expected_useskia.pdf.0.png',
80 'test6_expected_win_mac.pdf.0.png',
81 'test7_expected_agg_skia.pdf.0.png',
85 mock_input_api.files =
map(MockFile, correct_paths + wrong_paths)
89 self.assertEqual(len(wrong_paths), len(errors))
90 self.assertFalse(
'notpng.cc' in errors[0])
91 for path, error
in zip(wrong_paths, errors):
92 self.assertIn(path, error)