BA
/
BaBoRo1
Embed:
(wiki syntax)
Show/hide line numbers
at_cellularnetworktest.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_at_cellularnetwork.h" 00019 00020 TEST_GROUP(AT_CellularNetwork) 00021 { 00022 Test_AT_CellularNetwork* unit; 00023 00024 void setup() 00025 { 00026 unit = new Test_AT_CellularNetwork(); 00027 } 00028 00029 void teardown() 00030 { 00031 delete unit; 00032 } 00033 }; 00034 00035 TEST(AT_CellularNetwork, Create) 00036 { 00037 CHECK(unit != NULL); 00038 } 00039 00040 TEST(AT_CellularNetwork, test_AT_CellularNetwork_constructor) 00041 { 00042 unit->test_AT_CellularNetwork_constructor(); 00043 } 00044 00045 TEST(AT_CellularNetwork, test_AT_CellularNetwork_set_credentials) 00046 { 00047 unit->test_AT_CellularNetwork_set_credentials(); 00048 } 00049 00050 TEST(AT_CellularNetwork, test_AT_CellularNetwork_connect) 00051 { 00052 unit->test_AT_CellularNetwork_connect(); 00053 } 00054 00055 TEST(AT_CellularNetwork, test_AT_CellularNetwork_disconnect) 00056 { 00057 unit->test_AT_CellularNetwork_disconnect(); 00058 } 00059 00060 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_stack) 00061 { 00062 unit->test_AT_CellularNetwork_get_stack(); 00063 } 00064 00065 TEST(AT_CellularNetwork, test_AT_CellularNetwork_set_registration) 00066 { 00067 unit->test_AT_CellularNetwork_set_registration(); 00068 } 00069 00070 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_registration_status) 00071 { 00072 unit->test_AT_CellularNetwork_get_registration_status(); 00073 } 00074 00075 TEST(AT_CellularNetwork, test_AT_CellularNetwork_set_attach) 00076 { 00077 unit->test_AT_CellularNetwork_set_attach(); 00078 } 00079 00080 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_attach) 00081 { 00082 unit->test_AT_CellularNetwork_get_attach(); 00083 } 00084 00085 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_rate_control) 00086 { 00087 unit->test_AT_CellularNetwork_get_rate_control(); 00088 } 00089 00090 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_apn_backoff_timer) 00091 { 00092 unit->test_AT_CellularNetwork_get_apn_backoff_timer(); 00093 } 00094 00095 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_ip_address) 00096 { 00097 unit->test_AT_CellularNetwork_get_ip_address(); 00098 } 00099 00100 TEST(AT_CellularNetwork, test_AT_CellularNetwork_set_access_technology) 00101 { 00102 unit->test_AT_CellularNetwork_set_access_technology(); 00103 } 00104 00105 TEST(AT_CellularNetwork, test_AT_CellularNetwork_scan_plmn) 00106 { 00107 unit->test_AT_CellularNetwork_scan_plmn(); 00108 } 00109 00110 TEST(AT_CellularNetwork, test_AT_CellularNetwork_set_ciot_optimization_config) 00111 { 00112 unit->test_AT_CellularNetwork_set_ciot_optimization_config(); 00113 } 00114 00115 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_ciot_optimization_config) 00116 { 00117 unit->test_AT_CellularNetwork_get_ciot_optimization_config(); 00118 } 00119 00120 TEST(AT_CellularNetwork, test_AT_CellularNetwork_set_stack_type) 00121 { 00122 unit->test_AT_CellularNetwork_set_stack_type(); 00123 } 00124 00125 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_stack_type) 00126 { 00127 unit->test_AT_CellularNetwork_get_stack_type(); 00128 } 00129 00130 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_pdpcontext_params) 00131 { 00132 unit->test_AT_CellularNetwork_get_pdpcontext_params(); 00133 } 00134 00135 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_extended_signal_quality) 00136 { 00137 unit->test_AT_CellularNetwork_get_extended_signal_quality(); 00138 } 00139 00140 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_signal_quality) 00141 { 00142 unit->test_AT_CellularNetwork_get_signal_quality(); 00143 } 00144 00145 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_cell_id) 00146 { 00147 unit->test_AT_CellularNetwork_get_cell_id(); 00148 } 00149 00150 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_3gpp_error) 00151 { 00152 unit->test_AT_CellularNetwork_get_3gpp_error(); 00153 } 00154 00155 TEST(AT_CellularNetwork, test_AT_CellularNetwork_get_operator_params) 00156 { 00157 unit->test_AT_CellularNetwork_get_operator_params(); 00158 } 00159
Generated on Tue Jul 12 2022 12:21:42 by
