mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Add support for disabled test cases.
This commit adds support for skipping test cases that have enabled=0 in their JSON body. A separate counter is kept and reported in the final non-automake output, detailing disabled as a separate field. Ref: #1513
This commit is contained in:
committed by
Felipe Zimmerle
parent
ab14b7c083
commit
d66f0c7e0d
@@ -83,10 +83,12 @@ class RegressionTestResult {
|
||||
RegressionTestResult() :
|
||||
passed(false),
|
||||
skipped(false),
|
||||
disabled(false),
|
||||
test(NULL) { }
|
||||
|
||||
bool passed;
|
||||
bool skipped;
|
||||
bool disabled;
|
||||
RegressionTest *test;
|
||||
std::stringstream reason;
|
||||
};
|
||||
|
Reference in New Issue
Block a user