KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_board_item_index.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <chrono>
#include <memory>
#include <board.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_shape.h>
#include <pcb_table.h>
#include <pcb_tablecell.h>
#include <pcb_track.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (ResolveItemIdentityCachePurgedOnDestruction)
 
 BOOST_AUTO_TEST_CASE (UncachedItemSurvivesBoardDestruction)
 
 BOOST_AUTO_TEST_CASE (IndexedItemSurvivesBoardDestruction)
 
 BOOST_AUTO_TEST_CASE (SwapItemDataReindexesFootprintChildren)
 
 BOOST_AUTO_TEST_CASE (AttachedItemUuidRewriteDropsOldAlias)
 
 BOOST_AUTO_TEST_CASE (ResolvingNewUuidPurgesStaleOldAlias)
 
 BOOST_AUTO_TEST_CASE (RebindItemUuidUpdatesCacheAtomically)
 
 BOOST_AUTO_TEST_CASE (AttachedChildSetUuidRebindsCache)
 
 BOOST_AUTO_TEST_CASE (CacheItemByIdCanonicalizesRewrittenUuid)
 
 BOOST_AUTO_TEST_CASE (RepairDuplicateItemUuidsKeepsEarlierTraversalWinner)
 
 BOOST_AUTO_TEST_CASE (RemovingResolvedChildEvictsCacheOnFootprintHolder)
 
 BOOST_AUTO_TEST_CASE (TableCellResolvesToTheCellNotItsTable)
 
 BOOST_AUTO_TEST_CASE (FootprintTableCellResolvesByItsOwnId)
 
 BOOST_AUTO_TEST_CASE (UnbindingForeignSubtreesDoesNotScanTheIndex)
 
 BOOST_AUTO_TEST_CASE (UnbindingThroughAnotherBoardKeepsTheOwner)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/15]

BOOST_AUTO_TEST_CASE ( AttachedChildSetUuidRebindsCache )

◆ BOOST_AUTO_TEST_CASE() [2/15]

BOOST_AUTO_TEST_CASE ( AttachedItemUuidRewriteDropsOldAlias )

◆ BOOST_AUTO_TEST_CASE() [3/15]

BOOST_AUTO_TEST_CASE ( CacheItemByIdCanonicalizesRewrittenUuid )

◆ BOOST_AUTO_TEST_CASE() [4/15]

BOOST_AUTO_TEST_CASE ( FootprintTableCellResolvesByItsOwnId )

◆ BOOST_AUTO_TEST_CASE() [5/15]

BOOST_AUTO_TEST_CASE ( IndexedItemSurvivesBoardDestruction )

◆ BOOST_AUTO_TEST_CASE() [6/15]

BOOST_AUTO_TEST_CASE ( RebindItemUuidUpdatesCacheAtomically )

◆ BOOST_AUTO_TEST_CASE() [7/15]

BOOST_AUTO_TEST_CASE ( RemovingResolvedChildEvictsCacheOnFootprintHolder )

◆ BOOST_AUTO_TEST_CASE() [8/15]

BOOST_AUTO_TEST_CASE ( RepairDuplicateItemUuidsKeepsEarlierTraversalWinner )

◆ BOOST_AUTO_TEST_CASE() [9/15]

BOOST_AUTO_TEST_CASE ( ResolveItemIdentityCachePurgedOnDestruction )

◆ BOOST_AUTO_TEST_CASE() [10/15]

BOOST_AUTO_TEST_CASE ( ResolvingNewUuidPurgesStaleOldAlias )

◆ BOOST_AUTO_TEST_CASE() [11/15]

BOOST_AUTO_TEST_CASE ( SwapItemDataReindexesFootprintChildren )

◆ BOOST_AUTO_TEST_CASE() [12/15]

BOOST_AUTO_TEST_CASE ( TableCellResolvesToTheCellNotItsTable )

◆ BOOST_AUTO_TEST_CASE() [13/15]

BOOST_AUTO_TEST_CASE ( UnbindingForeignSubtreesDoesNotScanTheIndex )

◆ BOOST_AUTO_TEST_CASE() [14/15]

BOOST_AUTO_TEST_CASE ( UnbindingThroughAnotherBoardKeepsTheOwner )

◆ BOOST_AUTO_TEST_CASE() [15/15]

BOOST_AUTO_TEST_CASE ( UncachedItemSurvivesBoardDestruction )

Definition at line 67 of file test_board_item_index.cpp.

References BOARD, BOOST_REQUIRE(), and dummy.