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

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (ParsesFormattedVectorBus)
 
 BOOST_AUTO_TEST_CASE (ParsesFormattedGroupWithVectorMember)
 
 BOOST_AUTO_TEST_CASE (RejectsUnescapedSpacesInBusVector)
 
 BOOST_AUTO_TEST_CASE (ParsesBackslashEscapedSpacesInBusVector)
 
 BOOST_AUTO_TEST_CASE (ParsesQuotedSpacesInBusVector)
 
 BOOST_AUTO_TEST_CASE (RejectsUnescapedSpacesInBusGroupPrefix)
 
 BOOST_AUTO_TEST_CASE (ParsesBackslashEscapedSpacesInBusGroupPrefix)
 
 BOOST_AUTO_TEST_CASE (ParsesQuotedSpacesInBusGroupPrefix)
 
 BOOST_AUTO_TEST_CASE (ParsesBackslashEscapedSpacesInBusGroupMembers)
 
 BOOST_AUTO_TEST_CASE (ParsesQuotedSpacesInBusGroupMembers)
 
 BOOST_AUTO_TEST_CASE (ParsesMixedEscapingInBusGroup)
 
 BOOST_AUTO_TEST_CASE (ForEachBusMemberExpandsVectorWithSpacesInGroup)
 
 BOOST_AUTO_TEST_CASE (ForEachBusMemberExpandsEscapedVectorInGroup)
 
 BOOST_AUTO_TEST_CASE (ParsesOverbarInVectorBusPrefix)
 
 BOOST_AUTO_TEST_CASE (ParsesSuperscriptInVectorBusPrefix)
 
 BOOST_AUTO_TEST_CASE (ParsesSubscriptInVectorBusPrefix)
 
 BOOST_AUTO_TEST_CASE (ParsesOverbarInGroupBusPrefix)
 
 BOOST_AUTO_TEST_CASE (ParsesSuperscriptInGroupBusPrefix)
 
 BOOST_AUTO_TEST_CASE (ParsesSubscriptInGroupBusPrefix)
 
 BOOST_AUTO_TEST_CASE (PrintBusForUIUnescapesBackslashSpaces)
 
 BOOST_AUTO_TEST_CASE (PrintBusForUIHandlesMixedFormatting)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/21]

BOOST_AUTO_TEST_CASE ( ForEachBusMemberExpandsEscapedVectorInGroup )

Definition at line 207 of file test_bus_parsing.cpp.

References expected, and NET_SETTINGS::ForEachBusMember().

◆ BOOST_AUTO_TEST_CASE() [2/21]

BOOST_AUTO_TEST_CASE ( ForEachBusMemberExpandsVectorWithSpacesInGroup )

Definition at line 185 of file test_bus_parsing.cpp.

References expected, and NET_SETTINGS::ForEachBusMember().

◆ BOOST_AUTO_TEST_CASE() [3/21]

BOOST_AUTO_TEST_CASE ( ParsesBackslashEscapedSpacesInBusGroupMembers )

◆ BOOST_AUTO_TEST_CASE() [4/21]

BOOST_AUTO_TEST_CASE ( ParsesBackslashEscapedSpacesInBusGroupPrefix )

◆ BOOST_AUTO_TEST_CASE() [5/21]

BOOST_AUTO_TEST_CASE ( ParsesBackslashEscapedSpacesInBusVector )

◆ BOOST_AUTO_TEST_CASE() [6/21]

BOOST_AUTO_TEST_CASE ( ParsesFormattedGroupWithVectorMember )

◆ BOOST_AUTO_TEST_CASE() [7/21]

BOOST_AUTO_TEST_CASE ( ParsesFormattedVectorBus )

◆ BOOST_AUTO_TEST_CASE() [8/21]

BOOST_AUTO_TEST_CASE ( ParsesMixedEscapingInBusGroup )

◆ BOOST_AUTO_TEST_CASE() [9/21]

BOOST_AUTO_TEST_CASE ( ParsesOverbarInGroupBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [10/21]

BOOST_AUTO_TEST_CASE ( ParsesOverbarInVectorBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [11/21]

BOOST_AUTO_TEST_CASE ( ParsesQuotedSpacesInBusGroupMembers )

◆ BOOST_AUTO_TEST_CASE() [12/21]

BOOST_AUTO_TEST_CASE ( ParsesQuotedSpacesInBusGroupPrefix )

◆ BOOST_AUTO_TEST_CASE() [13/21]

BOOST_AUTO_TEST_CASE ( ParsesQuotedSpacesInBusVector )

◆ BOOST_AUTO_TEST_CASE() [14/21]

BOOST_AUTO_TEST_CASE ( ParsesSubscriptInGroupBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [15/21]

BOOST_AUTO_TEST_CASE ( ParsesSubscriptInVectorBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [16/21]

BOOST_AUTO_TEST_CASE ( ParsesSuperscriptInGroupBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [17/21]

BOOST_AUTO_TEST_CASE ( ParsesSuperscriptInVectorBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [18/21]

BOOST_AUTO_TEST_CASE ( PrintBusForUIHandlesMixedFormatting )

Definition at line 337 of file test_bus_parsing.cpp.

References BOOST_CHECK_EQUAL(), and SCH_CONNECTION::PrintBusForUI().

◆ BOOST_AUTO_TEST_CASE() [19/21]

BOOST_AUTO_TEST_CASE ( PrintBusForUIUnescapesBackslashSpaces )

Definition at line 315 of file test_bus_parsing.cpp.

References BOOST_CHECK_EQUAL(), and SCH_CONNECTION::PrintBusForUI().

◆ BOOST_AUTO_TEST_CASE() [20/21]

BOOST_AUTO_TEST_CASE ( RejectsUnescapedSpacesInBusGroupPrefix )

Definition at line 97 of file test_bus_parsing.cpp.

References name, and NET_SETTINGS::ParseBusGroup().

◆ BOOST_AUTO_TEST_CASE() [21/21]

BOOST_AUTO_TEST_CASE ( RejectsUnescapedSpacesInBusVector )

Definition at line 57 of file test_bus_parsing.cpp.

References name, and NET_SETTINGS::ParseBusVector().