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 (EscapedVectorMembersMatchScalarConnections)
 
 BOOST_AUTO_TEST_CASE (EscapedGroupMembersMatchScalarConnections)
 
 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)
 
 BOOST_AUTO_TEST_CASE (PrintBusForUIUnescapesNetNameTokens)
 
 BOOST_AUTO_TEST_CASE (ParsesOverbarWrappingNameAndRange)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/30]

BOOST_AUTO_TEST_CASE ( EscapedGroupMembersMatchScalarConnections )

◆ BOOST_AUTO_TEST_CASE() [2/30]

BOOST_AUTO_TEST_CASE ( EscapedVectorMembersMatchScalarConnections )

◆ BOOST_AUTO_TEST_CASE() [3/30]

BOOST_AUTO_TEST_CASE ( ForEachBusMemberExpandsEscapedVectorInGroup )

◆ BOOST_AUTO_TEST_CASE() [4/30]

BOOST_AUTO_TEST_CASE ( ForEachBusMemberExpandsOverbarMembersInGroup )

◆ BOOST_AUTO_TEST_CASE() [5/30]

BOOST_AUTO_TEST_CASE ( ForEachBusMemberExpandsSuperscriptGroupBus )

◆ BOOST_AUTO_TEST_CASE() [6/30]

BOOST_AUTO_TEST_CASE ( ForEachBusMemberExpandsVectorWithSpacesInGroup )

◆ BOOST_AUTO_TEST_CASE() [7/30]

BOOST_AUTO_TEST_CASE ( ParsesBackslashEscapedSpacesInBusGroupMembers )

◆ BOOST_AUTO_TEST_CASE() [8/30]

BOOST_AUTO_TEST_CASE ( ParsesBackslashEscapedSpacesInBusGroupPrefix )

◆ BOOST_AUTO_TEST_CASE() [9/30]

BOOST_AUTO_TEST_CASE ( ParsesBackslashEscapedSpacesInBusVector )

◆ BOOST_AUTO_TEST_CASE() [10/30]

BOOST_AUTO_TEST_CASE ( ParsesFormattedGroupWithVectorMember )

◆ BOOST_AUTO_TEST_CASE() [11/30]

BOOST_AUTO_TEST_CASE ( ParsesFormattedVectorBus )

◆ BOOST_AUTO_TEST_CASE() [12/30]

BOOST_AUTO_TEST_CASE ( ParsesMixedEscapingInBusGroup )

◆ BOOST_AUTO_TEST_CASE() [13/30]

BOOST_AUTO_TEST_CASE ( ParsesOverbarInGroupBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [14/30]

BOOST_AUTO_TEST_CASE ( ParsesOverbarInVectorBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [15/30]

BOOST_AUTO_TEST_CASE ( ParsesOverbarMembersInBusGroup )

◆ BOOST_AUTO_TEST_CASE() [16/30]

BOOST_AUTO_TEST_CASE ( ParsesOverbarWrappingNameAndRange )

◆ BOOST_AUTO_TEST_CASE() [17/30]

BOOST_AUTO_TEST_CASE ( ParsesQuotedSpacesInBusGroupMembers )

◆ BOOST_AUTO_TEST_CASE() [18/30]

BOOST_AUTO_TEST_CASE ( ParsesQuotedSpacesInBusGroupPrefix )

◆ BOOST_AUTO_TEST_CASE() [19/30]

BOOST_AUTO_TEST_CASE ( ParsesQuotedSpacesInBusVector )

◆ BOOST_AUTO_TEST_CASE() [20/30]

BOOST_AUTO_TEST_CASE ( ParsesSubscriptInGroupBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [21/30]

BOOST_AUTO_TEST_CASE ( ParsesSubscriptInVectorBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [22/30]

BOOST_AUTO_TEST_CASE ( ParsesSuperscriptInBusGroupName )

◆ BOOST_AUTO_TEST_CASE() [23/30]

BOOST_AUTO_TEST_CASE ( ParsesSuperscriptInBusVectorName )

◆ BOOST_AUTO_TEST_CASE() [24/30]

BOOST_AUTO_TEST_CASE ( ParsesSuperscriptInGroupBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [25/30]

BOOST_AUTO_TEST_CASE ( ParsesSuperscriptInVectorBusPrefix )

◆ BOOST_AUTO_TEST_CASE() [26/30]

BOOST_AUTO_TEST_CASE ( PrintBusForUIHandlesMixedFormatting )

Definition at line 467 of file test_bus_parsing.cpp.

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

◆ BOOST_AUTO_TEST_CASE() [27/30]

BOOST_AUTO_TEST_CASE ( PrintBusForUIUnescapesBackslashSpaces )

Definition at line 445 of file test_bus_parsing.cpp.

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

◆ BOOST_AUTO_TEST_CASE() [28/30]

BOOST_AUTO_TEST_CASE ( PrintBusForUIUnescapesNetNameTokens )

Definition at line 479 of file test_bus_parsing.cpp.

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

◆ BOOST_AUTO_TEST_CASE() [29/30]

BOOST_AUTO_TEST_CASE ( RejectsUnescapedSpacesInBusGroupPrefix )

Definition at line 133 of file test_bus_parsing.cpp.

References name, and NET_SETTINGS::ParseBusGroup().

◆ BOOST_AUTO_TEST_CASE() [30/30]

BOOST_AUTO_TEST_CASE ( RejectsUnescapedSpacesInBusVector )

Definition at line 93 of file test_bus_parsing.cpp.

References name, and NET_SETTINGS::ParseBusVector().