Select one of the symbols to view example projects that use it.
 
Outline
#include "unity.h"
setUp()
tearDown()
suiteSetUp()
suiteTearDown(int)
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/unity/unity_compat.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #include "unity.h" // Unity 2.6.0 has removed weak definitions of setUp, tearDown, suiteSetUp and suiteTearDown. // (https://github.com/ThrowTheSwitch/Unity/pull/454) // We need to provide them here to avoid breaking the existing test applications. __attribute__((weak)) void setUp(void) { }{ ... } __attribute__((weak)) void tearDown(void) { }{ ... } __attribute__((weak)) void suiteSetUp(void) { }{ ... } __attribute__((weak)) int suiteTearDown(int num_failures) { return num_failures; }{ ... }
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.