1 /* 2 * Copyright (c) 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 #ifndef OHOS_ACELITE_MESSAGE_QUEUE_UTILS_TDD_TEST_H 16 #define OHOS_ACELITE_MESSAGE_QUEUE_UTILS_TDD_TEST_H 17 18 #ifdef TDD_ASSERTIONS 19 #include <climits> 20 #include <gtest/gtest.h> 21 #endif 22 23 #include "acelite_config.h" 24 #include "test_common.h" 25 26 namespace OHOS { 27 namespace ACELite { 28 #ifdef TDD_ASSERTIONS 29 using namespace std; 30 using namespace testing::ext; 31 class MessageQueueUtilsTddTest : public testing::Test { 32 #else 33 class MessageQueueUtilsTddTest { 34 #endif 35 public: MessageQueueUtilsTddTest()36 MessageQueueUtilsTddTest() {} ~MessageQueueUtilsTddTest()37 ~MessageQueueUtilsTddTest() {} 38 39 void MessageTddTest01(); 40 }; 41 } // namespace ACELite 42 } // namespace OHOS 43 44 #endif // OHOS_ACELITE_MESSAGE_QUEUE_UTILS_TDD_TEST_H