!166 REMADE修改

Merge pull request !166 from yuyan0428/master
This commit is contained in:
openharmony_ci 2022-08-17 07:04:41 +00:00 committed by Gitee
commit d37c10f1d3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 8 additions and 1 deletions

View File

@ -216,6 +216,8 @@ subsystem # 子系统
EXPECT_EQ(4, actual);
}
```
> **注意:** @tc.require: 格式必须以AR、SR或issus开头AR+AR号、SR+SR号或issue+issue号例如issueI56WJ7
在编写用例时,我们提供了三种用例模板供您选择。
| 类型 | 描述 |
@ -374,6 +376,7 @@ subsystem # 子系统
expect(info != null).assertEqual(true)
})
```
> **注意:** @tc.require: 格式必须以AR、SR或issus开头AR+AR号、SR+SR号或issue+issue号例如issueI56WJ7
**Fuzz测试**

View File

@ -133,8 +133,12 @@ Fuzzing测试框架使用了LLVM编译器框架中的[libFuzzer](https://llvm.or
return 0;
}
```
### 注意当data需强制转换为字符串类型时需要携带size例如:
```
std::string result((const char*) data, size);
```
2. BUILD.gn编写