terminal_search_test.mocks.dart 21 KB

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