#include <tile_metrics_test.h>

Inheritance diagram for tile_metric_v2:
metric_test< model::metrics::tile_metric, 2 >

Public Types

enum  { disable_binary_data =true, disable_binary_data_size =true }
 
- Public Types inherited from metric_test< model::metrics::tile_metric, 2 >
enum  Checks
 
typedef model::metrics::tile_metric metric_t
 
typedef model::metric_base::metric_set< model::metrics::tile_metricmetric_set_t
 
typedef metric_t::header_type header_t
 
typedef metric_set_t::const_iterator const_iterator
 

Static Public Member Functions

static void create_expected (metric_set_t &metrics, const model::run::info &=model::run::info())
 
template<class Collection >
static void create_binary_data (Collection &buffer)
 
static void create_summary (model::summary::run_summary &summary)
 
- Static Public Member Functions inherited from metric_test< model::metrics::tile_metric, 2 >
static std::string name ()
 
static std::vector< T > to_vector (const T(&vals)[N])
 
static std::vector< T > to_vector (const sparse_value< T, Size >(&vals)[N])
 

Detailed Description

This generator creates an expected metric set and the corresponding binary data

See also
model::metrics::tile_metric
Note
Version 2

Member Enumeration Documentation

anonymous enum
Enumerator
disable_binary_data 

Do not check the expected binary data

disable_binary_data_size 

Do not check the expected binary data size

Member Function Documentation

static void create_binary_data ( Collection &  buffer)
inlinestatic

Get the expected binary data

Parameters
bufferbinary data string
static void create_expected ( metric_set_t metrics,
const model::run::info = model::run::info() 
)
inlinestatic

Create the expected metric set

Parameters
metricsdestination metric set
static void create_summary ( model::summary::run_summary summary)
inlinestatic

Get the summary for these metrics

Returns
run summary

The documentation for this struct was generated from the following file: