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 (ParsesOverbarMembersInBusGroup)
 
 BOOST_AUTO_TEST_CASE (ForEachBusMemberExpandsOverbarMembersInGroup)
 
 BOOST_AUTO_TEST_CASE (ParsesSuperscriptInBusGroupName)
 
 BOOST_AUTO_TEST_CASE (ParsesSuperscriptInBusVectorName)
 
 BOOST_AUTO_TEST_CASE (ForEachBusMemberExpandsSuperscriptGroupBus)
 
 BOOST_AUTO_TEST_CASE (PrintBusForUIUnescapesBackslashSpaces)
 
 BOOST_AUTO_TEST_CASE (PrintBusForUIHandlesMixedFormatting)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/26]

BOOST_AUTO_TEST_CASE ( ForEachBusMemberExpandsEscapedVectorInGroup )

Definition at line 209 of file test_bus_parsing.cpp.

References expected, and NET_SETTINGS::ForEachBusMember().

◆ BOOST_AUTO_TEST_CASE() [2/26]

BOOST_AUTO_TEST_CASE ( ForEachBusMemberExpandsOverbarMembersInGroup )

Definition at line 340 of file test_bus_parsing.cpp.

References expected, and NET_SETTINGS::ForEachBusMember().

◆ BOOST_AUTO_TEST_CASE() [3/26]

BOOST_AUTO_TEST_CASE ( ForEachBusMemberExpandsSuperscriptGroupBus )

Definition at line 392 of file test_bus_parsing.cpp.

References expected, and NET_SETTINGS::ForEachBusMember().

◆ BOOST_AUTO_TEST_CASE() [4/26]

BOOST_AUTO_TEST_CASE ( ForEachBusMemberExpandsVectorWithSpacesInGroup )

Definition at line 187 of file test_bus_parsing.cpp.

References expected, and NET_SETTINGS::ForEachBusMember().

◆ BOOST_AUTO_TEST_CASE() [5/26]

BOOST_AUTO_TEST_CASE ( ParsesBackslashEscapedSpacesInBusGroupMembers )

◆ BOOST_AUTO_TEST_CASE() [6/26]

BOOST_AUTO_TEST_CASE ( ParsesBackslashEscapedSpacesInBusGroupPrefix )

◆ BOOST_AUTO_TEST_CASE() [7/26]

BOOST_AUTO_TEST_CASE ( ParsesBackslashEscapedSpacesInBusVector )

◆ BOOST_AUTO_TEST_CASE() [8/26]

BOOST_AUTO_TEST_CASE ( ParsesFormattedGroupWithVectorMember )

◆ BOOST_AUTO_TEST_CASE() [9/26]

BOOST_AUTO_TEST_CASE ( ParsesFormattedVectorBus )

◆ BOOST_AUTO_TEST_CASE() [10/26]

BOOST_AUTO_TEST_CASE ( ParsesMixedEscapingInBusGroup )

◆ BOOST_AUTO_TEST_CASE() [11/26]

BOOST_AUTO_TEST_CASE ( ParsesOverbarInGroupBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [12/26]

BOOST_AUTO_TEST_CASE ( ParsesOverbarInVectorBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [13/26]

BOOST_AUTO_TEST_CASE ( ParsesOverbarMembersInBusGroup )

◆ BOOST_AUTO_TEST_CASE() [14/26]

BOOST_AUTO_TEST_CASE ( ParsesQuotedSpacesInBusGroupMembers )

◆ BOOST_AUTO_TEST_CASE() [15/26]

BOOST_AUTO_TEST_CASE ( ParsesQuotedSpacesInBusGroupPrefix )

◆ BOOST_AUTO_TEST_CASE() [16/26]

BOOST_AUTO_TEST_CASE ( ParsesQuotedSpacesInBusVector )

◆ BOOST_AUTO_TEST_CASE() [17/26]

BOOST_AUTO_TEST_CASE ( ParsesSubscriptInGroupBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [18/26]

BOOST_AUTO_TEST_CASE ( ParsesSubscriptInVectorBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [19/26]

BOOST_AUTO_TEST_CASE ( ParsesSuperscriptInBusGroupName )

◆ BOOST_AUTO_TEST_CASE() [20/26]

BOOST_AUTO_TEST_CASE ( ParsesSuperscriptInBusVectorName )

◆ BOOST_AUTO_TEST_CASE() [21/26]

BOOST_AUTO_TEST_CASE ( ParsesSuperscriptInGroupBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [22/26]

BOOST_AUTO_TEST_CASE ( ParsesSuperscriptInVectorBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [23/26]

BOOST_AUTO_TEST_CASE ( PrintBusForUIHandlesMixedFormatting )

Definition at line 433 of file test_bus_parsing.cpp.

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

◆ BOOST_AUTO_TEST_CASE() [24/26]

BOOST_AUTO_TEST_CASE ( PrintBusForUIUnescapesBackslashSpaces )

Definition at line 411 of file test_bus_parsing.cpp.

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

◆ BOOST_AUTO_TEST_CASE() [25/26]

BOOST_AUTO_TEST_CASE ( RejectsUnescapedSpacesInBusGroupPrefix )

Definition at line 99 of file test_bus_parsing.cpp.

References name, and NET_SETTINGS::ParseBusGroup().

◆ BOOST_AUTO_TEST_CASE() [26/26]

BOOST_AUTO_TEST_CASE ( RejectsUnescapedSpacesInBusVector )

Definition at line 59 of file test_bus_parsing.cpp.

References name, and NET_SETTINGS::ParseBusVector().