theCore C++ embedded framework
|
#include <CppUTest/TestHarness.h>
#include <CppUTest/CommandLineTestRunner.h>
#include <CppUTestExt/MockSupport.h>
#include <sstream>
#include "ecl/istream.hpp"
#include "mock_device.hpp"
Typedefs | |
using | istream_unit = ecl::istream< mock_device > |
Functions | |
TEST_GROUP (istream) | |
TEST (istream, get) | |
TEST (istream, read_char) | |
TEST (istream, read_char_error_case) | |
TEST (istream, read_string) | |
TEST (istream, read_string_with_special_chars) | |
TEST (istream, read_string_linefeed) | |
TEST (istream, read_string_error_case) | |
TEST (istream, read_int) | |
TEST (istream, read_int_min) | |
TEST (istream, read_int_with_linefeeds) | |
TEST (istream, read_int_with_hyphens) | |
TEST (istream, read_int_zero) | |
TEST (istream, read_int_bigger_than_max) | |
TEST (istream, read_int_error_case) | |
TEST (istream, read_unsigned_int) | |
TEST (istream, read_unsigned_zero) | |
TEST (istream, read_unsigned_consequent) | |
TEST (istream, read_unsigned_int_error_case) | |
int | main (int argc, char *argv[]) |
using istream_unit = ecl::istream< mock_device > |
TEST_GROUP | ( | istream | ) |
TEST | ( | istream | , |
get | |||
) |
TEST | ( | istream | , |
read_char | |||
) |
TEST | ( | istream | , |
read_char_error_case | |||
) |
TEST | ( | istream | , |
read_string | |||
) |
TEST | ( | istream | , |
read_string_with_special_chars | |||
) |
TEST | ( | istream | , |
read_string_linefeed | |||
) |
TEST | ( | istream | , |
read_string_error_case | |||
) |
TEST | ( | istream | , |
read_int | |||
) |
TEST | ( | istream | , |
read_int_min | |||
) |
TEST | ( | istream | , |
read_int_with_linefeeds | |||
) |
TEST | ( | istream | , |
read_int_with_hyphens | |||
) |
TEST | ( | istream | , |
read_int_zero | |||
) |
TEST | ( | istream | , |
read_int_bigger_than_max | |||
) |
TEST | ( | istream | , |
read_int_error_case | |||
) |
TEST | ( | istream | , |
read_unsigned_int | |||
) |
TEST | ( | istream | , |
read_unsigned_zero | |||
) |
TEST | ( | istream | , |
read_unsigned_consequent | |||
) |
TEST | ( | istream | , |
read_unsigned_int_error_case | |||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |