KiCad PCB EDA Suite
|
Test suite for LIB_TABLE_BASE. More...
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (Empty) | |
Declare the test suite. | |
BOOST_AUTO_TEST_CASE (EmptyWithFallback) | |
Check size and emptiness on tables with fallback. | |
BOOST_AUTO_TEST_CASE (Equal) | |
Check table equality function. | |
BOOST_AUTO_TEST_CASE (Indexing) | |
Test indexing into the main table. | |
BOOST_AUTO_TEST_CASE (HasLibrary) | |
Test retrieval of libs by nickname. | |
BOOST_AUTO_TEST_CASE (Descriptions) | |
Test retrieval of libs by nickname. | |
BOOST_AUTO_TEST_CASE (URIs) | |
Test retrieval of libs by URI. | |
BOOST_AUTO_TEST_CASE (LogicalLibs) | |
Test retrieval of the logical libs function. | |
Test suite for LIB_TABLE_BASE.
This test is of a abstract class, so we will implement a cut-down version and only test the core logic. Tests of the concrete implementations's own logic should be done in the relevant tests.
Definition in file test_lib_table.cpp.
BOOST_AUTO_TEST_CASE | ( | Descriptions | ) |
Test retrieval of libs by nickname.
Definition at line 339 of file test_lib_table.cpp.
BOOST_AUTO_TEST_CASE | ( | Empty | ) |
Declare the test suite.
Check an empty table behaves correctly
Definition at line 247 of file test_lib_table.cpp.
BOOST_AUTO_TEST_CASE | ( | EmptyWithFallback | ) |
Check size and emptiness on tables with fallback.
Definition at line 260 of file test_lib_table.cpp.
BOOST_AUTO_TEST_CASE | ( | Equal | ) |
Check table equality function.
Definition at line 277 of file test_lib_table.cpp.
BOOST_AUTO_TEST_CASE | ( | HasLibrary | ) |
Test retrieval of libs by nickname.
Definition at line 324 of file test_lib_table.cpp.
BOOST_AUTO_TEST_CASE | ( | Indexing | ) |
Test indexing into the main table.
Definition at line 300 of file test_lib_table.cpp.
BOOST_AUTO_TEST_CASE | ( | LogicalLibs | ) |
Test retrieval of the logical libs function.
Definition at line 374 of file test_lib_table.cpp.
BOOST_AUTO_TEST_CASE | ( | URIs | ) |
Test retrieval of libs by URI.
Definition at line 351 of file test_lib_table.cpp.
References LIB_TABLE_ROW::GetNickName().