UniSet 2.45.1
Класс tests.test_parser.TestSTConstructs

Открытые члены

 test_simple_program (self)
 test_function_block (self)
 test_case_statement (self)
 test_for_loop (self)
 test_while_loop (self)
 test_fb_instantiation_and_call (self)
 test_repeat_until (self)

Подробное описание

Validate blark parses 5+ representative ST constructs.

This is the critical risk validation for blark compatibility.

Методы

◆ test_case_statement()

tests.test_parser.TestSTConstructs.test_case_statement ( self)
Construct 3: CASE..OF with multiple branches and ELSE.

◆ test_fb_instantiation_and_call()

tests.test_parser.TestSTConstructs.test_fb_instantiation_and_call ( self)
Construct 6: FB instantiation and method call with named args.

◆ test_for_loop()

tests.test_parser.TestSTConstructs.test_for_loop ( self)
Construct 4: FOR loop with BY step.

◆ test_function_block()

tests.test_parser.TestSTConstructs.test_function_block ( self)
Construct 2: FUNCTION_BLOCK declaration.

◆ test_repeat_until()

tests.test_parser.TestSTConstructs.test_repeat_until ( self)
Construct 7: REPEAT..UNTIL loop.

◆ test_simple_program()

tests.test_parser.TestSTConstructs.test_simple_program ( self)
Construct 1: Simple PROGRAM with variables and assignments.

◆ test_while_loop()

tests.test_parser.TestSTConstructs.test_while_loop ( self)
Construct 5: WHILE loop.