#include <Arduino.h>
#include <ArduinoJson.h>
#include <unity.h>
#include "../halt_after_tests.h"
#include "serial_output.h"
#include "teleinfo.h"
Go to the source code of this file.
|
| class | CapturePrint |
| | A Print that captures the text, with a transmit buffer that fills up as it is written. More...
|
| |
| struct | FrameSource |
| | The data of a small IoT frame: P, P1, V1, P2, V2, P3, V3, D1, T1, N, S, S_MC (3 phases, no relay). More...
|
| |
◆ assertCaptured()
| void assertCaptured |
( |
PGM_P | expected | ) |
|
◆ fieldsStep()
| bool fieldsStep |
( |
Print & | out, |
|
|
uint8_t | step ) |
◆ frameStep()
| bool frameStep |
( |
Print & | out, |
|
|
uint8_t | step ) |
◆ loop()
◆ setUp()
◆ setup()
◆ tearDown()
◆ test_poll_never_overfills_and_completes()
| void test_poll_never_overfills_and_completes |
( |
void | | ) |
|
◆ test_poll_waits_for_room()
| void test_poll_waits_for_room |
( |
void | | ) |
|
◆ test_printDecimals_matches_print_float()
| void test_printDecimals_matches_print_float |
( |
void | | ) |
|
◆ test_printDecimals_other_decimals_and_extremes()
| void test_printDecimals_other_decimals_and_extremes |
( |
void | | ) |
|
◆ test_printHundredths_extremes()
| void test_printHundredths_extremes |
( |
void | | ) |
|
◆ test_printHundredths_matches_arduinojson()
| void test_printHundredths_matches_arduinojson |
( |
void | | ) |
|
◆ test_start_while_busy_is_refused()
| void test_start_while_busy_is_refused |
( |
void | | ) |
|
◆ test_startup_text_serial_settings()
| void test_startup_text_serial_settings |
( |
| ) |
|
The startup text at 8N1, then 7E1 for the IoT output only (UART0 frame format in UCSR0C)
Definition at line 337 of file test_main.cpp.
◆ test_teleinfo_written_in_parts()
| void test_teleinfo_written_in_parts |
( |
void | | ) |
|
◆ test_toDecimals_at_compile_time()
| void test_toDecimals_at_compile_time |
( |
void | | ) |
|
◆ capture