KiCad PCB EDA Suite
|
Test suite for FILE_HISTORY. More...
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <file_history.h>
#include <id.h>
#include <vector>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (AddRemove) | |
BOOST_AUTO_TEST_CASE (Persistence) | |
Test suite for FILE_HISTORY.
Definition in file test_file_history.cpp.
BOOST_AUTO_TEST_CASE | ( | AddRemove | ) |
Definition at line 39 of file test_file_history.cpp.
References FILE_HISTORY::AddFileToHistory(), BOOST_CHECK_EQUAL(), ID_FILE1, and ID_FILE_LIST_CLEAR.
BOOST_AUTO_TEST_CASE | ( | Persistence | ) |
Definition at line 62 of file test_file_history.cpp.
References FILE_HISTORY::AddFileToHistory(), BOOST_CHECK_EQUAL(), FILE_HISTORY::ClearFileHistory(), ID_FILE1, ID_FILE_LIST_CLEAR, FILE_HISTORY::Load(), and FILE_HISTORY::Save().