提交 b6e93be1 编写于 作者: J jiyong 提交者: openharmony_ci

!4 删除无效注释

Merge pull request !4 from jiyong/master
上级 4545e55c
...@@ -32,7 +32,6 @@ const int INVALID_PARAMETER = -9; // Invalid parameter. ...@@ -32,7 +32,6 @@ const int INVALID_PARAMETER = -9; // Invalid parameter.
class KvStoreTest : public testing::Test { class KvStoreTest : public testing::Test {
protected: protected:
// SetUpTestCase:测试套预置动作,在第一个TestCase之前执行
static void SetUpTestCase(void) static void SetUpTestCase(void)
{ {
printf("----------test case with KvStoreTest start-------------\n"); printf("----------test case with KvStoreTest start-------------\n");
...@@ -43,7 +42,6 @@ protected: ...@@ -43,7 +42,6 @@ protected:
ret = UtilsSetEnv("/storage/com.huawei.kv"); ret = UtilsSetEnv("/storage/com.huawei.kv");
EXPECT_EQ(ret, 0); EXPECT_EQ(ret, 0);
} }
// TearDownTestCase:测试套清理动作,在最后一个TestCase之后执行
static void TearDownTestCase(void) static void TearDownTestCase(void)
{ {
int ret = rmdir("/storage/com.huawei.kv/kvstore"); int ret = rmdir("/storage/com.huawei.kv/kvstore");
...@@ -52,9 +50,8 @@ protected: ...@@ -52,9 +50,8 @@ protected:
printf("/storage/com.huawei.kv ret = %d\n", ret); printf("/storage/com.huawei.kv ret = %d\n", ret);
printf("----------test case with KvStoreTest end-------------\n"); printf("----------test case with KvStoreTest end-------------\n");
} }
// 用例的预置动作
virtual void SetUp() {} virtual void SetUp() {}
// 用例的清理动作
virtual void TearDown() {} virtual void TearDown() {}
bool TouchKVFiles (int num, const char* key, const char* value); bool TouchKVFiles (int num, const char* key, const char* value);
bool DeleteKVFiles (int num, const char* key); bool DeleteKVFiles (int num, const char* key);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册