aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_x509_path.cpp
diff options
context:
space:
mode:
authorMathieu Souchaud <[email protected]>2018-02-28 17:27:27 +0100
committerMathieu Souchaud <[email protected]>2018-02-28 17:27:27 +0100
commit51fe75332f2cb8a76e1a265c51574457fb6bf8e3 (patch)
tree2931a71d832b919fb9d0ca24763d99d19f9628c1 /src/tests/test_x509_path.cpp
parentb7da4348ef4e8abf68032a18f4e2cc2e3ae95a86 (diff)
Add Path_Validation_Result::warnings_string() method
Diffstat (limited to 'src/tests/test_x509_path.cpp')
-rw-r--r--src/tests/test_x509_path.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test_x509_path.cpp b/src/tests/test_x509_path.cpp
index 3e45f6072..7a9ff97bc 100644
--- a/src/tests/test_x509_path.cpp
+++ b/src/tests/test_x509_path.cpp
@@ -112,6 +112,8 @@ class X509test_Path_Validation_Tests final : public Test
}
result.test_eq("test " + filename, path_result.result_string(), expected_result);
+ result.test_eq("test no warnings string", path_result.warnings_string(), "");
+ result.confirm("test no warnings", path_result.no_warnings() == true);
result.end_timer();
results.push_back(result);
}