AUnit  0.4.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. More...
 
static const uint8_t kAssertionFailed = 0x02
 Print assertXxx() failed message. More...
 
static const uint8_t kTestPassed = 0x04
 Print test passed message. More...
 
static const uint8_t kTestFailed = 0x08
 Print test failed message. More...
 
static const uint8_t kTestSkipped = 0x10
 Print test skipped message. More...
 
static const uint8_t kTestExpired = 0x20
 Print test timed out message. More...
 
static const uint8_t kTestRunSummary = 0x40
 Print TestRunner summary message. More...
 
static const uint8_t kAssertionAll = (kAssertionPassed | kAssertionFailed)
 Print all assertXxx() messages. More...
 
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. More...
 
static const uint8_t kNone = 0x00
 Print no messages. More...
 

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

◆ kAll

const uint8_t aunit::Verbosity::kAll = 0xFF
static

Print all messages.

Definition at line 73 of file Verbosity.h.

◆ kAssertionAll

const uint8_t aunit::Verbosity::kAssertionAll = (kAssertionPassed | kAssertionFailed)
static

Print all assertXxx() messages.

Definition at line 62 of file Verbosity.h.

◆ kAssertionFailed

const uint8_t aunit::Verbosity::kAssertionFailed = 0x02
static

Print assertXxx() failed message.

Definition at line 43 of file Verbosity.h.

◆ kAssertionPassed

const uint8_t aunit::Verbosity::kAssertionPassed = 0x01
static

Print assertXxx() passed message.

Definition at line 40 of file Verbosity.h.

◆ kDefault

const uint8_t aunit::Verbosity::kDefault
static
Initial value:

The default verbosity.

Definition at line 69 of file Verbosity.h.

◆ kNone

const uint8_t aunit::Verbosity::kNone = 0x00
static

Print no messages.

Definition at line 76 of file Verbosity.h.

◆ kTestAll

const uint8_t aunit::Verbosity::kTestAll
static
Initial value:

Print all test status messages.

Definition at line 65 of file Verbosity.h.

◆ kTestExpired

const uint8_t aunit::Verbosity::kTestExpired = 0x20
static

Print test timed out message.

Definition at line 55 of file Verbosity.h.

◆ kTestFailed

const uint8_t aunit::Verbosity::kTestFailed = 0x08
static

Print test failed message.

Definition at line 49 of file Verbosity.h.

◆ kTestPassed

const uint8_t aunit::Verbosity::kTestPassed = 0x04
static

Print test passed message.

Definition at line 46 of file Verbosity.h.

◆ kTestRunSummary

const uint8_t aunit::Verbosity::kTestRunSummary = 0x40
static

Print TestRunner summary message.

Definition at line 58 of file Verbosity.h.

◆ kTestSkipped

const uint8_t aunit::Verbosity::kTestSkipped = 0x10
static

Print test skipped message.

Definition at line 52 of file Verbosity.h.


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