未验证 提交 2243f9df 编写于 作者: O openharmony_ci 提交者: Gitee

!2149 FIX:修改fuzztest 文件名

Merge pull request !2149 from cheng_jinsong/0725_fuzztest
此差异已折叠。
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "AclGetDevUdid_fuzzer.h"
#include "aclgetdevudid_fuzzer.h"
#include <string>
#include "parameter.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_ACL_GET_DEV_UDID_FUZZER_H
#define TEST_FUZZTEST_ACL_GET_DEV_UDID_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "AclGetDevUdid_fuzzer"
#define FUZZ_PROJECT_NAME "aclgetdevudid_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "AclGetSerial_fuzzer.h"
#include "aclgetserial_fuzzer.h"
#include <string>
#include "parameter.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_ACL_GET_SERIAL_H
#define TEST_FUZZTEST_ACL_GET_SERIAL_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "AclGetSerial_fuzzer"
#define FUZZ_PROJECT_NAME "aclgetserial_fuzzer"
#endif
\ No newline at end of file
......@@ -13,10 +13,10 @@
* limitations under the License.
*/
#include "addremotewatcher_fuzzer.h"
#include <string>
#include <memory>
#include "watcher_manager.h"
#include "AddRemoteWatcher_fuzzer.h"
using namespace OHOS::init_param;
namespace OHOS {
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_ADD_REMOTE_WATCHER_FUZZER_H
#define TEST_FUZZTEST_ADD_REMOTE_WATCHER_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "AddRemoteWatcher_fuzzer"
#define FUZZ_PROJECT_NAME "addremotewatcher_fuzzer"
#endif
......@@ -13,10 +13,10 @@
* limitations under the License.
*/
#include "addwatcher_fuzzer.h"
#include <string>
#include <memory>
#include "watcher_manager.h"
#include "AddWatcher_fuzzer.h"
using namespace OHOS::init_param;
namespace OHOS {
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_ADD_WATCHER_FUZZER_H
#define TEST_FUZZTEST_ADD_WATCHER_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "AddWatcher_fuzzer"
#define FUZZ_PROJECT_NAME "addwatcher_fuzzer"
#endif
......@@ -13,9 +13,10 @@
* limitations under the License.
*/
#include "buildcontrolmessage_fuzzer.h"
#include <string>
#include "fd_holder_internal.h"
#include "BuildControlMessage_fuzzer.h"
namespace OHOS {
bool FuzzBuildControlMessage(const uint8_t* data, size_t size)
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_BUILD_CONTROL_MESSAGE_H
#define TEST_FUZZTEST_BUILD_CONTROL_MESSAGE_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "BuildControlMessage_fuzzer"
#define FUZZ_PROJECT_NAME "buildcontrolmessage_fuzzer"
#endif
\ No newline at end of file
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "CmdClientInit_fuzzer.h"
#include "cmdclientinit_fuzzer.h"
#include <string>
#include "control_fd.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_CMD_CLIENT_INIT_FUZZER_H
#define TEST_FUZZTEST_CMD_CLIENT_INIT_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "CmdClientInit_fuzzer"
#define FUZZ_PROJECT_NAME "cmdclientinit_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "CmdServiceInit_fuzzer.h"
#include "cmdserviceinit_fuzzer.h"
#include <string>
#include "fuzz_utils.h"
#include "control_fd.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_CMD_SERVICE_INIT_FUZZER_H
#define TEST_FUZZTEST_CMD_SERVICE_INIT_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "CmdServiceInit_fuzzer"
#define FUZZ_PROJECT_NAME "cmdserviceinit_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "CmdServiceProcessDelClient_fuzzer.h"
#include "cmdserviceprocessdelclient_fuzzer.h"
#include <string>
#include "control_fd.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_CMD_SERVICE_PROCESS_DEL_CLIENT_FUZZER_H
#define TEST_FUZZTEST_CMD_SERVICE_PROCESS_DEL_CLIENT_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "CmdServiceProcessDelClient_fuzzer"
#define FUZZ_PROJECT_NAME "cmdserviceprocessdelclient_fuzzer"
#endif
......@@ -13,10 +13,10 @@
* limitations under the License.
*/
#include "delremotewatcher_fuzzer.h"
#include <string>
#include <memory>
#include "watcher_manager.h"
#include "DelRemoteWatcher_fuzzer.h"
using namespace OHOS::init_param;
namespace OHOS {
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_DEL_REMOTE_WATCHER_FUZZER_H
#define TEST_FUZZTEST_DEL_REMOTE_WATCHER_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "DelRemoteWatcher_fuzzer"
#define FUZZ_PROJECT_NAME "delremotewatcher_fuzzer"
#endif
......@@ -13,10 +13,10 @@
* limitations under the License.
*/
#include "delwatcher_fuzzer.h"
#include <string>
#include <memory>
#include "watcher_manager.h"
#include "DelWatcher_fuzzer.h"
using namespace OHOS::init_param;
namespace OHOS {
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_DEL_WATCHER_FUZZER_H
#define TEST_FUZZTEST_DEL_WATCHER_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "DelWatcher_fuzzer"
#define FUZZ_PROJECT_NAME "delwatcher_fuzzer"
#endif
......@@ -13,6 +13,7 @@
* limitations under the License.
*/
#include "doformat_fuzzer.h"
#include <string>
#include "fs_manager/fs_manager.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_DO_FORMAT_FUZZER_H
#define TEST_FUZZTEST_DO_FORMAT_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "DoFormat_fuzzer"
#define FUZZ_PROJECT_NAME "doformat_fuzzer"
#endif
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_DOREBOOT_FUZZER_H
#define TEST_FUZZTEST_DOREBOOT_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "DoReboot_fuzzer"
#define FUZZ_PROJECT_NAME "doreboot_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "DoRebootExt_fuzzer.h"
#include "dorebootext_fuzzer.h"
#include<string>
#include "init_reboot.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_DOREBOOTEXT_FUZZER_H
#define TEST_FUZZTEST_DOREBOOTEXT_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "DoRebootExt_fuzzer"
#define FUZZ_PROJECT_NAME "dorebootext_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "FindFstabItemForMountPoint_fuzzer.h"
#include "findfstabitemformountpoint_fuzzer.h"
#include <iostream>
#include <string>
#include "fs_manager/fs_manager.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_FIND_FSTAB_ITEM_FOR_MOUNT_POINT_FUZZER_H
#define TEST_FUZZTEST_FIND_FSTAB_ITEM_FOR_MOUNT_POINT_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "FindFstabItemForMountPoint_fuzzer"
#define FUZZ_PROJECT_NAME "findfstabitemformountpoint_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "FindFstabItemForPath_fuzzer.h"
#include "findfstabitemforpath_fuzzer.h"
#include <iostream>
#include <string>
#include "fs_manager/fs_manager.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_FIND_FSTAB_ITEM_FOR_PATH_FUZZER_H
#define TEST_FUZZTEST_FIND_FSTAB_ITEM_FOR_PATH_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "FindFstabItemForPath_fuzzer"
#define FUZZ_PROJECT_NAME "findfstabitemforpath_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "FindParameter_fuzzer.h"
#include "findparameter_fuzzer.h"
#include<string>
#include "parameter.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_FINDPARAMETER_FUZZER_H
#define TEST_FUZZTEST_FINDPARAMETER_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "FindParameter_fuzzer"
#define FUZZ_PROJECT_NAME "findparameter_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetAbiList_fuzzer.h"
#include "getabilist_fuzzer.h"
#include <string>
#include "parameter.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_GET_ABILIST_H
#define TEST_FUZZTEST_GET_ABILIST_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "GetAbiList_fuzzer"
#define FUZZ_PROJECT_NAME "getabilist_fuzzer"
#endif
\ No newline at end of file
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetBlockDeviceByMountPoint_fuzzer.h"
#include "getblockdevicebymountpoint_fuzzer.h"
#include <iostream>
#include "fs_manager/fs_manager.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_GET_BLOCK_DEVICE_BY_MOUNT_POINT_FUZZER_H
#define TEST_FUZZTEST_GET_BLOCK_DEVICE_BY_MOUNT_POINT_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "GetBlockDeviceByMountPoint_fuzzer"
#define FUZZ_PROJECT_NAME "getblockdevicebymountpoint_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetBlockDeviceByName_fuzzer.h"
#include "getblockdevicebyname_fuzzer.h"
#include <iostream>
#include <string>
#include "fs_manager/fs_manager.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_GET_BLOCK_DEVICE_NAME_FUZZER_H
#define TEST_FUZZTEST_GET_BLOCK_DEVICE_NAME_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "GetBlockDeviceByName_fuzzer"
#define FUZZ_PROJECT_NAME "getblockdevicebyname_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetBlockDevicePath_fuzzer.h"
#include "getblockdevicepath_fuzzer.h"
#include <string>
#include "fs_manager/fs_manager.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_GET_BLOCK_DEVICE_PATH_FUZZER_H
#define TEST_FUZZTEST_GET_BLOCK_DEVICE_PATH_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "GetBlockDevicePath_fuzzer"
#define FUZZ_PROJECT_NAME "getblockdevicepath_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetBoolParameterCpp_fuzzer.h"
#include "getboolparametercpp_fuzzer.h"
#include<string>
#include "parameters.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_GET_BOOL_PARAMETER_CPP_FUZZER_H
#define TEST_FUZZTEST_GET_BOOL_PARAMETER_CPP_FUZZER_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "GetBoolParameterCpp_fuzzer"
#define FUZZ_PROJECT_NAME "getboolparametercpp_fuzzer"
#endif
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetBootloaderVersion_fuzzer.h"
#include "getbootloaderversion_fuzzer.h"
#include <string>
#include "parameter.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_GET_BOOTLOADER_VERSION_H
#define TEST_FUZZTEST_GET_BOOTLOADER_VERSION_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "GetBootloaderVersion_fuzzer"
#define FUZZ_PROJECT_NAME "getbootloaderversion_fuzzer"
#endif
\ No newline at end of file
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetBootSlots_fuzzer.h"
#include "getbootslots_fuzzer.h"
#include <string>
#include "fs_manager/fs_manager.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_GET_BOOT_SLOTS_H
#define TEST_FUZZTEST_GET_BOOT_SLOTS_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "GetBootSlots_fuzzer"
#define FUZZ_PROJECT_NAME "getbootslots_fuzzer"
#endif
\ No newline at end of file
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetBrand_fuzzer.h"
#include "getbrand_fuzzer.h"
#include <string>
#include "parameter.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_GET_BRAND_H
#define TEST_FUZZTEST_GET_BRAND_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "GetBrand_fuzzer"
#define FUZZ_PROJECT_NAME "getbrand_fuzzer"
#endif
\ No newline at end of file
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetBuildHost_fuzzer.h"
#include "getbuildhost_fuzzer.h"
#include <string>
#include "parameter.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_GET_BUILD_HOST_H
#define TEST_FUZZTEST_GET_BUILD_HOST_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "GetBuildHost_fuzzer"
#define FUZZ_PROJECT_NAME "getbuildhost_fuzzer"
#endif
\ No newline at end of file
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetBuildRootHash_fuzzer.h"
#include "getbuildroothash_fuzzer.h"
#include <string>
#include "parameter.h"
......
......@@ -16,5 +16,5 @@
#ifndef TEST_FUZZTEST_GET_BUILD_ROOT_HASH_H
#define TEST_FUZZTEST_GET_BUILD_ROOT_HASH_H
#include "fuzz_utils.h"
#define FUZZ_PROJECT_NAME "GetBuildRootHash_fuzzer"
#define FUZZ_PROJECT_NAME "getbuildroothash_fuzzer"
#endif
\ No newline at end of file
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "GetBuildTime_fuzzer.h"
#include "getbuildtime_fuzzer.h"
#include <string>
#include "parameter.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册