• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #include <gtest/gtest.h>
16 #include "../../resource/fuzzTest/include/fuzz_test_manager.h"
17 
18 using namespace testing::ext;
19 namespace OHOS {
20 namespace AccountSA {
21 class ActsAccountFuzzTest : public testing::Test {
22 public:
23     static void SetUpTestCase();
24     static void TearDownTestCase();
25     void SetUp();
26     void TearDown();
27 };
28 
SetUpTestCase()29 void ActsAccountFuzzTest::SetUpTestCase()
30 {}
31 
TearDownTestCase()32 void ActsAccountFuzzTest::TearDownTestCase()
33 {}
34 
SetUp()35 void ActsAccountFuzzTest::SetUp()
36 {}
37 
TearDown()38 void ActsAccountFuzzTest::TearDown()
39 {}
40 
41 HWTEST_F(ActsAccountFuzzTest, ACTS_FuzzTest_0100, Function | MediumTest | Level1)
42 {
43     std::cout << "fuzztest start" << std::endl;
44     FuzzTestManager::GetInstance()->StartFuzzTest();
45     std::cout << "fuzztest end" << std::endl;
46 }
47 }  // namespace AccountSA
48 }  // namespace OHOS