KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SYMBOL_EDITOR_TABS_TEST_FIXTURE Struct Reference

Public Member Functions

 SYMBOL_EDITOR_TABS_TEST_FIXTURE ()
 
std::unique_ptr< SYMBOL_BUFFERmakeBuffer (const wxString &aName)
 Build a buffer over a fresh symbol and screen for the given name.
 
void pushTransientCommand (UNDO_REDO_CONTAINER &aList, LIB_SYMBOL *aTransient)
 Push a UR_TRANSIENT-flagged symbol copy as a single-item command.
 

Static Public Member Functions

static void freeTransientUndoCommands (UNDO_REDO_CONTAINER &aList, const LIB_SYMBOL *aLiveSymbol)
 Expose the private static free helper under test.
 

Detailed Description

Definition at line 59 of file test_symbol_editor_tabs.cpp.

Constructor & Destructor Documentation

◆ SYMBOL_EDITOR_TABS_TEST_FIXTURE()

SYMBOL_EDITOR_TABS_TEST_FIXTURE::SYMBOL_EDITOR_TABS_TEST_FIXTURE ( )
inline

Definition at line 61 of file test_symbol_editor_tabs.cpp.

Member Function Documentation

◆ freeTransientUndoCommands()

static void SYMBOL_EDITOR_TABS_TEST_FIXTURE::freeTransientUndoCommands ( UNDO_REDO_CONTAINER & aList,
const LIB_SYMBOL * aLiveSymbol )
inlinestatic

Expose the private static free helper under test.

Definition at line 83 of file test_symbol_editor_tabs.cpp.

References SYMBOL_EDIT_FRAME::freeTransientUndoCommands().

◆ makeBuffer()

std::unique_ptr< SYMBOL_BUFFER > SYMBOL_EDITOR_TABS_TEST_FIXTURE::makeBuffer ( const wxString & aName)
inline

Build a buffer over a fresh symbol and screen for the given name.

Definition at line 64 of file test_symbol_editor_tabs.cpp.

◆ pushTransientCommand()

void SYMBOL_EDITOR_TABS_TEST_FIXTURE::pushTransientCommand ( UNDO_REDO_CONTAINER & aList,
LIB_SYMBOL * aTransient )
inline

Push a UR_TRANSIENT-flagged symbol copy as a single-item command.

Definition at line 73 of file test_symbol_editor_tabs.cpp.

References LIBEDIT, UNDO_REDO_CONTAINER::PushCommand(), PICKED_ITEMS_LIST::PushItem(), EDA_ITEM::SetFlags(), and UR_TRANSIENT.


The documentation for this struct was generated from the following file: