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

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

 test_parses_tcpou_file (self)
 test_tcpou_contains_function_block (self)
 test_tcpou_filename_set (self)
 test_nonexistent_xml_raises_parse_error (self)

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

Tests for parse_file() with TwinCAT XML input files.

Методы

◆ test_nonexistent_xml_raises_parse_error()

tests.test_parser.TestParseFileXML.test_nonexistent_xml_raises_parse_error ( self)
parse_file() should raise ParseError for missing XML files.

◆ test_parses_tcpou_file()

tests.test_parser.TestParseFileXML.test_parses_tcpou_file ( self)
parse_file() should parse a TwinCAT .TcPOU file.

◆ test_tcpou_contains_function_block()

tests.test_parser.TestParseFileXML.test_tcpou_contains_function_block ( self)
FB_Log.TcPOU should contain a FunctionBlock named FB_Log.

◆ test_tcpou_filename_set()

tests.test_parser.TestParseFileXML.test_tcpou_filename_set ( self)
parse_file() should set filename for XML files.