!243 修改CI看板告警

Merge pull request !243 from 李天刚/master
This commit is contained in:
openharmony_ci
2024-12-24 06:40:02 +00:00
committed by Gitee
12 changed files with 32 additions and 32 deletions
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
* Copyright (c) 2021-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -25,8 +25,8 @@ class WhiteListTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
};
} // namespace DistributedInput
} // namespace DistributedHardware
@@ -46,8 +46,8 @@ class DistributedInputInnerTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
int CheckSourceProxy() const;
int CheckSinkProxy() const;
@@ -28,8 +28,8 @@ class DistributedInputCollectorTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
class DInputSinkCollectorEventHandler : public AppExecFwk::EventHandler {
public:
@@ -36,8 +36,8 @@ class DistributedInputSinkManagerTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
class TestGetSinkScreenInfosCb : public
OHOS::DistributedHardware::DistributedInput::GetSinkScreenInfosCallbackStub {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
* Copyright (c) 2021-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -33,8 +33,8 @@ class DistributedInputSinkTransTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
private:
nlohmann::json jsonStr_;
nlohmann::json jsonStr1_;
@@ -36,8 +36,8 @@ class DistributedInputSourceInjectTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
class TestInputNodeListener : public OHOS::DistributedHardware::DistributedInput::InputNodeListenerStub {
public:
TestInputNodeListener() = default;
@@ -48,8 +48,8 @@ class DistributedInputSourceManagerTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
class TestPrepareDInputCallback : public
OHOS::DistributedHardware::DistributedInput::PrepareDInputCallbackStub {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
* Copyright (c) 2021-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -33,8 +33,8 @@ class DistributedInputSourceTransTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
};
} // namespace DistributedInput
} // namespace DistributedHardware
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
* Copyright (c) 2021-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -35,8 +35,8 @@ class DistributedInputSinkHandlerTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
int32_t CheckSystemAbility();
};
} // namespace DistributedInput
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
* Copyright (c) 2021-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -40,15 +40,15 @@ class DistributedInputSourceHandlerTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
int32_t CheckSystemAbility();
class TestRegisterDInputCallback : public OHOS::DistributedHardware::RegisterCallback {
public:
TestRegisterDInputCallback() = default;
virtual ~TestRegisterDInputCallback() = default;
virtual int32_t OnRegisterResult(const std::string &devId, const std::string &dhId, int32_t status,
int32_t OnRegisterResult(const std::string &devId, const std::string &dhId, int32_t status,
const std::string &data) override;
};
@@ -56,7 +56,7 @@ public:
public:
TestUnregisterDInputCallback() = default;
virtual ~TestUnregisterDInputCallback() = default;
virtual int32_t OnUnregisterResult(const std::string &devId, const std::string &dhId, int32_t status,
int32_t OnUnregisterResult(const std::string &devId, const std::string &dhId, int32_t status,
const std::string &data) override;
};
};
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2023 Huawei Device Co., Ltd.
* Copyright (c) 2021-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -89,7 +89,7 @@ public:
class TestIStartStopDInputsCallback : public OHOS::DistributedHardware
::DistributedInput::IStartStopDInputsCallback {
public:
virtual void OnResultDhids(const std::string &devId, const int32_t &status) override
void OnResultDhids(const std::string &devId, const int32_t &status) override
{
(void)devId;
(void)status;
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 Huawei Device Co., Ltd.
* Copyright (c) 2022-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -25,8 +25,8 @@ class DInputContextTest : public testing::Test {
public:
static void SetUpTestCase();
static void TearDownTestCase();
virtual void SetUp() override;
virtual void TearDown() override;
void SetUp() override;
void TearDown() override;
};
} // namespace DistributedInput
} // namespace DistributedHardware