Document API IEC60730 Library
|
common unit test api More...
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
#include "unity.h"
#include "sl_iec60730_internal.h"
Go to the source code of this file.
Macros | |
#define | MAX_NUMBER_OF_TEST_CASE 20 |
Functions | |
void | run_test (UnityTestFunction func, const char *name, UNITY_LINE_TYPE line_num) |
void | setUp (void) |
void | tearDown (void) |
void | resetTest (void) |
void | cmock_set_value (sl_iec60730_test_result_t sl_iec60730_test_result_t) |
sl_iec60730_test_result_t | cmock_return_value (void) |
void | unit_test_run_all_test_cases (void) |
Variables | |
uint8_t | test_case_result [MAX_NUMBER_OF_TEST_CASE] |
uint8_t | current_test_numth |
common unit test api
Copyright 2020 Silicon Laboratories Inc. www.silabs.com
The licensor of this software is Silicon Laboratories Inc. Your use of this software is governed by the terms of Silicon Labs Master Software License Agreement (MSLA) available at www.silabs.com/about-us/legal/master-software-license-agreement. This software is distributed to you in Source Code format and is governed by the sections of the MSLA applicable to Source Code.
sl_iec60730_test_result_t cmock_return_value | ( | void | ) |
Public Function get value simulate value function mock return.
void cmock_set_value | ( | sl_iec60730_test_result_t | sl_iec60730_test_result_t | ) |
Public Function set value simulate value function mock return.
void unit_test_run_all_test_cases | ( | void | ) |
Public Function runs all unit test cases.