/*
- * Copyright (c) 2016-2019 Samsung Electronics Co., Ltd. All rights reserved
+ * Copyright (c) 2016 - 2020 Samsung Electronics Co., Ltd. All rights reserved
*
* Contact: Kyungwook Tak <k.tak@samsung.com>
*
*/
#include <vector>
-#include <boost/test/unit_test.hpp>
+#include <boost_macros_wrapper.h>
#include <test_common.h>
#include <ckm/ckm-raw-buffer.h>
// Tests for SafeBuffer. Checks if memory occupied by the buffer is wiped after it's deleted.
-BOOST_AUTO_TEST_CASE(SafeBufferTest_uc_control_group)
+POSITIVE_TEST_CASE(SafeBufferTest_uc_control_group)
{
size_t cnt = buffer_erase_test<std::vector<unsigned char>>();
"Less than 1/2 of data matches the original.");
}
-BOOST_AUTO_TEST_CASE(SafeBufferTest_item_control_group)
+POSITIVE_TEST_CASE(SafeBufferTest_item_control_group)
{
size_t cnt = buffer_erase_test<std::vector<Item>>();
"Less than 1/2 of data matches the original.");
}
-BOOST_AUTO_TEST_CASE(SafeBufferTest_uc)
+POSITIVE_TEST_CASE(SafeBufferTest_uc)
{
size_t cnt = buffer_erase_test<RawBuffer>();
"More than 1/10 of data matches the original.");
}
-BOOST_AUTO_TEST_CASE(SafeBufferTest_item)
+POSITIVE_TEST_CASE(SafeBufferTest_item)
{
size_t cnt = buffer_erase_test<SafeBuffer<Item>::Type>();