summaryrefslogtreecommitdiff
path: root/tests/test_encryption-scheme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_encryption-scheme.cpp')
-rw-r--r--tests/test_encryption-scheme.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/test_encryption-scheme.cpp b/tests/test_encryption-scheme.cpp
index ac552f55..e77c38b9 100644
--- a/tests/test_encryption-scheme.cpp
+++ b/tests/test_encryption-scheme.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 -2019 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -73,6 +73,18 @@ BOOST_AUTO_TEST_CASE(T010_Check_old_scheme)
test.CheckSchemeVersion(filter, OLD_ENC_SCHEME);
}
+BOOST_AUTO_TEST_CASE(T1111_Alias_Info_old_scheme)
+{
+ SchemeTest test;
+ test.RestoreDb();
+
+ ItemFilter filter;
+ test.CheckSchemeVersion(filter, OLD_ENC_SCHEME);
+ test.CheckAliasInfo();
+ test.ReadAll();
+ test.CheckAliasInfo();
+}
+
// Newly written data should use the new scheme
BOOST_AUTO_TEST_CASE(T020_Check_new_scheme)
{