1e5d0e473Sopenharmony_ci/* 2e5d0e473Sopenharmony_ci * Copyright (C) 2023 Huawei Device Co., Ltd. 3e5d0e473Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4e5d0e473Sopenharmony_ci * you may not use this file except in compliance with the License. 5e5d0e473Sopenharmony_ci * You may obtain a copy of the License at 6e5d0e473Sopenharmony_ci * 7e5d0e473Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8e5d0e473Sopenharmony_ci * 9e5d0e473Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10e5d0e473Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11e5d0e473Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12e5d0e473Sopenharmony_ci * See the License for the specific language governing permissions and 13e5d0e473Sopenharmony_ci * limitations under the License. 14e5d0e473Sopenharmony_ci */ 15e5d0e473Sopenharmony_ci 16e5d0e473Sopenharmony_ci#ifndef SMS_GSM_MESSAGE_TEST_H 17e5d0e473Sopenharmony_ci#define SMS_GSM_MESSAGE_TEST_H 18e5d0e473Sopenharmony_ci 19e5d0e473Sopenharmony_ci#include "short_message.h" 20e5d0e473Sopenharmony_ci 21e5d0e473Sopenharmony_cinamespace OHOS { 22e5d0e473Sopenharmony_cinamespace Telephony { 23e5d0e473Sopenharmony_ciclass SmsGsmMessageTest { 24e5d0e473Sopenharmony_cipublic: 25e5d0e473Sopenharmony_ci void ProcessTest() const; 26e5d0e473Sopenharmony_ci void ProcessInput(int inputCMD, bool &loopFlag) const; 27e5d0e473Sopenharmony_ci void Test7BitSubmitSms() const; 28e5d0e473Sopenharmony_ci void TestUcs2SubmitSms() const; 29e5d0e473Sopenharmony_ci void Test7BitDeliverySms() const; 30e5d0e473Sopenharmony_ci void TestUcs2DeliverySms() const; 31e5d0e473Sopenharmony_ci void TestStatusReportSms() const; 32e5d0e473Sopenharmony_ci void TestMultiPageUcs2Sms() const; 33e5d0e473Sopenharmony_ci void TestWapPushSms() const; 34e5d0e473Sopenharmony_ci void TestDataSmsDeliverySms() const; 35e5d0e473Sopenharmony_ci void TestSmsc00DeliverySms() const; 36e5d0e473Sopenharmony_ci void TestMultiPage7bitSms() const; 37e5d0e473Sopenharmony_ci void Test7BitOtherSubmitSms() const; 38e5d0e473Sopenharmony_ci void Test7BitDeliverySms2() const; 39e5d0e473Sopenharmony_ci void Test7BitDeliverySms3() const; 40e5d0e473Sopenharmony_ci void Test7BitDeliverySms4() const; 41e5d0e473Sopenharmony_ci 42e5d0e473Sopenharmony_cipublic: 43e5d0e473Sopenharmony_ci static std::unique_ptr<ShortMessage> gsmMessage_; 44e5d0e473Sopenharmony_ci}; 45e5d0e473Sopenharmony_ci} // namespace Telephony 46e5d0e473Sopenharmony_ci} // namespace OHOS 47e5d0e473Sopenharmony_ci#endif // SMS_GSM_MESSAGE_TEST_H