enum_parsing_test.cpp File Reference
#include <gtest/gtest.h>
#include "interop/logic/utils/enums.h"
#include "interop/logic/utils/metric_type_ext.h"
#include "interop/util/type_traits.h"

Classes

struct  enum_list_test< Enum >
 

Typedefs

typedef ::testing::Types< constants::metric_feature_type, constants::metric_type, constants::metric_group, constants::tile_naming_method, constants::dna_bases, constants::surface_type, constants::instrument_type, constants::metric_base_type, constants::plot_colors, constants::bar_plot_options, constants::metric_data, constants::plot_typesall_enums_t
 

Functions

 TEST (enum_parsing_test, parse_metric_type)
 
 TEST (enum_parsing_test, list_enums_intensity)
 
 TEST (enum_parsing_test, metric_type_to_string)
 
 TEST (enum_parsing_test, metric_type_to_group_Intensity)
 
 TEST (enum_parsing_test, metric_type_to_group_Q20Percent)
 
 TEST (enum_parsing_test, metric_type_to_group_PercentBase)
 
 TEST (enum_parsing_test, metric_type_to_group_Clusters)
 
 TEST (enum_parsing_test, metric_type_to_group_ErrorRate)
 
 TYPED_TEST_CASE (enum_list_test, all_enums_t)
 
 TYPED_TEST (enum_list_test, names)
 
 TYPED_TEST (enum_list_test, unknown)
 
 TYPED_TEST (enum_list_test, to_string_then_parse)
 
 TEST (enum_parsing_test, metric_type_to_group_PrePhasing)
 

Detailed Description

Unit tests for enum parsing

Date
4/27/16
Version
1.0

Typedef Documentation

Function Documentation

TEST ( enum_parsing_test  ,
parse_metric_type   
)
TEST ( enum_parsing_test  ,
list_enums_intensity   
)
TEST ( enum_parsing_test  ,
metric_type_to_string   
)
TEST ( enum_parsing_test  ,
metric_type_to_group_Intensity   
)
TEST ( enum_parsing_test  ,
metric_type_to_group_Q20Percent   
)
TEST ( enum_parsing_test  ,
metric_type_to_group_PercentBase   
)
TEST ( enum_parsing_test  ,
metric_type_to_group_Clusters   
)
TEST ( enum_parsing_test  ,
metric_type_to_group_ErrorRate   
)
TEST ( enum_parsing_test  ,
metric_type_to_group_PrePhasing   
)
TYPED_TEST ( enum_list_test  ,
names   
)

Confirm that every enum does not conflict with unknown

TYPED_TEST ( enum_list_test  ,
unknown   
)

Confirm that every enum does not conflict with unknown

TYPED_TEST ( enum_list_test  ,
to_string_then_parse   
)

Confirm that every enum can be converted to a string and back

TYPED_TEST_CASE ( enum_list_test  ,
all_enums_t   
)