projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1f0f3
)
Add another test.
author
Carl Hetherington
<cth@carlh.net>
Tue, 27 Jun 2017 22:04:38 +0000
(23:04 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 27 Jun 2017 22:04:38 +0000
(23:04 +0100)
test/certificates_test.cc
patch
|
blob
|
history
diff --git
a/test/certificates_test.cc
b/test/certificates_test.cc
index d977b6154e94119877c17902517e448d5fc890f2..41b2357ee4db83be10319f2c3e2e318b5778355c 100644
(file)
--- a/
test/certificates_test.cc
+++ b/
test/certificates_test.cc
@@
-211,6
+211,13
@@
BOOST_AUTO_TEST_CASE (certificates_validation9)
BOOST_CHECK_NO_THROW (good.root_to_leaf());
}
+/** Check that we can create a valid chain */
+BOOST_AUTO_TEST_CASE (certificates_validation10)
+{
+ dcp::CertificateChain good (boost::filesystem::path ("openssl"));
+ BOOST_CHECK_NO_THROW (good.root_to_leaf());
+}
+
/** Check that dcp::Signer::valid() basically works */
BOOST_AUTO_TEST_CASE (signer_validation)
{