KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_diff_tree_grouping.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <diff_merge/diff_tree_grouping.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (ChangeKindLabel_AllKinds)
 
 BOOST_AUTO_TEST_CASE (Filter_EmptyMatchesEverything)
 
 BOOST_AUTO_TEST_CASE (Filter_TypeNameSubstring)
 
 BOOST_AUTO_TEST_CASE (Filter_RefdesSubstring)
 
 BOOST_AUTO_TEST_CASE (Filter_AbsentRefdesNoMatch)
 
 BOOST_AUTO_TEST_CASE (Filter_AssumesLowercaseInput)
 
 BOOST_AUTO_TEST_CASE (Groups_EmptyDiffProducesEmptyResult)
 
 BOOST_AUTO_TEST_CASE (Groups_BucketsByKind)
 
 BOOST_AUTO_TEST_CASE (Groups_RecursesIntoChildren)
 
 BOOST_AUTO_TEST_CASE (Groups_CollapsesSameNetRoutingChanges)
 
 BOOST_AUTO_TEST_CASE (Groups_LabelIncludesRefdes)
 
 BOOST_AUTO_TEST_CASE (Groups_LabelBaseWhenRefdesAbsent)
 
 BOOST_AUTO_TEST_CASE (Groups_HiddenCategoryDropsBucket)
 
 BOOST_AUTO_TEST_CASE (Groups_CollisionAndDuplicateBothMapToConflictCategory)
 
 BOOST_AUTO_TEST_CASE (Groups_SearchFilterDropsNonMatching)
 
 BOOST_AUTO_TEST_CASE (Groups_FilterIsCaseInsensitive)
 
 BOOST_AUTO_TEST_CASE (Groups_GroupLabelShowsTotal_NoFilter)
 
 BOOST_AUTO_TEST_CASE (Groups_GroupLabelShowsVisibleSlashTotal_WithFilter)
 
 BOOST_AUTO_TEST_CASE (Groups_GroupLabelOmitsSlashWhenFilterMatchesAll)
 
 BOOST_AUTO_TEST_CASE (Groups_EmptyBucketAfterFilterIsOmitted)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/20]

◆ BOOST_AUTO_TEST_CASE() [2/20]

BOOST_AUTO_TEST_CASE ( Filter_AbsentRefdesNoMatch )

◆ BOOST_AUTO_TEST_CASE() [3/20]

BOOST_AUTO_TEST_CASE ( Filter_AssumesLowercaseInput )

◆ BOOST_AUTO_TEST_CASE() [4/20]

BOOST_AUTO_TEST_CASE ( Filter_EmptyMatchesEverything )

◆ BOOST_AUTO_TEST_CASE() [5/20]

BOOST_AUTO_TEST_CASE ( Filter_RefdesSubstring )

◆ BOOST_AUTO_TEST_CASE() [6/20]

BOOST_AUTO_TEST_CASE ( Filter_TypeNameSubstring )

◆ BOOST_AUTO_TEST_CASE() [7/20]

◆ BOOST_AUTO_TEST_CASE() [8/20]

BOOST_AUTO_TEST_CASE ( Groups_CollapsesSameNetRoutingChanges )

◆ BOOST_AUTO_TEST_CASE() [9/20]

BOOST_AUTO_TEST_CASE ( Groups_CollisionAndDuplicateBothMapToConflictCategory )

◆ BOOST_AUTO_TEST_CASE() [10/20]

BOOST_AUTO_TEST_CASE ( Groups_EmptyBucketAfterFilterIsOmitted )

◆ BOOST_AUTO_TEST_CASE() [11/20]

BOOST_AUTO_TEST_CASE ( Groups_EmptyDiffProducesEmptyResult )

Definition at line 121 of file test_diff_tree_grouping.cpp.

References KICAD_DIFF::BuildChangeTreeGroups().

◆ BOOST_AUTO_TEST_CASE() [12/20]

BOOST_AUTO_TEST_CASE ( Groups_FilterIsCaseInsensitive )

◆ BOOST_AUTO_TEST_CASE() [13/20]

BOOST_AUTO_TEST_CASE ( Groups_GroupLabelOmitsSlashWhenFilterMatchesAll )

◆ BOOST_AUTO_TEST_CASE() [14/20]

BOOST_AUTO_TEST_CASE ( Groups_GroupLabelShowsTotal_NoFilter )

◆ BOOST_AUTO_TEST_CASE() [15/20]

BOOST_AUTO_TEST_CASE ( Groups_GroupLabelShowsVisibleSlashTotal_WithFilter )

◆ BOOST_AUTO_TEST_CASE() [16/20]

BOOST_AUTO_TEST_CASE ( Groups_HiddenCategoryDropsBucket )

◆ BOOST_AUTO_TEST_CASE() [17/20]

BOOST_AUTO_TEST_CASE ( Groups_LabelBaseWhenRefdesAbsent )

◆ BOOST_AUTO_TEST_CASE() [18/20]

BOOST_AUTO_TEST_CASE ( Groups_LabelIncludesRefdes )

◆ BOOST_AUTO_TEST_CASE() [19/20]

◆ BOOST_AUTO_TEST_CASE() [20/20]

BOOST_AUTO_TEST_CASE ( Groups_SearchFilterDropsNonMatching )