summaryrefslogtreecommitdiff
path: root/test/decryption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-26 15:43:53 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-26 15:43:53 +0000
commitf3fba4af9566ae02f44dfa660c71dbaef6f4f92b (patch)
tree4b55c96e9101cee3c2b1f9dd854fad8c68a4383b /test/decryption_test.cc
parent583999819d97ae98e97997ed7d6ccde9abc13e9b (diff)
Clean up unit testing.
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 0f5a4ef0..d0e067ee 100644
--- a/test/decryption_test.cc
+++ b/test/decryption_test.cc
@@ -45,13 +45,13 @@ get_frame (libdcp::DCP const & dcp)
/** Decrypt an encrypted test DCP and check that its first frame is the same as the unencrypted version */
BOOST_AUTO_TEST_CASE (decryption_test)
{
- boost::filesystem::path plaintext_path = test_corpus;
+ boost::filesystem::path plaintext_path = private_test;
plaintext_path /= "TONEPLATES-SMPTE-PLAINTEXT_TST_F_XX-XX_ITL-TD_51-XX_2K_WOE_20111001_WOE_OV";
libdcp::DCP plaintext (plaintext_path.string ());
plaintext.read ();
BOOST_CHECK_EQUAL (plaintext.encrypted (), false);
- boost::filesystem::path encrypted_path = test_corpus;
+ 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";
libdcp::DCP encrypted (encrypted_path.string ());
encrypted.read ();