|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Functions | |
| static FILE_CHECKLIST_ENTRY | makeEntry (const wxString &aSection, const wxString &aPath, bool aChecked) |
| BOOST_AUTO_TEST_CASE (SectionsAndRowsKeepInsertionOrder) | |
| BOOST_AUTO_TEST_CASE (CheckedPathsReflectToggles) | |
| BOOST_AUTO_TEST_CASE (SectionIsCheckedOnlyWhenEveryRowIs) | |
| BOOST_AUTO_TEST_CASE (SetSectionCheckedTogglesWholeGroup) | |
| BOOST_AUTO_TEST_CASE (UnknownSectionReadsAsEmpty) | |
| BOOST_AUTO_TEST_CASE | ( | CheckedPathsReflectToggles | ) |
Definition at line 61 of file test_file_checklist_ctrl.cpp.
References BOOST_CHECK_EQUAL(), FILE_CHECKLIST_DATA::CheckedPaths(), makeEntry(), FILE_CHECKLIST_DATA::SetChecked(), and FILE_CHECKLIST_DATA::SetEntries().
| BOOST_AUTO_TEST_CASE | ( | SectionIsCheckedOnlyWhenEveryRowIs | ) |
Definition at line 87 of file test_file_checklist_ctrl.cpp.
References FILE_CHECKLIST_DATA::IsSectionChecked(), makeEntry(), FILE_CHECKLIST_DATA::SetChecked(), and FILE_CHECKLIST_DATA::SetEntries().
| BOOST_AUTO_TEST_CASE | ( | SectionsAndRowsKeepInsertionOrder | ) |
Definition at line 41 of file test_file_checklist_ctrl.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), makeEntry(), path, FILE_CHECKLIST_DATA::Rows(), FILE_CHECKLIST_DATA::Sections(), and FILE_CHECKLIST_DATA::SetEntries().
| BOOST_AUTO_TEST_CASE | ( | SetSectionCheckedTogglesWholeGroup | ) |
Definition at line 105 of file test_file_checklist_ctrl.cpp.
References BOOST_CHECK_EQUAL(), FILE_CHECKLIST_DATA::CheckedPaths(), FILE_CHECKLIST_DATA::IsSectionChecked(), makeEntry(), FILE_CHECKLIST_DATA::SetEntries(), and FILE_CHECKLIST_DATA::SetSectionChecked().
| BOOST_AUTO_TEST_CASE | ( | UnknownSectionReadsAsEmpty | ) |
Definition at line 126 of file test_file_checklist_ctrl.cpp.
References FILE_CHECKLIST_DATA::CheckedPaths(), empty(), FILE_CHECKLIST_DATA::IsSectionChecked(), and FILE_CHECKLIST_DATA::Rows().
|
static |
Definition at line 25 of file test_file_checklist_ctrl.cpp.
References FILE_CHECKLIST_ENTRY::checked, FILE_CHECKLIST_ENTRY::icon, icon_pcbnew_16, FILE_CHECKLIST_ENTRY::label, FILE_CHECKLIST_ENTRY::path, FILE_CHECKLIST_ENTRY::section, and FILE_CHECKLIST_ENTRY::status.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().