Knight KE / Mbed OS Game_Master
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers athandlertest.cpp Source File

athandlertest.cpp

00001 /*
00002  * Copyright (c) 2015, Arm Limited and affiliates.
00003  * SPDX-License-Identifier: Apache-2.0
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * You may obtain a copy of the License at
00008  *
00009  *     http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 #include "CppUTest/TestHarness.h"
00018 #include "test_athandler.h"
00019 
00020 TEST_GROUP(ATHandler)
00021 {
00022     Test_ATHandler* unit;
00023 
00024     void setup()
00025     {
00026         unit = new Test_ATHandler();
00027     }
00028 
00029     void teardown()
00030     {
00031         delete unit;
00032     }
00033 };
00034 
00035 TEST(ATHandler, Create)
00036 {
00037     CHECK(unit != NULL);
00038 }
00039 
00040 TEST(ATHandler, test_ATHandler_constructor)
00041 {
00042     unit->test_ATHandler_constructor();
00043 }
00044 
00045 TEST(ATHandler, test_ATHandler_get_file_handle)
00046 {
00047     unit->test_ATHandler_get_file_handle();
00048 }
00049 
00050 TEST(ATHandler, test_ATHandler_set_file_handle)
00051 {
00052     unit->test_ATHandler_set_file_handle();
00053 }
00054 
00055 TEST(ATHandler, test_ATHandler_lock)
00056 {
00057     unit->test_ATHandler_lock();
00058 }
00059 
00060 TEST(ATHandler, test_ATHandler_unlock)
00061 {
00062     unit->test_ATHandler_unlock();
00063 }
00064 
00065 TEST(ATHandler, test_ATHandler_unlock_return_error)
00066 {
00067     unit->test_ATHandler_unlock_return_error();
00068 }
00069 
00070 TEST(ATHandler, test_ATHandler_set_urc_handler)
00071 {
00072     unit->test_ATHandler_set_urc_handler();
00073 }
00074 
00075 TEST(ATHandler, test_ATHandler_get_last_error)
00076 {
00077     unit->test_ATHandler_get_last_error();
00078 }
00079 
00080 TEST(ATHandler, test_ATHandler_get_last_device_error)
00081 {
00082     unit->test_ATHandler_get_last_device_error();
00083 }
00084 
00085 TEST(ATHandler, test_ATHandler_inc_ref_count)
00086 {
00087     unit->test_ATHandler_inc_ref_count();
00088 }
00089 
00090 TEST(ATHandler, test_ATHandler_dec_ref_count)
00091 {
00092     unit->test_ATHandler_dec_ref_count();
00093 }
00094 
00095 TEST(ATHandler, test_ATHandler_get_ref_count)
00096 {
00097     unit->test_ATHandler_get_ref_count();
00098 }
00099 
00100 TEST(ATHandler, test_ATHandler_set_at_timeout)
00101 {
00102     unit->test_ATHandler_set_at_timeout();
00103 }
00104 
00105 TEST(ATHandler, test_ATHandler_restore_at_timeout)
00106 {
00107     unit->test_ATHandler_restore_at_timeout();
00108 }
00109 
00110 TEST(ATHandler, test_ATHandler_clear_error)
00111 {
00112     unit->test_ATHandler_clear_error();
00113 }
00114 
00115 TEST(ATHandler, test_ATHandler_process_oob)
00116 {
00117     unit->test_ATHandler_process_oob();
00118 }
00119 
00120 TEST(ATHandler, test_ATHandler_set_filehandle_sigio)
00121 {
00122     unit->test_ATHandler_set_filehandle_sigio();
00123 }
00124 
00125 TEST(ATHandler, test_ATHandler_flush)
00126 {
00127     unit->test_ATHandler_flush();
00128 }
00129 
00130 TEST(ATHandler, test_ATHandler_cmd_start)
00131 {
00132     unit->test_ATHandler_cmd_start();
00133 }
00134 
00135 TEST(ATHandler, test_ATHandler_write_int)
00136 {
00137     unit->test_ATHandler_write_int();
00138 }
00139 
00140 TEST(ATHandler, test_ATHandler_write_string)
00141 {
00142     unit->test_ATHandler_write_string();
00143 }
00144 
00145 TEST(ATHandler, test_ATHandler_cmd_stop)
00146 {
00147     unit->test_ATHandler_cmd_stop();
00148 }
00149 
00150 TEST(ATHandler, test_ATHandler_write_bytes)
00151 {
00152     unit->test_ATHandler_write_bytes();
00153 }
00154 
00155 TEST(ATHandler, test_ATHandler_set_stop_tag)
00156 {
00157     unit->test_ATHandler_set_stop_tag();
00158 }
00159 
00160 TEST(ATHandler, test_ATHandler_set_delimiter)
00161 {
00162     unit->test_ATHandler_set_delimiter();
00163 }
00164 
00165 TEST(ATHandler, test_ATHandler_skip_param)
00166 {
00167     unit->test_ATHandler_skip_param();
00168 }
00169 
00170 TEST(ATHandler, test_ATHandler_read_bytes)
00171 {
00172     unit->test_ATHandler_read_bytes();
00173 }
00174 
00175 TEST(ATHandler, test_ATHandler_read_string)
00176 {
00177     unit->test_ATHandler_read_string();
00178 }
00179 
00180 TEST(ATHandler, test_ATHandler_read_int)
00181 {
00182     unit->test_ATHandler_read_int();
00183 }
00184 
00185 TEST(ATHandler, test_ATHandler_resp_start)
00186 {
00187     unit->test_ATHandler_resp_start();
00188 }
00189 
00190 TEST(ATHandler, test_ATHandler_resp_stop)
00191 {
00192     unit->test_ATHandler_resp_stop();
00193 }
00194 
00195 TEST(ATHandler, test_ATHandler_info_resp)
00196 {
00197     unit->test_ATHandler_info_resp();
00198 }
00199 
00200 TEST(ATHandler, test_ATHandler_info_elem)
00201 {
00202     unit->test_ATHandler_info_elem();
00203 }
00204 
00205 TEST(ATHandler, test_ATHandler_consume_to_stop_tag)
00206 {
00207     unit->test_ATHandler_consume_to_stop_tag();
00208 }
00209 
00210 TEST(ATHandler, test_ATHandler_set_debug)
00211 {
00212     unit->test_ATHandler_set_debug();
00213 }
00214 
00215 TEST(ATHandler, test_ATHandler_get_3gpp_error)
00216 {
00217     unit->test_ATHandler_get_3gpp_error();
00218 }