Apps
Components
Interfaces
All Files
Source Tree
source:
lib.TestM.nc
Component: TestM
Required Interfaces
TestUnit
Log
Provided Interfaces
StdControl
TestControl
Assert
Variables
const char ticks[5] = "|/-\\"
uint8_t group_index
uint8_t group_failed
uint8_t test_number
uint8_t test_ticks
bool test_ticked
const char *test_description
result_t assert_failed
result_t expected_result
Function Index
command void
Assert.failed
(const char *errmsg, const char *file, uint16_t line)
command void
TestControl.group
(const char description[])
command void
TestControl.start
(const char description[], result_t expectedResult)
command void
TestControl.tick
(void)
command void
TestControl.done
(result_t result)
task void
runTests
(void)
event void
TestUnit.done
(uint8_t test)
command result_t
TestUnit.run
(uint8_t test)
command result_t
StdControl.init
(void)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)