1 // This file is generated from VSCode model tests by the testgen tool.
2 // DO NOT EDIT THIS FILE BY HAND; your changes will be overwritten!
8 func TestAuto1(t *testing.T) {
49 func TestAuto2(t *testing.T) {
98 func TestAuto3(t *testing.T) {
137 func TestAuto4(t *testing.T) {
202 func TestBug19872UndoIsFunky(t *testing.T) {
237 func TestBug19872UndoIsFunky_2(t *testing.T) {
273 func TestInsertEmptyText(t *testing.T) {
278 "\t\tMy Second Line",
294 "\t\tMy Second Line",
302 func TestLastOpIsNoOp(t *testing.T) {
307 "\t\tMy Second Line",
330 "\t\tMy Second Line",
338 func TestInsertTextWithoutNewline1(t *testing.T) {
343 "\t\tMy Second Line",
359 "\t\tMy Second Line",
367 func TestInsertTextWithoutNewline2(t *testing.T) {
372 "\t\tMy Second Line",
388 "\t\tMy Second Line",
396 func TestInsertOneNewline(t *testing.T) {
401 "\t\tMy Second Line",
419 "\t\tMy Second Line",
427 func TestInsertTextWithOneNewline(t *testing.T) {
432 "\t\tMy Second Line",
449 "No longer First Line",
450 "\t\tMy Second Line",
458 func TestInsertTextWithTwoNewlines(t *testing.T) {
463 "\t\tMy Second Line",
474 "One more line in the middle",
481 "One more line in the middle",
482 "No longer First Line",
483 "\t\tMy Second Line",
491 func TestInsertTextWithManyNewlines(t *testing.T) {
496 "\t\tMy Second Line",
520 "\t\tMy Second Line",
528 func TestInsertMultipleNewlines(t *testing.T) {
533 "\t\tMy Second Line",
565 "\t\tMy Second Line",
574 func TestDeleteEmptyText(t *testing.T) {
579 "\t\tMy Second Line",
595 "\t\tMy Second Line",
603 func TestDeleteTextFromOneLine(t *testing.T) {
608 "\t\tMy Second Line",
624 "\t\tMy Second Line",
632 func TestDeleteTextFromOneLine2(t *testing.T) {
637 "\t\tMy Second Line",
653 "\t\tMy Second Line",
661 func TestDeleteAllTextFromALine(t *testing.T) {
666 "\t\tMy Second Line",
682 "\t\tMy Second Line",
690 func TestDeleteTextFromTwoLines(t *testing.T) {
695 "\t\tMy Second Line",
718 func TestDeleteTextFromManyLines(t *testing.T) {
723 "\t\tMy Second Line",
745 func TestDeleteEverything(t *testing.T) {
750 "\t\tMy Second Line",
770 func TestTwoUnrelatedEdits(t *testing.T) {
775 "\t\tMy Second Line",
806 func TestTwoEditsOnOneLine(t *testing.T) {
814 "\t\t<!@#fifth#@!>\t\t",
842 func TestManyEdits(t *testing.T) {
879 func TestManyEditsReversed(t *testing.T) {
916 func TestReplacingNewlines1(t *testing.T) {
953 func TestReplacingNewlines2(t *testing.T) {
959 "now comes an empty line",
1005 "some more textno more lines",
1017 func TestAdvanced1(t *testing.T) {
1024 " ,\"e\": /*comment*/ [null] }",
1103 " \"e\": /*comment*/ [",
1111 func TestAdvancedSimplified(t *testing.T) {
1149 func TestIssue144(t *testing.T) {
1156 "\tfmt.Println(\"Hello World! :)\")",
1170 "\tfmt.Println(\"Hello World! :)\")",
1182 "\tfmt.Println(\"Hello World! :)\")",
1189 func TestIssue2586ReplacingSelectedEndOfLineWithNewlineLocksUpTheDocument(t *testing.T) {
1213 func TestIssue3980(t *testing.T) {
1218 " someProperty = false;",
1220 " this.someMethod();",
1259 " someProperty = false;",
1262 " this.someMethod();",
1269 func TestTouchingEditsTwoInsertsAtTheSamePosition(t *testing.T) {
1297 func TestTouchingEditsInsertAndReplaceTouching(t *testing.T) {
1325 func TestTouchingEditsTwoTouchingReplaces(t *testing.T) {
1353 func TestTouchingEditsTwoTouchingDeletes(t *testing.T) {
1381 func TestTouchingEditsInsertAndReplace(t *testing.T) {
1409 func TestTouchingEditsReplaceAndInsert(t *testing.T) {
1437 func TestSingleDelete1(t *testing.T) {
1458 func TestSingleDelete2(t *testing.T) {
1479 func TestSingleDelete3(t *testing.T) {
1500 func TestSingleDelete4(t *testing.T) {
1521 func TestSingleDelete5(t *testing.T) {
1542 func TestMultiDelete6(t *testing.T) {
1565 func TestMultiDelete7(t *testing.T) {
1588 func TestMultiDelete8(t *testing.T) {
1611 func TestMultiDelete9(t *testing.T) {
1629 "hello worldhello world",
1634 func TestSingleInsert1(t *testing.T) {
1655 func TestSingleInsert2(t *testing.T) {
1676 func TestSingleInsert3(t *testing.T) {
1697 func TestSingleInsert4(t *testing.T) {
1718 func TestSingleInsert5(t *testing.T) {
1739 func TestMultiInsert6(t *testing.T) {
1761 func TestMultiInsert7(t *testing.T) {
1783 func TestMultiInsert8(t *testing.T) {
1805 func TestMultiInsert9(t *testing.T) {