theCore C++ embedded framework
|
#include <limits.h>
#include <sstream>
#include "ecl/ostream.hpp"
#include "mock_device.hpp"
#include <CppUTest/TestHarness.h>
#include <CppUTest/CommandLineTestRunner.h>
#include <CppUTestExt/MockSupport.h>
Typedefs | |
using | ostream_unit = ecl::ostream< mock_device > |
Functions | |
TEST_GROUP (ostream) | |
TEST (ostream, put) | |
TEST (ostream, write_char) | |
TEST (ostream, write_char_error_case) | |
TEST (ostream, write_string) | |
TEST (ostream, write_string_with_linefeed) | |
TEST (ostream, write_empty_string) | |
TEST (ostream, write_string_error_case) | |
TEST (ostream, write_int) | |
TEST (ostream, write_int_error_case) | |
TEST (ostream, write_int_min) | |
TEST (ostream, write_int_max) | |
TEST (ostream, write_zero) | |
TEST (ostream, write_unsigned_int) | |
TEST (ostream, write_unsigned_int_max) | |
TEST (ostream, write_unsigned_int_zero) | |
TEST (ostream, write_unsigned_int_error_case) | |
int | main (int argc, char *argv[]) |
using ostream_unit = ecl::ostream< mock_device > |
TEST_GROUP | ( | ostream | ) |
TEST | ( | ostream | , |
put | |||
) |
TEST | ( | ostream | , |
write_char | |||
) |
TEST | ( | ostream | , |
write_char_error_case | |||
) |
TEST | ( | ostream | , |
write_string | |||
) |
TEST | ( | ostream | , |
write_string_with_linefeed | |||
) |
TEST | ( | ostream | , |
write_empty_string | |||
) |
TEST | ( | ostream | , |
write_string_error_case | |||
) |
TEST | ( | ostream | , |
write_int | |||
) |
TEST | ( | ostream | , |
write_int_error_case | |||
) |
TEST | ( | ostream | , |
write_int_min | |||
) |
TEST | ( | ostream | , |
write_int_max | |||
) |
TEST | ( | ostream | , |
write_zero | |||
) |
TEST | ( | ostream | , |
write_unsigned_int | |||
) |
TEST | ( | ostream | , |
write_unsigned_int_max | |||
) |
TEST | ( | ostream | , |
write_unsigned_int_zero | |||
) |
TEST | ( | ostream | , |
write_unsigned_int_error_case | |||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |