Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Main Page
Related Pages
Supported Boards
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Enumerations
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerator
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
RIOT OS
►
RIOT Documentation
mutex.doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
RIOT Vision
►
Governance of the RIOT Community
►
Roadmap
►
Code of Conduct Information
►
Creating modules
►
Creating an application
►
Porting boards
►
Writing a Device Driver in RIOT
►
Getting started
►
Flashing via RIOT's Build System
►
Terminal programs configuration
►
Build In Docker
►
Running and creating tests
►
Hints for quicker & better RIOT development
►
Build System Basics
►
List of Features (Features as Build System Enties)
►
Kconfig in RIOT
►
Using C++ in RIOT
►
Using Rust in RIOT
►
Advanced build system tricks
►
Debugging Tools
►
Emulators
►
Release cycle
►
IO-Mapping and Shields
►
Changelog
►
Removed Features and Modules
Deprecated List
Todo List
Supported Boards
►
Modules
►
Namespaces
►
Data Structures
▼
Files
▼
File List
►
boards
►
core
►
cpu
►
dist
►
drivers
►
makefiles
►
pkg
▼
sys
►
arduino
►
auto_init
►
clif
►
cpp11-compat
►
crypto
►
embunit
►
fs
▼
include
►
bhp
►
can
►
checksum
►
coding
►
congure
►
cppunit
►
crypto
►
ecc
►
entropy_source
►
event
►
fido2
►
fs
►
hashes
►
isrpipe
►
net
►
psa_crypto
►
riotboot
►
senml
►
suit
►
sys
►
test_utils
►
usb
►
xtimer
►
ztimer
►
ztimer64
►
analog_util.h
app_metadata.h
►
architecture.h
►
atomic_utils.h
►
auto_init.h
►
auto_init_utils.h
base64.h
►
bcd.h
►
benchmark.h
bhp.h
►
bit.h
►
bitfield.h
►
bloom.h
busy_wait.h
►
byteorder.h
►
c11_atomics_compat.hpp
►
cb_mux.h
►
chunked_ringbuffer.h
►
clif.h
►
clk.h
►
color.h
►
congure.h
cppunit.hpp
►
dbgpin.h
►
debug_irq_disable.h
►
div.h
►
eepreg.h
embUnit.h
►
endian.h
►
entropy_source.h
►
event.h
►
evtimer.h
►
evtimer_mbox.h
►
evtimer_msg.h
►
flash_utils.h
►
fmt.h
►
fmt_table.h
►
frac.h
►
fuzzing.h
hashes.h
imath.h
►
iolist.h
►
irq.hpp
►
isrpipe.h
►
luid.h
malloc_monitor.h
malloc_monitor_internal.h
►
matstat.h
memarray.h
►
mineplex.h
►
od.h
►
phydat.h
►
pipe.h
►
pm_layered.h
►
progress_bar.h
►
ps.h
►
ptrtag.h
►
puf_sram.h
►
random.h
►
rtc_utils.h
►
saul_reg.h
►
sched_round_robin.h
►
schedstatistics.h
►
sema.h
►
sema_inv.h
►
senml.h
►
seq.h
►
shell.h
►
shell_lock.h
►
stdio_base.h
►
stdio_nimble.h
►
stdio_rtt.h
►
stdio_semihosting.h
►
stdio_uart.h
►
string_utils.h
suit.h
►
time_units.h
►
timex.h
►
tiny_strerror.h
►
tm.h
►
trace.h
►
trickle.h
►
tsrb.h
►
unaligned.h
►
universal_address.h
uri_parser.h
►
usb.h
►
usb_board_reset.h
►
usb_board_reset_internal.h
►
ut_process.h
►
utlist.h
►
uuid.h
►
vfs.h
►
vfs_default.h
►
vfs_util.h
►
volatile_utils.h
►
xtimer.h
►
zptr.h
►
ztimer.h
►
ztimer64.h
►
libc
►
log_color
►
log_printfnoformat
►
net
►
oneway-malloc
►
posix
►
psa_crypto
►
test_utils
►
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
embUnit.h
1
/*
2
* Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
22
#ifndef EMBUNIT_H
23
#define EMBUNIT_H
24
25
#include "embUnit/embUnit.h"
26
27
#ifdef OUTPUT
28
# define OUTPUT_XML (1)
29
# define OUTPUT_TEXT (2)
30
# define OUTPUT_COMPILER (4)
31
# define OUTPUT_COLORTEXT (8)
32
# define OUTPUT_COLOR (16)
33
34
# if (OUTPUT==OUTPUT_XML)
35
# include "embUnit/XMLOutputter.h"
36
# define OUTPUTTER (XMLOutputter_outputter())
37
# elif (OUTPUT==OUTPUT_TEXT)
38
# include "embUnit/TextOutputter.h"
39
# define OUTPUTTER (TextOutputter_outputter())
40
# elif (OUTPUT==OUTPUT_COMPILER)
41
# include "embUnit/CompilerOutputter.h"
42
# define OUTPUTTER (CompilerOutputter_outputter())
43
# elif (OUTPUT==OUTPUT_COLORTEXT)
44
# include "embUnit/ColorTextOutputter.h"
45
# define OUTPUTTER (ColorTextOutputter_outputter())
46
# elif (OUTPUT==OUTPUT_COLOR)
47
# include "embUnit/ColorOutputter.h"
48
# define OUTPUTTER (ColorOutputter_outputter())
49
# endif
50
51
# include "embUnit/TextUIRunner.h"
52
53
# define TESTS_START() TextUIRunner_start()
54
# define TESTS_RUN(t) TextUIRunner_runTest(t)
55
# define TESTS_END() TextUIRunner_end()
56
#else
57
# define TESTS_START() TestRunner_start()
58
# define TESTS_RUN(t) TestRunner_runTest(t)
59
# define TESTS_END() TestRunner_end()
60
#endif
61
62
#ifdef __cplusplus
63
extern
"C"
{
64
#endif
65
66
#ifdef __cplusplus
67
}
68
#endif
69
70
#endif
/* EMBUNIT_H */
Generated on Tue Apr 1 2025 18:17:34 by
1.12.0