metric_streams_test.cpp File Reference

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

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