Skip to content

Commit 6e85788

Browse files
committed
update add more regression tests
1 parent 44f7ef5 commit 6e85788

11 files changed

+89
-0
lines changed

tests/robotcode/language_server/robotframework/parts/data/.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
{
8+
"name": "RobotCode: Two Same",
9+
"type": "robotcode",
10+
"request": "launch",
11+
"cwd": "${workspaceFolder}",
12+
//"target": "./tests/playground.robot ./tests/playground.robot"
13+
"args": [
14+
"./tests/extras",
15+
"./tests/extras"
16+
]
17+
},
718
{
819
"name": "RobotCode: Run Current",
920
"type": "robotcode",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*** Test Cases ***
2+
first test
3+
Log hoi from here
4+
5+
second
6+
Log hi

tests/robotcode/language_server/robotframework/parts/data/tests/discovery/discovered__.robot

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ first test
33
Sleep 1s
44

55

6+
first test
7+
Sleep 1s
8+
9+
10+
11+
612

713

814

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*** Test Cases ***
2+
first test
3+
Sleep 1s
4+
5+
second test
6+
Sleep 1s
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*** Test Cases ***
2+
first test
3+
Sleep 1s
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*** Test Cases ***
2+
first test
3+
Sleep 1s

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@ data: !GeneratedTestData
33
line: 34
44
name: simple keyword call
55
result:
6+
- !Location
7+
range:
8+
end:
9+
character: 7
10+
line: 2
11+
start:
12+
character: 4
13+
line: 2
14+
uri: discovery/.not_discovered.robot
15+
- !Location
16+
range:
17+
end:
18+
character: 7
19+
line: 5
20+
start:
21+
character: 4
22+
line: 5
23+
uri: discovery/.not_discovered.robot
624
- !Location
725
range:
826
end:

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@ data: !GeneratedTestData
33
line: 34
44
name: simple keyword call
55
result:
6+
- !Location
7+
range:
8+
end:
9+
character: 7
10+
line: 2
11+
start:
12+
character: 4
13+
line: 2
14+
uri: discovery/.not_discovered.robot
15+
- !Location
16+
range:
17+
end:
18+
character: 7
19+
line: 5
20+
start:
21+
character: 4
22+
line: 5
23+
uri: discovery/.not_discovered.robot
624
- !Location
725
range:
826
end:

0 commit comments

Comments
 (0)