mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Introduce ModSecurityTestContext to encapsulate setup of objects required to execute transactions
- Simplifies memory management on error conditions - Context will be used in unit tests too, in order to provide Transaction related instances.
This commit is contained in:
@@ -31,7 +31,8 @@ EXTRA_DIST = \
|
||||
noinst_PROGRAMS += unit_tests
|
||||
unit_tests_SOURCES = \
|
||||
unit/unit.cc \
|
||||
unit/unit_test.cc
|
||||
unit/unit_test.cc \
|
||||
common/custom_debug_log.cc
|
||||
|
||||
|
||||
noinst_HEADERS = \
|
||||
@@ -94,7 +95,7 @@ noinst_PROGRAMS += regression_tests
|
||||
regression_tests_SOURCES = \
|
||||
regression/regression.cc \
|
||||
regression/regression_test.cc \
|
||||
regression/custom_debug_log.cc
|
||||
common/custom_debug_log.cc
|
||||
|
||||
regression_tests_LDADD = \
|
||||
$(CURL_LDADD) \
|
||||
|
Reference in New Issue
Block a user