Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
pal_socket_test_runner.c
00001 /* 00002 * Copyright (c) 2016 ARM Limited. All rights reserved. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * Licensed under the Apache License, Version 2.0 (the License); you may 00005 * not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an AS IS BASIS, WITHOUT 00012 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 #include "unity.h" 00018 #include "unity_fixture.h" 00019 00020 00021 // pal Socket API tests 00022 TEST_GROUP_RUNNER(pal_socket) 00023 { 00024 #if (PAL_INCLUDE || socketUDPCreationOptionsTest) 00025 RUN_TEST_CASE(pal_socket, socketUDPCreationOptionsTest); 00026 #endif 00027 #if (PAL_INCLUDE || basicTCPclinetSendRecieve) 00028 RUN_TEST_CASE(pal_socket, basicTCPclinetSendRecieve); 00029 #endif 00030 #if (PAL_INCLUDE || basicUDPclinetSendRecieve) 00031 RUN_TEST_CASE(pal_socket, basicUDPclinetSendRecieve); 00032 #endif 00033 #if (PAL_INCLUDE || basicSocketScenario3) 00034 RUN_TEST_CASE(pal_socket, basicSocketScenario3); 00035 #endif 00036 #if (PAL_INCLUDE || basicSocketScenario4) 00037 RUN_TEST_CASE(pal_socket, basicSocketScenario4); 00038 #endif 00039 #if (PAL_INCLUDE || tProvUDPTest) 00040 RUN_TEST_CASE(pal_socket, tProvUDPTest); 00041 #endif 00042 #if (PAL_INCLUDE || basicSocketScenario5) 00043 RUN_TEST_CASE(pal_socket, basicSocketScenario5); 00044 #endif 00045 } 00046 00047 // Each of these should be in a separate file. 00048 00049 00050 // pal OS API tests 00051 //TEST_GROUP_RUNNER(pal_OS) 00052 //{ 00053 //} 00054 00055 /* Run all the tests 00056 void RunAllTests(void) 00057 { 00058 RUN_TEST_GROUP(pal_socket); 00059 //RUN_TEST_GROUP(pal_OS); 00060 }*/ 00061
Generated on Tue Jul 12 2022 21:20:29 by
