UniSet 2.45.1
Пространство имен tests.test_real_projects

Классы

class  TestIecCheckerFunctionBlocks
class  TestIecCheckerControlStatements
class  TestCodesysSmallXML
class  TestFBLogTcPOU
class  TestCrossFormatConsistency

Функции

bool _file_exists (str name)

Переменные

str REAL_DIR = pathlib.Path(__file__).parent / "fixtures" / "real_projects"

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

Integration tests using real ST/XML files from public projects.

These tests validate that our parser can handle real-world ST source code
from public repositories.  Files are stored in tests/fixtures/real_projects/.

Sources:
  - function-blocks.st, control-statements.st:
      https://github.com/jubnzv/iec-checker (test/st/good/)
  - codesys-small.xml:
      https://github.com/johannesPettersson80/trust-platform (PLCopen XML)
  - FB_Log.TcPOU:
      blark test fixtures (TwinCAT XML)