|
KiCad PCB EDA Suite
|
#include <wx/cmdline.h>#include <wx/stdstream.h>#include <wx/wfstream.h>#include <wx/textfile.h>#include <io/io_utils.h>#include <qa_utils/utility_registry.h>#include <pcbnew_utils/board_test_utils.h>#include <pcbnew_utils/board_file_utils.h>#include <wx/dir.h>#include "pns_log_file.h"#include "pns_log_viewer_frame.h"#include <boost/test/unit_test.hpp>Go to the source code of this file.
Classes | |
| struct | PNS_TEST_CASE |
| class | FIXTURE_LOGGER |
| class | PNS_TEST_FIXTURE |
Macros | |
| #define | BOOST_TEST_NO_MAIN |
Functions | |
| std::vector< wxString > | scanSubdirs (const wxString &absPath, bool aFiles, wxString filespec=wxEmptyString) |
| void | scanAndHashBoards (const wxString &aPath) |
| std::vector< PNS_TEST_CASE * > | createTestCases () |
| bool | init_pns_test_suite () |
| int | main (int argc, char *argv[]) |
Variables | |
| std::map< wxString, wxString > | g_testBoards |
| bool | g_showDetailedLog = true |
| #define BOOST_TEST_NO_MAIN |
Definition at line 24 of file qa_pns_regressions_main.cpp.
| std::vector< PNS_TEST_CASE * > createTestCases | ( | ) |
Definition at line 171 of file qa_pns_regressions_main.cpp.
References BOOST_TEST_MESSAGE(), KI_TEST::GetPcbnewTestDataDir(), path, scanAndHashBoards(), and scanSubdirs().
Referenced by init_pns_test_suite().
| bool init_pns_test_suite | ( | ) |
Definition at line 206 of file qa_pns_regressions_main.cpp.
References createTestCases(), and PNS_TEST_FIXTURE::RunTest().
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 224 of file qa_pns_regressions_main.cpp.
References init_pns_test_suite().
| void scanAndHashBoards | ( | const wxString & | aPath | ) |
Definition at line 156 of file qa_pns_regressions_main.cpp.
References BOOST_TEST_MESSAGE(), IO_UTILS::fileHashMMH3(), g_testBoards, path, and scanSubdirs().
Referenced by createTestCases().
| std::vector< wxString > scanSubdirs | ( | const wxString & | absPath, |
| bool | aFiles, | ||
| wxString | filespec = wxEmptyString ) |
Definition at line 133 of file qa_pns_regressions_main.cpp.
Referenced by createTestCases(), and scanAndHashBoards().
| bool g_showDetailedLog = true |
Definition at line 46 of file qa_pns_regressions_main.cpp.
| std::map<wxString, wxString> g_testBoards |
Definition at line 45 of file qa_pns_regressions_main.cpp.
Referenced by PNS_TEST_FIXTURE::RunTest(), and scanAndHashBoards().