coverage_test.cpp File Reference
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "interop/io/metric_stream.h"
#include "src/tests/interop/metrics/inc/metric_generator.h"
#include "src/tests/interop/metrics/inc/metric_format_fixtures.h"

Classes

struct  metric_coverage_test< TestSetup >
 
struct  format_coverage_test< TestSetup >
 

Typedefs

typedef ::testing::Types< hardcoded_metric_registry_t, write_read_metric_registry_t, by_cycle_metric_registry_t, clear_metric_registry_tgenerators_t
 

Functions

 TYPED_TEST_CASE_P (metric_coverage_test)
 
 TYPED_TEST_P (metric_coverage_test, sentinel)
 
 REGISTER_TYPED_TEST_CASE_P (metric_coverage_test, sentinel)
 
 INSTANTIATE_TYPED_TEST_CASE_P (Public, metric_coverage_test, PublicFormats)
 
 TEST (metric_coverage_test, stream_tests)
 
 TYPED_TEST_CASE (format_coverage_test, generators_t)
 
 TYPED_TEST (format_coverage_test, format)
 

Variables

format_registry actual_format_registry
 

Detailed Description

Unit tests for test coverage over metrics and their formats

Date
11/20/16
Version
1.0

Typedef Documentation

Function Documentation

INSTANTIATE_TYPED_TEST_CASE_P ( Public  ,
metric_coverage_test  ,
PublicFormats   
)
REGISTER_TYPED_TEST_CASE_P ( metric_coverage_test  ,
sentinel   
)
TEST ( metric_coverage_test  ,
stream_tests   
)

Confirm that every metric and every version of their format is being tested here

TYPED_TEST ( format_coverage_test  ,
format   
)

Confirm that every metric and every version of their format is being tested here

TYPED_TEST_CASE ( format_coverage_test  ,
generators_t   
)
TYPED_TEST_CASE_P ( metric_coverage_test  )
TYPED_TEST_P ( metric_coverage_test  ,
sentinel   
)

Variable Documentation

format_registry actual_format_registry