Home
last modified time | relevance | path

Searched refs:assertCodeEqual (Results 1 – 11 of 11) sorted by relevance

/external/yapf/yapftests/
Dreformatter_buganizer_test.py39 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
57 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
76 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
103 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
120 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
132 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
153 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
191 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
204 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
224 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
[all …]
Dreformatter_basic_test.py57 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
70 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
78 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
107 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
122 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
134 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
174 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
227 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
234 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
246 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
[all …]
Dreformatter_facebook_test.py42 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
58 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
74 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
95 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
107 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
145 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
164 self.assertCodeEqual(pass1_code, reformatter.Reformat(uwlines))
175 self.assertCodeEqual(pass2_code, reformatter.Reformat(uwlines))
198 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
212 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
[all …]
Dreformatter_pep8_test.py41 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
50 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
65 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
77 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
89 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
99 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
123 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
139 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
159 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
172 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
[all …]
Dreformatter_python3_test.py48 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
60 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
77 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
89 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
95 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
117 self.assertCodeEqual(code, reformatter.Reformat(uwlines, verify=False))
131 self.assertCodeEqual(expected_formatted_code,
149 self.assertCodeEqual(expected_formatted_code,
172 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
182 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
[all …]
Dblank_line_calculator_test.py45 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
81 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
126 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
192 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
203 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
216 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
226 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
237 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
254 self.assertCodeEqual(code, reformatter.Reformat(uwlines))
278 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
[all …]
Dyapf_test.py71 def assertCodeEqual(self, expected_code, code): member in FormatFileTest
96 self.assertCodeEqual(expected_formatted_code_pep8, formatted_code)
100 self.assertCodeEqual(expected_formatted_code_chromium, formatted_code)
121 self.assertCodeEqual(expected_formatted_code, formatted_code)
144 self.assertCodeEqual(expected_formatted_code, formatted_code)
172 self.assertCodeEqual(expected_formatted_code, formatted_code)
188 self.assertCodeEqual(code, formatted_code)
215 self.assertCodeEqual(expected_formatted_code_lines1and2, formatted_code)
218 self.assertCodeEqual(expected_formatted_code_lines3, formatted_code)
237 self.assertCodeEqual(formatted_code, fd.read().decode('ascii'))
[all …]
Dreformatter_style_config_test.py42 self.assertCodeEqual(expected_formatted_code,
57 self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
73 self.assertCodeEqual(expected_formatted_code,
Dreformatter_verify_test.py54 self.assertCodeEqual(expected_formatted_code,
83 self.assertCodeEqual(expected_formatted_code,
103 self.assertCodeEqual(expected_formatted_code,
Dline_joiner_test.py39 self.assertCodeEqual(line_joiner.CanMergeMultipleLines(uwlines), join_lines)
Dyapf_test_helper.py34 def assertCodeEqual(self, expected_code, code): member in YAPFTest