#include <gtest/gtest.h>
#include "interop/io/metric_stream.h"
#include "interop/io/metric_file_stream.h"
#include "src/tests/interop/metrics/inc/metric_format_fixtures.h"
#include "src/tests/interop/run/info_test.h"
Classes | |
struct | metric_stream_test< TestSetup > |
Functions | |
TYPED_TEST_CASE_P (metric_stream_test) | |
void | print_actual (std::ostream &out, const std::string &data) |
TYPED_TEST_P (metric_stream_test, test_write_read_binary_data) | |
TYPED_TEST_P (metric_stream_test, test_header_size) | |
TYPED_TEST_P (metric_stream_test, test_read_data_size) | |
TYPED_TEST_P (metric_stream_test, test_write_data_size) | |
TEST (metric_stream_test, list_filenames) | |
TEST (metric_stream_test, list_filenames_aggregated) | |
TEST (metric_stream_test, list_filenames_by_cycle) | |
REGISTER_TYPED_TEST_CASE_P (metric_stream_test, test_read_data_size, test_header_size, test_write_read_binary_data, test_write_data_size) | |
INSTANTIATE_TYPED_TEST_CASE_P (Public, metric_stream_test, PublicFormats) | |
Detailed Description
Unit tests for the metric streams
- Date
- 9/17/2016
- Version
- 1.0
- Copyright
- GNU Public License.
Function Documentation
INSTANTIATE_TYPED_TEST_CASE_P | ( | Public | , |
metric_stream_test | , | ||
PublicFormats | |||
) |
void print_actual | ( | std::ostream & | out, |
const std::string & | data | ||
) |
REGISTER_TYPED_TEST_CASE_P | ( | metric_stream_test | , |
test_read_data_size | , | ||
test_header_size | , | ||
test_write_read_binary_data | , | ||
test_write_data_size | |||
) |
TEST | ( | metric_stream_test | , |
list_filenames | |||
) |
TEST | ( | metric_stream_test | , |
list_filenames_aggregated | |||
) |
TEST | ( | metric_stream_test | , |
list_filenames_by_cycle | |||
) |
TYPED_TEST_CASE_P | ( | metric_stream_test | ) |
TYPED_TEST_P | ( | metric_stream_test | , |
test_write_read_binary_data | |||
) |
Confirm binary write matches expected binary data
TYPED_TEST_P | ( | metric_stream_test | , |
test_header_size | |||
) |
Confirm the header size matches what is read
TYPED_TEST_P | ( | metric_stream_test | , |
test_read_data_size | |||
) |
Confirm the header size matches what is read
TYPED_TEST_P | ( | metric_stream_test | , |
test_write_data_size | |||
) |
Confirm the header size matches what is read