Skip to content

Commit 8c433af

Browse files
committed
update regression tests
1 parent ec94a22 commit 8c433af

File tree

5 files changed

+264
-120
lines changed

5 files changed

+264
-120
lines changed

tests/robotcode/language_server/robotframework/parts/data/tests/playground.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ first *1*
1919
Log ${CMD_VAR_LONG}
2020
Log ${A}[1]
2121

22+
2223
first ?11?
2324
log hi
2425
Log ${A VAR}
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
11
*** Settings ***
2-
Test Template template keyword
2+
Test Template suite template keyword
33

44

55
*** Test Cases ***
66
first
7-
[Tags] ROBOT:CONTINUE-ON-FAILURE
7+
[Tags] robot:continue-on-failure
88
[Template] template keyword
99
1 2 3
1010
3 5 6 2
1111
a=1 2 4
1212

1313
second
14-
[Tags] ROBOT:CONTINUE-ON-FAILURE
14+
[Tags] robot:continue-on-failure
1515
1 2 3
1616
3 5 6 2
1717
a=1 2 4
1818

1919

2020
*** Keywords ***
21+
suite template keyword
22+
[Arguments] ${a} ${b} ${c}
23+
Log Test Template
24+
Log ${a}
25+
Log ${b}
26+
Log ${c}
27+
2128
template keyword
2229
[Arguments] ${a} ${b} ${c}
30+
Log Template
2331
Log ${a}
2432
Log ${b}
2533
Log ${c}

tests/robotcode/language_server/robotframework/parts/test_references/test_references_robot_034_004_simple_keyword_call_.yml

Lines changed: 84 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -390,15 +390,6 @@ result:
390390
character: 4
391391
line: 19
392392
uri: tests/playground.robot
393-
- !Location
394-
range:
395-
end:
396-
character: 7
397-
line: 22
398-
start:
399-
character: 4
400-
line: 22
401-
uri: tests/playground.robot
402393
- !Location
403394
range:
404395
end:
@@ -457,109 +448,118 @@ result:
457448
range:
458449
end:
459450
character: 7
460-
line: 31
451+
line: 29
461452
start:
462453
character: 4
463-
line: 31
454+
line: 29
455+
uri: tests/playground.robot
456+
- !Location
457+
range:
458+
end:
459+
character: 7
460+
line: 32
461+
start:
462+
character: 4
463+
line: 32
464464
uri: tests/playground.robot
465465
- !Location
466466
range:
467467
end:
468468
character: 11
469-
line: 41
469+
line: 42
470470
start:
471471
character: 8
472-
line: 41
472+
line: 42
473473
uri: tests/playground.robot
474474
- !Location
475475
range:
476476
end:
477477
character: 11
478-
line: 46
478+
line: 47
479479
start:
480480
character: 8
481-
line: 46
481+
line: 47
482482
uri: tests/playground.robot
483483
- !Location
484484
range:
485485
end:
486486
character: 11
487-
line: 48
487+
line: 49
488488
start:
489489
character: 8
490-
line: 48
490+
line: 49
491491
uri: tests/playground.robot
492492
- !Location
493493
range:
494494
end:
495495
character: 11
496-
line: 52
496+
line: 53
497497
start:
498498
character: 8
499-
line: 52
499+
line: 53
500500
uri: tests/playground.robot
501501
- !Location
502502
range:
503503
end:
504504
character: 7
505-
line: 56
505+
line: 57
506506
start:
507507
character: 4
508-
line: 56
508+
line: 57
509509
uri: tests/playground.robot
510510
- !Location
511511
range:
512512
end:
513513
character: 11
514-
line: 59
514+
line: 60
515515
start:
516516
character: 8
517-
line: 59
517+
line: 60
518518
uri: tests/playground.robot
519519
- !Location
520520
range:
521521
end:
522522
character: 7
523-
line: 65
523+
line: 66
524524
start:
525525
character: 4
526-
line: 65
526+
line: 66
527527
uri: tests/playground.robot
528528
- !Location
529529
range:
530530
end:
531531
character: 11
532-
line: 73
532+
line: 74
533533
start:
534534
character: 8
535-
line: 73
535+
line: 74
536536
uri: tests/playground.robot
537537
- !Location
538538
range:
539539
end:
540540
character: 11
541-
line: 75
541+
line: 76
542542
start:
543543
character: 8
544-
line: 75
544+
line: 76
545545
uri: tests/playground.robot
546546
- !Location
547547
range:
548548
end:
549549
character: 11
550-
line: 77
550+
line: 78
551551
start:
552552
character: 8
553-
line: 77
553+
line: 78
554554
uri: tests/playground.robot
555555
- !Location
556556
range:
557557
end:
558558
character: 7
559-
line: 84
559+
line: 85
560560
start:
561561
character: 4
562-
line: 84
562+
line: 85
563563
uri: tests/playground.robot
564564
- !Location
565565
range:
@@ -673,26 +673,71 @@ result:
673673
range:
674674
end:
675675
character: 7
676-
line: 14
676+
line: 22
677677
start:
678678
character: 4
679-
line: 14
679+
line: 22
680680
uri: tests/templates.robot
681681
- !Location
682682
range:
683683
end:
684684
character: 7
685-
line: 15
685+
line: 23
686686
start:
687687
character: 4
688-
line: 15
688+
line: 23
689689
uri: tests/templates.robot
690690
- !Location
691691
range:
692692
end:
693693
character: 7
694-
line: 16
694+
line: 24
695695
start:
696696
character: 4
697-
line: 16
697+
line: 24
698+
uri: tests/templates.robot
699+
- !Location
700+
range:
701+
end:
702+
character: 7
703+
line: 25
704+
start:
705+
character: 4
706+
line: 25
707+
uri: tests/templates.robot
708+
- !Location
709+
range:
710+
end:
711+
character: 7
712+
line: 29
713+
start:
714+
character: 4
715+
line: 29
716+
uri: tests/templates.robot
717+
- !Location
718+
range:
719+
end:
720+
character: 7
721+
line: 30
722+
start:
723+
character: 4
724+
line: 30
725+
uri: tests/templates.robot
726+
- !Location
727+
range:
728+
end:
729+
character: 7
730+
line: 31
731+
start:
732+
character: 4
733+
line: 31
734+
uri: tests/templates.robot
735+
- !Location
736+
range:
737+
end:
738+
character: 7
739+
line: 32
740+
start:
741+
character: 4
742+
line: 32
698743
uri: tests/templates.robot

0 commit comments

Comments
 (0)