KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_text_eval_parser_integration.cpp File Reference

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.
 

Detailed Description

Integration tests for text_eval_parser functionality including real-world scenarios.

Definition in file test_text_eval_parser_integration.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( CallbackVariableResolution )

◆ BOOST_AUTO_TEST_CASE() [2/6]

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() [3/6]

BOOST_AUTO_TEST_CASE ( ParsingEdgeCases )

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( RealWorldPerformance )

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( RealWorldScenarios )

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( ThreadSafety )

Test concurrent/thread safety (basic test)

Definition at line 242 of file test_text_eval_parser_integration.cpp.

References actual, expected, and result.