Skip to content

Commit 798311d

Browse files
committed
Move test to better suiting suite
1 parent a6157f5 commit 798311d

4 files changed

Lines changed: 16 additions & 18 deletions

File tree

‎atest/robot/running/if/complex_if.robot‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ For loop if else if early exit
5757
If with comments
5858
Check Test Case ${TESTNAME}
5959

60-
If with invalid condition
61-
Check Test Case ${TESTNAME}
62-
63-
If with invalid condition 2
64-
Check Test Case ${TESTNAME}
65-
6660
If with invalid condition after valid is ok
6761
Check Test Case ${TESTNAME}
6862

‎atest/robot/running/if/invalid_if.robot‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ If without condition
99
If with many conditions
1010
Check Test Case ${TESTNAME}
1111

12+
If with invalid condition
13+
Check Test Case ${TESTNAME} 1
14+
Check Test Case ${TESTNAME} 2
15+
1216
If without end
1317
Check Test Case ${TESTNAME}
1418

‎atest/testdata/running/if/complex_if.robot‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -155,18 +155,6 @@ If with comments
155155
Log no joo # Here is also ok
156156
END # Here is also ok
157157

158-
If with invalid condition
159-
[Documentation] FAIL STARTS: Evaluating expression ''123'=123' failed: SyntaxError:
160-
IF '123'=${123}
161-
Log Demo
162-
END
163-
164-
If with invalid condition 2
165-
[Documentation] FAIL Evaluating expression 'ooops' failed: NameError: name 'ooops' is not defined nor importable as module
166-
IF ooops
167-
Log Demo
168-
END
169-
170158
If with invalid condition after valid is ok
171159
IF ${True}
172160
Log Demo

‎atest/testdata/running/if/invalid_if.robot‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ If with many conditions
1111
No Operation
1212
END
1313

14+
If with invalid condition 1
15+
[Documentation] FAIL STARTS: Evaluating expression ''123'=123' failed: SyntaxError:
16+
IF '123'=${123}
17+
Log Demo
18+
END
19+
20+
If with invalid condition 2
21+
[Documentation] FAIL Evaluating expression 'ooops' failed: NameError: name 'ooops' is not defined nor importable as module
22+
IF ooops
23+
Log Demo
24+
END
25+
1426
If without end
1527
[Documentation] FAIL IF has no closing END.
1628
IF ${True}

0 commit comments

Comments
 (0)