|
KiCad PCB EDA Suite
|
Test suite for text_eval_parser VCS functionality. More...
#include <qa_utils/wx_utils/unit_test_utils.h>#include <text_eval/text_eval_wrapper.h>#include <git/git_backend.h>#include <git/libgit_backend.h>#include <chrono>#include <regex>Go to the source code of this file.
Classes | |
| struct | VCS_TEST_FIXTURE |
| Fixture to set up and tear down the git backend for VCS tests. More... | |
Functions | |
| BOOST_AUTO_TEST_CASE (VcsIdentifierFormatting) | |
| Test VCS identifier functions with various lengths. | |
| BOOST_AUTO_TEST_CASE (VcsBranchAndAuthorInfo) | |
| Test VCS branch and author information. | |
| BOOST_AUTO_TEST_CASE (VcsDirtyStatus) | |
| Test VCS dirty status functions. | |
| BOOST_AUTO_TEST_CASE (VcsDirtySuffix) | |
| Test VCS dirty suffix functions. | |
| BOOST_AUTO_TEST_CASE (VcsLabelsAndDistance) | |
| Test VCS label and distance functions. | |
| BOOST_AUTO_TEST_CASE (VcsCommitDate) | |
| Test VCS commit date formatting. | |
| BOOST_AUTO_TEST_CASE (VcsPerformance) | |
| Test performance of VCS operations. | |
| BOOST_AUTO_TEST_CASE (VcsMixedExpressions) | |
| Test mixed VCS and non-VCS expressions. | |
Test suite for text_eval_parser VCS functionality.
Definition in file test_text_eval_parser_vcs.cpp.
| BOOST_AUTO_TEST_CASE | ( | VcsBranchAndAuthorInfo | ) |
Test VCS branch and author information.
Definition at line 118 of file test_text_eval_parser_vcs.cpp.
References EXPRESSION_EVALUATOR::Evaluate(), and EXPRESSION_EVALUATOR::HasErrors().
| BOOST_AUTO_TEST_CASE | ( | VcsCommitDate | ) |
Test VCS commit date formatting.
Definition at line 290 of file test_text_eval_parser_vcs.cpp.
References EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::GetErrorSummary(), EXPRESSION_EVALUATOR::HasErrors(), and result.
| BOOST_AUTO_TEST_CASE | ( | VcsDirtyStatus | ) |
Test VCS dirty status functions.
Definition at line 164 of file test_text_eval_parser_vcs.cpp.
References EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::HasErrors(), and result.
| BOOST_AUTO_TEST_CASE | ( | VcsDirtySuffix | ) |
Test VCS dirty suffix functions.
Definition at line 205 of file test_text_eval_parser_vcs.cpp.
References EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::HasErrors(), and result.
| BOOST_AUTO_TEST_CASE | ( | VcsIdentifierFormatting | ) |
Test VCS identifier functions with various lengths.
Definition at line 64 of file test_text_eval_parser_vcs.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::GetErrorSummary(), EXPRESSION_EVALUATOR::HasErrors(), and result.
| BOOST_AUTO_TEST_CASE | ( | VcsLabelsAndDistance | ) |
Test VCS label and distance functions.
Definition at line 241 of file test_text_eval_parser_vcs.cpp.
References EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::HasErrors(), and result.
| BOOST_AUTO_TEST_CASE | ( | VcsMixedExpressions | ) |
Test mixed VCS and non-VCS expressions.
Definition at line 358 of file test_text_eval_parser_vcs.cpp.
References EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::HasErrors(), result, and EXPRESSION_EVALUATOR::SetVariable().
| BOOST_AUTO_TEST_CASE | ( | VcsPerformance | ) |
Test performance of VCS operations.
Definition at line 334 of file test_text_eval_parser_vcs.cpp.
References end, EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::HasErrors(), and result.