aboutsummaryrefslogtreecommitdiffstats
path: root/test/interface_test_unit.cpp
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2022-07-20 08:13:43 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2022-08-02 01:01:32 +0900
commita34f8913fbe3fc82ed32754ec6976d1a6f7904e6 (patch)
tree6ab53895bc2d62f983dff89ad2ba189b52ffc5b5 /test/interface_test_unit.cpp
parent0ca708eae20ba675458c29124f771c8f29dd12a7 (diff)
Update test case for file operations
This patch add test case for file operations into source tree. Bug-AGL: SPEC-4500 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I37c3fb3f2c0260a844cb6d6ea984cc6c868cee1b
Diffstat (limited to 'test/interface_test_unit.cpp')
-rw-r--r--test/interface_test_unit.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/interface_test_unit.cpp b/test/interface_test_unit.cpp
index b9e8df1..3dc5f70 100644
--- a/test/interface_test_unit.cpp
+++ b/test/interface_test_unit.cpp
@@ -14,10 +14,10 @@ extern "C" {
// Test Terget files ---------------------------------------
using namespace ::testing;
-struct interface_test : Test, SyscallIOMockBase {};
+struct interface_test_unit : Test, SyscallIOMockBase {};
//--------------------------------------------------------------------------------------------------------
-TEST_F(interface_test, interface_test_refop_create_redundancy_handle__arg_error)
+TEST_F(interface_test_unit, interface_test_unit_refop_create_redundancy_handle__arg_error)
{
refop_error_t ret = REFOP_SUCCESS;
refop_handle_t handle = NULL;
@@ -45,7 +45,7 @@ TEST_F(interface_test, interface_test_refop_create_redundancy_handle__arg_error)
ASSERT_EQ(REFOP_ARGERROR, ret);
}
//--------------------------------------------------------------------------------------------------------
-TEST_F(interface_test, interface_test_refop_create_redundancy_handle__stat_error)
+TEST_F(interface_test_unit, interface_test_unit_refop_create_redundancy_handle__stat_error)
{
refop_error_t ret = REFOP_SUCCESS;
refop_handle_t handle = NULL;
@@ -98,7 +98,7 @@ TEST_F(interface_test, interface_test_refop_create_redundancy_handle__stat_error
ASSERT_EQ(REFOP_SYSERROR, ret);
}
//--------------------------------------------------------------------------------------------------------
-TEST_F(interface_test, interface_test_refop_create_redundancy_handle__pathcheck_error)
+TEST_F(interface_test_unit, interface_test_unit_refop_create_redundancy_handle__pathcheck_error)
{
refop_error_t ret = REFOP_SUCCESS;
refop_handle_t handle = NULL;
@@ -130,7 +130,7 @@ TEST_F(interface_test, interface_test_refop_create_redundancy_handle__pathcheck_
ASSERT_EQ(REFOP_ARGERROR, ret);
}
//--------------------------------------------------------------------------------------------------------
-TEST_F(interface_test, interface_test_refop_create_redundancy_handle__success)
+TEST_F(interface_test_unit, interface_test_unit_refop_create_redundancy_handle__success)
{
struct refop_halndle *hndl;
refop_error_t ret = REFOP_SUCCESS;
@@ -171,7 +171,7 @@ TEST_F(interface_test, interface_test_refop_create_redundancy_handle__success)
ASSERT_EQ(REFOP_SUCCESS, ret);
}
//--------------------------------------------------------------------------------------------------------
-TEST_F(interface_test, interface_test_refop_release_redundancy_handle__all)
+TEST_F(interface_test_unit, interface_test_unit_refop_release_redundancy_handle__all)
{
struct refop_halndle *hndl;
refop_error_t ret = REFOP_SUCCESS;