summaryrefslogtreecommitdiff
path: root/test/decryption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-19 00:32:53 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-19 00:32:53 +0100
commit1f284533185a798c0ed36669bd6c9729adf6ec5a (patch)
tree94dd3de07e0670f1bf1eed0de94ada1033ceb7f6 /test/decryption_test.cc
parent37631b4d5e07eddbf052c1cff315d6a98b3bcb73 (diff)
Rename encrypted() to any_encrypted() and add all_encrypted().
Diffstat (limited to 'test/decryption_test.cc')
-rw-r--r--test/decryption_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/decryption_test.cc b/test/decryption_test.cc
index 6a7dde9d..3c4c0d61 100644
--- a/test/decryption_test.cc
+++ b/test/decryption_test.cc
@@ -77,13 +77,13 @@ BOOST_AUTO_TEST_CASE (decryption_test)
plaintext_path /= "TONEPLATES-SMPTE-PLAINTEXT_TST_F_XX-XX_ITL-TD_51-XX_2K_WOE_20111001_WOE_OV";
dcp::DCP plaintext (plaintext_path.string ());
plaintext.read ();
- BOOST_CHECK_EQUAL (plaintext.encrypted (), false);
+ BOOST_CHECK_EQUAL (plaintext.any_encrypted(), false);
boost::filesystem::path encrypted_path = private_test;
encrypted_path /= "TONEPLATES-SMPTE-ENCRYPTED_TST_F_XX-XX_ITL-TD_51-XX_2K_WOE_20111001_WOE_OV";
dcp::DCP encrypted (encrypted_path.string ());
encrypted.read ();
- BOOST_CHECK_EQUAL (encrypted.encrypted (), true);
+ BOOST_CHECK_EQUAL (encrypted.any_encrypted(), true);
dcp::DecryptedKDM kdm (
dcp::EncryptedKDM (