terminal_search_test.mocks.dart 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. // Mocks generated by Mockito 5.0.15 from annotations
  2. // in xterm/test/terminal/terminal_search_test.dart.
  3. // Do not manually edit this file.
  4. import 'package:mockito/mockito.dart' as _i1;
  5. import 'package:xterm/buffer/buffer.dart' as _i2;
  6. import 'package:xterm/buffer/line/line.dart' as _i5;
  7. import 'package:xterm/terminal/charset.dart' as _i3;
  8. import 'package:xterm/terminal/cursor.dart' as _i9;
  9. import 'package:xterm/terminal/terminal_search_interaction.dart' as _i7;
  10. import 'package:xterm/util/circular_list.dart' as _i4;
  11. import 'package:xterm/util/scroll_range.dart' as _i6;
  12. import 'terminal_search_test.dart' as _i8;
  13. // ignore_for_file: avoid_redundant_argument_values
  14. // ignore_for_file: avoid_setters_without_getters
  15. // ignore_for_file: comment_references
  16. // ignore_for_file: implementation_imports
  17. // ignore_for_file: invalid_use_of_visible_for_testing_member
  18. // ignore_for_file: prefer_const_constructors
  19. // ignore_for_file: unnecessary_parenthesis
  20. // ignore_for_file: camel_case_types
  21. class _FakeBuffer_0 extends _i1.Fake implements _i2.Buffer {}
  22. class _FakeCharset_1 extends _i1.Fake implements _i3.Charset {}
  23. class _FakeCircularList_2<T> extends _i1.Fake implements _i4.CircularList<T> {}
  24. class _FakeBufferLine_3 extends _i1.Fake implements _i5.BufferLine {}
  25. class _FakeScrollRange_4 extends _i1.Fake implements _i6.ScrollRange {}
  26. class _FakeBufferLineData_5 extends _i1.Fake implements _i5.BufferLineData {}
  27. /// A class which mocks [TerminalSearchInteraction].
  28. ///
  29. /// See the documentation for Mockito's code generation for more information.
  30. class MockTerminalSearchInteraction extends _i1.Mock
  31. implements _i7.TerminalSearchInteraction {
  32. MockTerminalSearchInteraction() {
  33. _i1.throwOnMissingStub(this);
  34. }
  35. @override
  36. _i2.Buffer get buffer => (super.noSuchMethod(Invocation.getter(#buffer),
  37. returnValue: _FakeBuffer_0()) as _i2.Buffer);
  38. @override
  39. int get terminalWidth =>
  40. (super.noSuchMethod(Invocation.getter(#terminalWidth), returnValue: 0)
  41. as int);
  42. @override
  43. bool isUsingAltBuffer() =>
  44. (super.noSuchMethod(Invocation.method(#isUsingAltBuffer, []),
  45. returnValue: false) as bool);
  46. @override
  47. String toString() => super.toString();
  48. }
  49. /// A class which mocks [Buffer].
  50. ///
  51. /// See the documentation for Mockito's code generation for more information.
  52. class MockBuffer extends _i1.Mock implements _i2.Buffer {
  53. MockBuffer() {
  54. _i1.throwOnMissingStub(this);
  55. }
  56. @override
  57. bool get isAltBuffer =>
  58. (super.noSuchMethod(Invocation.getter(#isAltBuffer), returnValue: false)
  59. as bool);
  60. @override
  61. _i3.Charset get charset => (super.noSuchMethod(Invocation.getter(#charset),
  62. returnValue: _FakeCharset_1()) as _i3.Charset);
  63. @override
  64. _i4.CircularList<_i5.BufferLine> get lines =>
  65. (super.noSuchMethod(Invocation.getter(#lines),
  66. returnValue: _FakeCircularList_2<_i5.BufferLine>())
  67. as _i4.CircularList<_i5.BufferLine>);
  68. @override
  69. set lines(_i4.CircularList<_i5.BufferLine>? _lines) =>
  70. super.noSuchMethod(Invocation.setter(#lines, _lines),
  71. returnValueForMissingStub: null);
  72. @override
  73. int get viewHeight =>
  74. (super.noSuchMethod(Invocation.getter(#viewHeight), returnValue: 0)
  75. as int);
  76. @override
  77. int get viewWidth =>
  78. (super.noSuchMethod(Invocation.getter(#viewWidth), returnValue: 0)
  79. as int);
  80. @override
  81. int get scrollOffsetFromBottom =>
  82. (super.noSuchMethod(Invocation.getter(#scrollOffsetFromBottom),
  83. returnValue: 0) as int);
  84. @override
  85. int get scrollOffsetFromTop => (super
  86. .noSuchMethod(Invocation.getter(#scrollOffsetFromTop), returnValue: 0)
  87. as int);
  88. @override
  89. bool get isUserScrolling => (super
  90. .noSuchMethod(Invocation.getter(#isUserScrolling), returnValue: false)
  91. as bool);
  92. @override
  93. int get cursorX =>
  94. (super.noSuchMethod(Invocation.getter(#cursorX), returnValue: 0) as int);
  95. @override
  96. int get cursorY =>
  97. (super.noSuchMethod(Invocation.getter(#cursorY), returnValue: 0) as int);
  98. @override
  99. int get marginTop =>
  100. (super.noSuchMethod(Invocation.getter(#marginTop), returnValue: 0)
  101. as int);
  102. @override
  103. int get marginBottom =>
  104. (super.noSuchMethod(Invocation.getter(#marginBottom), returnValue: 0)
  105. as int);
  106. @override
  107. _i5.BufferLine get currentLine =>
  108. (super.noSuchMethod(Invocation.getter(#currentLine),
  109. returnValue: _FakeBufferLine_3()) as _i5.BufferLine);
  110. @override
  111. int get height =>
  112. (super.noSuchMethod(Invocation.getter(#height), returnValue: 0) as int);
  113. @override
  114. bool get hasScrollableRegion =>
  115. (super.noSuchMethod(Invocation.getter(#hasScrollableRegion),
  116. returnValue: false) as bool);
  117. @override
  118. bool get isInScrollableRegion =>
  119. (super.noSuchMethod(Invocation.getter(#isInScrollableRegion),
  120. returnValue: false) as bool);
  121. @override
  122. void write(String? text) =>
  123. super.noSuchMethod(Invocation.method(#write, [text]),
  124. returnValueForMissingStub: null);
  125. @override
  126. void writeChar(int? codePoint) =>
  127. super.noSuchMethod(Invocation.method(#writeChar, [codePoint]),
  128. returnValueForMissingStub: null);
  129. @override
  130. _i5.BufferLine getViewLine(int? index) =>
  131. (super.noSuchMethod(Invocation.method(#getViewLine, [index]),
  132. returnValue: _FakeBufferLine_3()) as _i5.BufferLine);
  133. @override
  134. int convertViewLineToRawLine(int? viewLine) => (super.noSuchMethod(
  135. Invocation.method(#convertViewLineToRawLine, [viewLine]),
  136. returnValue: 0) as int);
  137. @override
  138. int convertRawLineToViewLine(int? rawLine) => (super.noSuchMethod(
  139. Invocation.method(#convertRawLineToViewLine, [rawLine]),
  140. returnValue: 0) as int);
  141. @override
  142. void newLine() => super.noSuchMethod(Invocation.method(#newLine, []),
  143. returnValueForMissingStub: null);
  144. @override
  145. void carriageReturn() =>
  146. super.noSuchMethod(Invocation.method(#carriageReturn, []),
  147. returnValueForMissingStub: null);
  148. @override
  149. void backspace() => super.noSuchMethod(Invocation.method(#backspace, []),
  150. returnValueForMissingStub: null);
  151. @override
  152. List<_i5.BufferLine> getVisibleLines() =>
  153. (super.noSuchMethod(Invocation.method(#getVisibleLines, []),
  154. returnValue: <_i5.BufferLine>[]) as List<_i5.BufferLine>);
  155. @override
  156. void eraseDisplayFromCursor() =>
  157. super.noSuchMethod(Invocation.method(#eraseDisplayFromCursor, []),
  158. returnValueForMissingStub: null);
  159. @override
  160. void eraseDisplayToCursor() =>
  161. super.noSuchMethod(Invocation.method(#eraseDisplayToCursor, []),
  162. returnValueForMissingStub: null);
  163. @override
  164. void eraseDisplay() =>
  165. super.noSuchMethod(Invocation.method(#eraseDisplay, []),
  166. returnValueForMissingStub: null);
  167. @override
  168. void eraseLineFromCursor() =>
  169. super.noSuchMethod(Invocation.method(#eraseLineFromCursor, []),
  170. returnValueForMissingStub: null);
  171. @override
  172. void eraseLineToCursor() =>
  173. super.noSuchMethod(Invocation.method(#eraseLineToCursor, []),
  174. returnValueForMissingStub: null);
  175. @override
  176. void eraseLine() => super.noSuchMethod(Invocation.method(#eraseLine, []),
  177. returnValueForMissingStub: null);
  178. @override
  179. void eraseCharacters(int? count) =>
  180. super.noSuchMethod(Invocation.method(#eraseCharacters, [count]),
  181. returnValueForMissingStub: null);
  182. @override
  183. _i6.ScrollRange getAreaScrollRange() =>
  184. (super.noSuchMethod(Invocation.method(#getAreaScrollRange, []),
  185. returnValue: _FakeScrollRange_4()) as _i6.ScrollRange);
  186. @override
  187. void areaScrollDown(int? lines) =>
  188. super.noSuchMethod(Invocation.method(#areaScrollDown, [lines]),
  189. returnValueForMissingStub: null);
  190. @override
  191. void areaScrollUp(int? lines) =>
  192. super.noSuchMethod(Invocation.method(#areaScrollUp, [lines]),
  193. returnValueForMissingStub: null);
  194. @override
  195. void index() => super.noSuchMethod(Invocation.method(#index, []),
  196. returnValueForMissingStub: null);
  197. @override
  198. void reverseIndex() =>
  199. super.noSuchMethod(Invocation.method(#reverseIndex, []),
  200. returnValueForMissingStub: null);
  201. @override
  202. void cursorGoForward() =>
  203. super.noSuchMethod(Invocation.method(#cursorGoForward, []),
  204. returnValueForMissingStub: null);
  205. @override
  206. void setCursorX(int? cursorX) =>
  207. super.noSuchMethod(Invocation.method(#setCursorX, [cursorX]),
  208. returnValueForMissingStub: null);
  209. @override
  210. void setCursorY(int? cursorY) =>
  211. super.noSuchMethod(Invocation.method(#setCursorY, [cursorY]),
  212. returnValueForMissingStub: null);
  213. @override
  214. void moveCursorX(int? offset) =>
  215. super.noSuchMethod(Invocation.method(#moveCursorX, [offset]),
  216. returnValueForMissingStub: null);
  217. @override
  218. void moveCursorY(int? offset) =>
  219. super.noSuchMethod(Invocation.method(#moveCursorY, [offset]),
  220. returnValueForMissingStub: null);
  221. @override
  222. void setPosition(int? cursorX, int? cursorY) =>
  223. super.noSuchMethod(Invocation.method(#setPosition, [cursorX, cursorY]),
  224. returnValueForMissingStub: null);
  225. @override
  226. void movePosition(int? offsetX, int? offsetY) =>
  227. super.noSuchMethod(Invocation.method(#movePosition, [offsetX, offsetY]),
  228. returnValueForMissingStub: null);
  229. @override
  230. void setScrollOffsetFromBottom(int? offsetFromBottom) => super.noSuchMethod(
  231. Invocation.method(#setScrollOffsetFromBottom, [offsetFromBottom]),
  232. returnValueForMissingStub: null);
  233. @override
  234. void setScrollOffsetFromTop(int? offsetFromTop) => super.noSuchMethod(
  235. Invocation.method(#setScrollOffsetFromTop, [offsetFromTop]),
  236. returnValueForMissingStub: null);
  237. @override
  238. void screenScrollUp(int? lines) =>
  239. super.noSuchMethod(Invocation.method(#screenScrollUp, [lines]),
  240. returnValueForMissingStub: null);
  241. @override
  242. void screenScrollDown(int? lines) =>
  243. super.noSuchMethod(Invocation.method(#screenScrollDown, [lines]),
  244. returnValueForMissingStub: null);
  245. @override
  246. void saveCursor() => super.noSuchMethod(Invocation.method(#saveCursor, []),
  247. returnValueForMissingStub: null);
  248. @override
  249. void restoreCursor() =>
  250. super.noSuchMethod(Invocation.method(#restoreCursor, []),
  251. returnValueForMissingStub: null);
  252. @override
  253. void setVerticalMargins(int? top, int? bottom) =>
  254. super.noSuchMethod(Invocation.method(#setVerticalMargins, [top, bottom]),
  255. returnValueForMissingStub: null);
  256. @override
  257. void resetVerticalMargins() =>
  258. super.noSuchMethod(Invocation.method(#resetVerticalMargins, []),
  259. returnValueForMissingStub: null);
  260. @override
  261. void deleteChars(int? count) =>
  262. super.noSuchMethod(Invocation.method(#deleteChars, [count]),
  263. returnValueForMissingStub: null);
  264. @override
  265. void clearScrollback() =>
  266. super.noSuchMethod(Invocation.method(#clearScrollback, []),
  267. returnValueForMissingStub: null);
  268. @override
  269. void clear() => super.noSuchMethod(Invocation.method(#clear, []),
  270. returnValueForMissingStub: null);
  271. @override
  272. void insertBlankCharacters(int? count) =>
  273. super.noSuchMethod(Invocation.method(#insertBlankCharacters, [count]),
  274. returnValueForMissingStub: null);
  275. @override
  276. void insertLines(int? count) =>
  277. super.noSuchMethod(Invocation.method(#insertLines, [count]),
  278. returnValueForMissingStub: null);
  279. @override
  280. void insertLine() => super.noSuchMethod(Invocation.method(#insertLine, []),
  281. returnValueForMissingStub: null);
  282. @override
  283. void deleteLines(int? count) =>
  284. super.noSuchMethod(Invocation.method(#deleteLines, [count]),
  285. returnValueForMissingStub: null);
  286. @override
  287. void deleteLine() => super.noSuchMethod(Invocation.method(#deleteLine, []),
  288. returnValueForMissingStub: null);
  289. @override
  290. void resize(int? oldWidth, int? oldHeight, int? newWidth, int? newHeight) =>
  291. super.noSuchMethod(
  292. Invocation.method(
  293. #resize, [oldWidth, oldHeight, newWidth, newHeight]),
  294. returnValueForMissingStub: null);
  295. @override
  296. dynamic adjustSavedCursor(int? dx, int? dy) =>
  297. super.noSuchMethod(Invocation.method(#adjustSavedCursor, [dx, dy]));
  298. @override
  299. String toString() => super.toString();
  300. }
  301. /// A class which mocks [TerminalSearchTestCircularList].
  302. ///
  303. /// See the documentation for Mockito's code generation for more information.
  304. class MockTerminalSearchTestCircularList extends _i1.Mock
  305. implements _i8.TerminalSearchTestCircularList {
  306. MockTerminalSearchTestCircularList() {
  307. _i1.throwOnMissingStub(this);
  308. }
  309. @override
  310. int get maxLength =>
  311. (super.noSuchMethod(Invocation.getter(#maxLength), returnValue: 0)
  312. as int);
  313. @override
  314. set maxLength(int? value) =>
  315. super.noSuchMethod(Invocation.setter(#maxLength, value),
  316. returnValueForMissingStub: null);
  317. @override
  318. int get length =>
  319. (super.noSuchMethod(Invocation.getter(#length), returnValue: 0) as int);
  320. @override
  321. set length(int? value) =>
  322. super.noSuchMethod(Invocation.setter(#length, value),
  323. returnValueForMissingStub: null);
  324. @override
  325. bool get isFull =>
  326. (super.noSuchMethod(Invocation.getter(#isFull), returnValue: false)
  327. as bool);
  328. @override
  329. void forEach(void Function(_i5.BufferLine)? callback) =>
  330. super.noSuchMethod(Invocation.method(#forEach, [callback]),
  331. returnValueForMissingStub: null);
  332. @override
  333. _i5.BufferLine operator [](int? index) =>
  334. (super.noSuchMethod(Invocation.method(#[], [index]),
  335. returnValue: _FakeBufferLine_3()) as _i5.BufferLine);
  336. @override
  337. void operator []=(int? index, _i5.BufferLine? value) =>
  338. super.noSuchMethod(Invocation.method(#[]=, [index, value]),
  339. returnValueForMissingStub: null);
  340. @override
  341. void clear() => super.noSuchMethod(Invocation.method(#clear, []),
  342. returnValueForMissingStub: null);
  343. @override
  344. void pushAll(Iterable<_i5.BufferLine>? items) =>
  345. super.noSuchMethod(Invocation.method(#pushAll, [items]),
  346. returnValueForMissingStub: null);
  347. @override
  348. void push(_i5.BufferLine? value) =>
  349. super.noSuchMethod(Invocation.method(#push, [value]),
  350. returnValueForMissingStub: null);
  351. @override
  352. _i5.BufferLine pop() => (super.noSuchMethod(Invocation.method(#pop, []),
  353. returnValue: _FakeBufferLine_3()) as _i5.BufferLine);
  354. @override
  355. void remove(int? index, [int? count = 1]) =>
  356. super.noSuchMethod(Invocation.method(#remove, [index, count]),
  357. returnValueForMissingStub: null);
  358. @override
  359. void insert(int? index, _i5.BufferLine? item) =>
  360. super.noSuchMethod(Invocation.method(#insert, [index, item]),
  361. returnValueForMissingStub: null);
  362. @override
  363. void insertAll(int? index, List<_i5.BufferLine>? items) =>
  364. super.noSuchMethod(Invocation.method(#insertAll, [index, items]),
  365. returnValueForMissingStub: null);
  366. @override
  367. void trimStart(int? count) =>
  368. super.noSuchMethod(Invocation.method(#trimStart, [count]),
  369. returnValueForMissingStub: null);
  370. @override
  371. void shiftElements(int? start, int? count, int? offset) => super.noSuchMethod(
  372. Invocation.method(#shiftElements, [start, count, offset]),
  373. returnValueForMissingStub: null);
  374. @override
  375. void replaceWith(List<_i5.BufferLine>? replacement) =>
  376. super.noSuchMethod(Invocation.method(#replaceWith, [replacement]),
  377. returnValueForMissingStub: null);
  378. @override
  379. List<_i5.BufferLine> toList() =>
  380. (super.noSuchMethod(Invocation.method(#toList, []),
  381. returnValue: <_i5.BufferLine>[]) as List<_i5.BufferLine>);
  382. @override
  383. String toString() => super.toString();
  384. }
  385. /// A class which mocks [BufferLine].
  386. ///
  387. /// See the documentation for Mockito's code generation for more information.
  388. class MockBufferLine extends _i1.Mock implements _i5.BufferLine {
  389. MockBufferLine() {
  390. _i1.throwOnMissingStub(this);
  391. }
  392. @override
  393. _i5.BufferLineData get data => (super.noSuchMethod(Invocation.getter(#data),
  394. returnValue: _FakeBufferLineData_5()) as _i5.BufferLineData);
  395. @override
  396. bool get isWrapped =>
  397. (super.noSuchMethod(Invocation.getter(#isWrapped), returnValue: false)
  398. as bool);
  399. @override
  400. set isWrapped(bool? value) =>
  401. super.noSuchMethod(Invocation.setter(#isWrapped, value),
  402. returnValueForMissingStub: null);
  403. @override
  404. bool get hasCachedSearchString =>
  405. (super.noSuchMethod(Invocation.getter(#hasCachedSearchString),
  406. returnValue: false) as bool);
  407. @override
  408. void markTagAsNonDirty(String? tag) =>
  409. super.noSuchMethod(Invocation.method(#markTagAsNonDirty, [tag]),
  410. returnValueForMissingStub: null);
  411. @override
  412. bool isTagDirty(String? tag) =>
  413. (super.noSuchMethod(Invocation.method(#isTagDirty, [tag]),
  414. returnValue: false) as bool);
  415. @override
  416. void ensure(int? length) =>
  417. super.noSuchMethod(Invocation.method(#ensure, [length]),
  418. returnValueForMissingStub: null);
  419. @override
  420. void insert(int? index) =>
  421. super.noSuchMethod(Invocation.method(#insert, [index]),
  422. returnValueForMissingStub: null);
  423. @override
  424. void insertN(int? index, int? count) =>
  425. super.noSuchMethod(Invocation.method(#insertN, [index, count]),
  426. returnValueForMissingStub: null);
  427. @override
  428. void removeN(int? index, int? count) =>
  429. super.noSuchMethod(Invocation.method(#removeN, [index, count]),
  430. returnValueForMissingStub: null);
  431. @override
  432. void clear() => super.noSuchMethod(Invocation.method(#clear, []),
  433. returnValueForMissingStub: null);
  434. @override
  435. void erase(_i9.Cursor? cursor, int? start, int? end,
  436. [bool? resetIsWrapped = false]) =>
  437. super.noSuchMethod(
  438. Invocation.method(#erase, [cursor, start, end, resetIsWrapped]),
  439. returnValueForMissingStub: null);
  440. @override
  441. void cellClear(int? index) =>
  442. super.noSuchMethod(Invocation.method(#cellClear, [index]),
  443. returnValueForMissingStub: null);
  444. @override
  445. void cellInitialize(int? index,
  446. {int? content, int? width, _i9.Cursor? cursor}) =>
  447. super.noSuchMethod(
  448. Invocation.method(#cellInitialize, [index],
  449. {#content: content, #width: width, #cursor: cursor}),
  450. returnValueForMissingStub: null);
  451. @override
  452. bool cellHasContent(int? index) =>
  453. (super.noSuchMethod(Invocation.method(#cellHasContent, [index]),
  454. returnValue: false) as bool);
  455. @override
  456. int cellGetContent(int? index) =>
  457. (super.noSuchMethod(Invocation.method(#cellGetContent, [index]),
  458. returnValue: 0) as int);
  459. @override
  460. void cellSetContent(int? index, int? content) =>
  461. super.noSuchMethod(Invocation.method(#cellSetContent, [index, content]),
  462. returnValueForMissingStub: null);
  463. @override
  464. int cellGetFgColor(int? index) =>
  465. (super.noSuchMethod(Invocation.method(#cellGetFgColor, [index]),
  466. returnValue: 0) as int);
  467. @override
  468. void cellSetFgColor(int? index, int? color) =>
  469. super.noSuchMethod(Invocation.method(#cellSetFgColor, [index, color]),
  470. returnValueForMissingStub: null);
  471. @override
  472. int cellGetBgColor(int? index) =>
  473. (super.noSuchMethod(Invocation.method(#cellGetBgColor, [index]),
  474. returnValue: 0) as int);
  475. @override
  476. void cellSetBgColor(int? index, int? color) =>
  477. super.noSuchMethod(Invocation.method(#cellSetBgColor, [index, color]),
  478. returnValueForMissingStub: null);
  479. @override
  480. int cellGetFlags(int? index) =>
  481. (super.noSuchMethod(Invocation.method(#cellGetFlags, [index]),
  482. returnValue: 0) as int);
  483. @override
  484. void cellSetFlags(int? index, int? flags) =>
  485. super.noSuchMethod(Invocation.method(#cellSetFlags, [index, flags]),
  486. returnValueForMissingStub: null);
  487. @override
  488. int cellGetWidth(int? index) =>
  489. (super.noSuchMethod(Invocation.method(#cellGetWidth, [index]),
  490. returnValue: 0) as int);
  491. @override
  492. void cellSetWidth(int? index, int? width) =>
  493. super.noSuchMethod(Invocation.method(#cellSetWidth, [index, width]),
  494. returnValueForMissingStub: null);
  495. @override
  496. void cellClearFlags(int? index) =>
  497. super.noSuchMethod(Invocation.method(#cellClearFlags, [index]),
  498. returnValueForMissingStub: null);
  499. @override
  500. bool cellHasFlag(int? index, int? flag) =>
  501. (super.noSuchMethod(Invocation.method(#cellHasFlag, [index, flag]),
  502. returnValue: false) as bool);
  503. @override
  504. void cellSetFlag(int? index, int? flag) =>
  505. super.noSuchMethod(Invocation.method(#cellSetFlag, [index, flag]),
  506. returnValueForMissingStub: null);
  507. @override
  508. void cellErase(int? index, _i9.Cursor? cursor) =>
  509. super.noSuchMethod(Invocation.method(#cellErase, [index, cursor]),
  510. returnValueForMissingStub: null);
  511. @override
  512. int getTrimmedLength([int? cols]) =>
  513. (super.noSuchMethod(Invocation.method(#getTrimmedLength, [cols]),
  514. returnValue: 0) as int);
  515. @override
  516. void copyCellsFrom(_i5.BufferLine? src, int? srcCol, int? dstCol, int? len) =>
  517. super.noSuchMethod(
  518. Invocation.method(#copyCellsFrom, [src, srcCol, dstCol, len]),
  519. returnValueForMissingStub: null);
  520. @override
  521. void removeRange(int? start, int? end) =>
  522. super.noSuchMethod(Invocation.method(#removeRange, [start, end]),
  523. returnValueForMissingStub: null);
  524. @override
  525. void clearRange(int? start, int? end) =>
  526. super.noSuchMethod(Invocation.method(#clearRange, [start, end]),
  527. returnValueForMissingStub: null);
  528. @override
  529. String toDebugString(int? cols) =>
  530. (super.noSuchMethod(Invocation.method(#toDebugString, [cols]),
  531. returnValue: '') as String);
  532. @override
  533. String toSearchString(int? cols) =>
  534. (super.noSuchMethod(Invocation.method(#toSearchString, [cols]),
  535. returnValue: '') as String);
  536. @override
  537. String toString() => super.toString();
  538. }