| 
    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 334 of file test_lib_table.cpp.
References BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | Empty | ) | 
Declare the test suite.
Check an empty table behaves correctly
Definition at line 242 of file test_lib_table.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and table.
| BOOST_AUTO_TEST_CASE | ( | EmptyWithFallback | ) | 
Check size and emptiness on tables with fallback.
Definition at line 255 of file test_lib_table.cpp.
References BOOST_CHECK_EQUAL(), and table.
| BOOST_AUTO_TEST_CASE | ( | Equal | ) | 
Check table equality function.
Definition at line 272 of file test_lib_table.cpp.
References BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | HasLibrary | ) | 
Test retrieval of libs by nickname.
Definition at line 319 of file test_lib_table.cpp.
References BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | Indexing | ) | 
Test indexing into the main table.
Definition at line 295 of file test_lib_table.cpp.
References BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | LogicalLibs | ) | 
Test retrieval of the logical libs function.
Definition at line 369 of file test_lib_table.cpp.
| BOOST_AUTO_TEST_CASE | ( | URIs | ) | 
Test retrieval of libs by URI.
Definition at line 346 of file test_lib_table.cpp.
References BOOST_CHECK_EQUAL(), and LIB_TABLE_ROW::GetNickName().