HomeSort by relevance Sort by last modified time
    Searched refs:single_line_view (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
cpp_unittest.py 168 single_line_view = cpp_style.SingleLineView(['0', 'abcde', 'fgh', 'i'], start_position, end_position)
169 self.assertEqual(single_line_view.single_line, 'bcde fgh i')
170 self.assertEqual(single_line_view.convert_column_to_row(0), 1)
171 self.assertEqual(single_line_view.convert_column_to_row(4), 1)
172 self.assertEqual(single_line_view.convert_column_to_row(5), 2)
173 self.assertEqual(single_line_view.convert_column_to_row(8), 2)
174 self.assertEqual(single_line_view.convert_column_to_row(9), 3)
175 self.assertEqual(single_line_view.convert_column_to_row(100), 3)
179 single_line_view = cpp_style.SingleLineView(['abcdef'], start_position, end_position)
180 self.assertEqual(single_line_view.single_line, 'd'
    [all...]
cpp.py 506 single_line_view = SingleLineView(elided_lines, start_position, end_position)
507 skeleton_parameters = create_skeleton_parameters(single_line_view.single_line)
518 row = single_line_view.convert_column_to_row(end_index)
523 parameter = single_line_view.single_line[start_index:end_index]
    [all...]

Completed in 378 milliseconds