terminal_search_test.mocks.dart 21 KB

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