Ram Gandikota / Mbed OS ABCD
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pal_rtos_test_runner.c Source File

pal_rtos_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 TEST_GROUP_RUNNER(pal_rtos)
00022 {
00023 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osKernelSysTick_Unity)
00024   RUN_TEST_CASE(pal_rtos, pal_osKernelSysTick_Unity);
00025 #endif
00026 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osKernelSysTick64_Unity)
00027   RUN_TEST_CASE(pal_rtos, pal_osKernelSysTick64_Unity);
00028 #endif
00029 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osKernelSysTickMicroSec_Unity)
00030   RUN_TEST_CASE(pal_rtos, pal_osKernelSysTickMicroSec_Unity);
00031 #endif
00032 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osKernelSysMilliSecTick_Unity)
00033   RUN_TEST_CASE(pal_rtos, pal_osKernelSysMilliSecTick_Unity);
00034 #endif
00035 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osKernelSysTickFrequency_Unity)
00036   RUN_TEST_CASE(pal_rtos, pal_osKernelSysTickFrequency_Unity);
00037 #endif
00038 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osDelay_Unity)
00039   RUN_TEST_CASE(pal_rtos, pal_osDelay_Unity);
00040 #endif
00041 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || BasicTimeScenario)
00042   RUN_TEST_CASE(pal_rtos, BasicTimeScenario);
00043 #endif
00044 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || TimerUnityTest)
00045   RUN_TEST_CASE(pal_rtos, TimerUnityTest);
00046 #endif
00047 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || MemoryPoolUnityTest)
00048   RUN_TEST_CASE(pal_rtos, MemoryPoolUnityTest);
00049 #endif
00050 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || MessageUnityTest)
00051   RUN_TEST_CASE(pal_rtos, MessageUnityTest);
00052 #endif
00053 #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || AtomicIncrementUnityTest)
00054   RUN_TEST_CASE(pal_rtos, AtomicIncrementUnityTest);
00055 #endif
00056 
00057 #if (PAL_INCLUDE || PRIMITIVES_UNITY_TEST || PrimitivesUnityTest1)
00058   RUN_TEST_CASE(pal_rtos, PrimitivesUnityTest1);
00059 #endif
00060 #if (PAL_INCLUDE || PRIMITIVES_UNITY_TEST || PrimitivesUnityTest2)
00061   RUN_TEST_CASE(pal_rtos, PrimitivesUnityTest2);
00062 #endif
00063 #if (PAL_INCLUDE || PAL_INIT_REFERENCE || pal_init_test)
00064 RUN_TEST_CASE(pal_rtos, pal_init_test);
00065 #endif
00066 #if (CustomizedTest)
00067     RUN_TEST_CASE(pal_rtos, CustomizedTest);
00068 #endif
00069 }
00070