AUnit  1.7.1
Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test.
Static Public Attributes | List of all members
aunit::Verbosity Class Reference

Utility class to hold the Verbosity constants. More...

#include <Verbosity.h>

Static Public Attributes

static const uint8_t kAssertionPassed = 0x01
 Print assertXxx() passed message.
 
static const uint8_t kAssertionFailed = 0x02
 Print assertXxx() failed message.
 
static const uint8_t kTestPassed = 0x04
 Print test passed message.
 
static const uint8_t kTestFailed = 0x08
 Print test failed message.
 
static const uint8_t kTestSkipped = 0x10
 Print test skipped message.
 
static const uint8_t kTestExpired = 0x20
 Print test timed out message.
 
static const uint8_t kTestRunSummary = 0x40
 Print TestRunner summary message.
 
static const uint8_t kAssertionAll = (kAssertionPassed | kAssertionFailed)
 Print all assertXxx() messages.
 
static const uint8_t kTestAll
 Print all test status messages. More...
 
static const uint8_t kDefault
 The default verbosity. More...
 
static const uint8_t kAll = 0xFF
 Print all messages.
 
static const uint8_t kNone = 0x00
 Print no messages.
 

Detailed Description

Utility class to hold the Verbosity constants.

Current used only by TestRunner but potentially could be used by Test and TestOnce in the future, so it seemed better to pull these out into a separate file.

Definition at line 37 of file Verbosity.h.

Member Data Documentation

◆ kDefault

const uint8_t aunit::Verbosity::kDefault
static
Initial value:
=
static const uint8_t kTestRunSummary
Print TestRunner summary message.
Definition: Verbosity.h:58
static const uint8_t kAssertionFailed
Print assertXxx() failed message.
Definition: Verbosity.h:43
static const uint8_t kTestAll
Print all test status messages.
Definition: Verbosity.h:65

The default verbosity.

Definition at line 69 of file Verbosity.h.

◆ kTestAll

const uint8_t aunit::Verbosity::kTestAll
static
Initial value:
=
static const uint8_t kTestFailed
Print test failed message.
Definition: Verbosity.h:49
static const uint8_t kTestPassed
Print test passed message.
Definition: Verbosity.h:46
static const uint8_t kTestSkipped
Print test skipped message.
Definition: Verbosity.h:52
static const uint8_t kTestExpired
Print test timed out message.
Definition: Verbosity.h:55

Print all test status messages.

Definition at line 65 of file Verbosity.h.


The documentation for this class was generated from the following file: