Refactoring: rename evaluate to execute on actions

This commit is contained in:
Felipe Zimmerle
2019-02-25 21:47:51 -03:00
parent 6cdbad05ad
commit 1f7d202985
170 changed files with 234 additions and 239 deletions

View File

@@ -91,7 +91,7 @@ void perform_unit_test(ModSecurityTest<UnitTest> *test, UnitTest *t,
delete op;
} else if (t->type == "tfn") {
Transformation *tfn = Transformation::instantiate("t:" + t->name);
std::string ret = tfn->evaluate(t->input, NULL);
std::string ret = tfn->execute(t->input, NULL);
t->obtained = 1;
t->obtainedOutput = ret;
if (ret != t->output) {