| 
    KiCad PCB EDA Suite
    
   | 
 
Integration tests for text_eval_parser functionality including real-world scenarios. More...
#include <qa_utils/wx_utils/unit_test_utils.h>#include <text_eval/text_eval_wrapper.h>#include <chrono>#include <regex>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (RealWorldScenarios) | |
| Declare the test suite.   | |
| BOOST_AUTO_TEST_CASE (CallbackVariableResolution) | |
| Test callback-based variable resolution.   | |
| BOOST_AUTO_TEST_CASE (ThreadSafety) | |
| Test concurrent/thread safety (basic test)   | |
| BOOST_AUTO_TEST_CASE (MemoryManagement) | |
| Test memory management and large expressions.   | |
| BOOST_AUTO_TEST_CASE (ParsingEdgeCases) | |
| Test edge cases in parsing and evaluation.   | |
| BOOST_AUTO_TEST_CASE (RealWorldPerformance) | |
| Test performance with realistic workloads.   | |
Integration tests for text_eval_parser functionality including real-world scenarios.
Definition in file test_text_eval_parser_integration.cpp.
| BOOST_AUTO_TEST_CASE | ( | CallbackVariableResolution | ) | 
Test callback-based variable resolution.
Definition at line 175 of file test_text_eval_parser_integration.cpp.
References BOOST_CHECK_EQUAL(), EXPRESSION_EVALUATOR::Evaluate(), expected, EXPRESSION_EVALUATOR::HasErrors(), calc_parser::MakeError(), calc_parser::MakeValue(), and result.
| BOOST_AUTO_TEST_CASE | ( | MemoryManagement | ) | 
Test memory management and large expressions.
Definition at line 270 of file test_text_eval_parser_integration.cpp.
References BOOST_CHECK_EQUAL(), EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::HasErrors(), and result.
| BOOST_AUTO_TEST_CASE | ( | ParsingEdgeCases | ) | 
Test edge cases in parsing and evaluation.
Definition at line 302 of file test_text_eval_parser_integration.cpp.
References EXPRESSION_EVALUATOR::Evaluate(), expected, EXPRESSION_EVALUATOR::GetErrorSummary(), EXPRESSION_EVALUATOR::HasErrors(), and result.
| BOOST_AUTO_TEST_CASE | ( | RealWorldPerformance | ) | 
Test performance with realistic workloads.
Definition at line 387 of file test_text_eval_parser_integration.cpp.
References BOOST_CHECK_EQUAL(), end, EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::HasErrors(), result, and EXPRESSION_EVALUATOR::SetVariable().
| BOOST_AUTO_TEST_CASE | ( | RealWorldScenarios | ) | 
Declare the test suite.
Test real-world expression scenarios
Definition at line 45 of file test_text_eval_parser_integration.cpp.
References BOOST_AUTO_TEST_CASE(), EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::GetErrorSummary(), EXPRESSION_EVALUATOR::HasErrors(), result, and EXPRESSION_EVALUATOR::SetVariable().
| BOOST_AUTO_TEST_CASE | ( | ThreadSafety | ) | 
Test concurrent/thread safety (basic test)
Definition at line 242 of file test_text_eval_parser_integration.cpp.