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 16 #ifndef SMS_CB_MESSAGE_TEST_H 17 #define SMS_CB_MESSAGE_TEST_H 18 19 namespace OHOS { 20 namespace Telephony { 21 class SmsCbMessageTest { 22 public: 23 void ProcessTest() const; 24 void ProcessInput(int inputCMD, bool &loopFlag) const; 25 void TestMessageBody7Bit() const; 26 void TestMessageBody7BitUmts() const; 27 void TestMessageBody8Bit() const; 28 void TestMessageBodyUcs2() const; 29 void TestMessageBodyUcs2Umts() const; 30 void TestEtwsWarningType0() const; 31 void TestEtwsWarningType1() const; 32 void TestEtwsWarningType2() const; 33 void TestEtwsWarningType3() const; 34 void TestEtwsWarningType4() const; 35 void TestMessageBody7BitGs2() const; 36 void TestCdmaUserData() const; 37 void TestCdmaCmasType1() const; 38 private: 39 }; 40 } // namespace Telephony 41 } // namespace OHOS 42 #endif // SMS_CB_MESSAGE_TEST_H