1 /* 2 * Copyright (c) 2021 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 "../../../resource/notificationfuzztest/include/notificationfuzztestmanager.h" 16 17 #include <gtest/gtest.h> 18 #include <iostream> 19 20 using namespace testing::ext; 21 namespace OHOS { 22 namespace Notification { 23 class ActsNotificationFuzzTest : public testing::Test { 24 public: 25 static void SetUpTestCase(); 26 static void TearDownTestCase(); 27 void SetUp(); 28 void TearDown(); 29 }; 30 SetUpTestCase()31void ActsNotificationFuzzTest::SetUpTestCase() 32 {} 33 TearDownTestCase()34void ActsNotificationFuzzTest::TearDownTestCase() 35 {} 36 SetUp()37void ActsNotificationFuzzTest::SetUp() 38 {} 39 TearDown()40void ActsNotificationFuzzTest::TearDown() 41 {} 42 43 HWTEST_F(ActsNotificationFuzzTest, ACTS_FuzzTest_0100, Function | MediumTest | Level1) 44 { 45 std::cout << "fuzztest start" << std::endl; 46 NotificationFuzzTestManager::GetInstance()->StartFuzzTest(); 47 std::cout << "fuzztest end" << std::endl; 48 } 49 } // namespace Notification 50 } // namespace OHOS