KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_issue14447_arc_connection.cpp File Reference

Regression coverage for https://gitlab.com/kicad/code/kicad/-/issues/14447. More...

#include <boost/test/unit_test.hpp>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <memory>
#include <sch_io/cadstar/cadstar_sch_archive_parser.h>

Go to the source code of this file.

Classes

struct  ARC_CONNECTION_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (ParseConnectionWithArc)
 

Detailed Description

Regression coverage for https://gitlab.com/kicad/code/kicad/-/issues/14447.

A CADSTAR schematic CONN PATH may contain ACWARC/CWARC arc vertices. The importer parsed the path with ParseAllChildPoints, which only accepts PT nodes and aborted import with "Unknown node 'ACWARC' in 'PATH'". The connection path is now parsed as vertices so curved connections survive the import. The CONN/PATH fragment exercised here is taken verbatim from the file attached to the issue.

Definition in file test_issue14447_arc_connection.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()