25 #ifndef AUNIT_PRINTER_H
26 #define AUNIT_PRINTER_H
51 static void setPrinter(Print* printer) { sPrinter = printer; }
58 static Print* sPrinter;
Utility class that provides a level of indirection to the Print class where test results can be sent.
static void setPrinter(Print *printer)
Set the printer.
static Print * getPrinter()
Get the output printer used by the various assertion() methods and the TestRunner.