Add some StatsD consumer tests.
[beam_stats.git] / test / beam_stats_consumer_statsd_SUITE.erl
CommitLineData
b0ab6ee2
SK
1-module(beam_stats_consumer_statsd_SUITE).
2
3-export(
4 [ all/0
5 , groups/0
6 ]).
7
8%% Test cases
9-export(
10 [ ct_test__beam_stats_to_bins/1
11 , ct_test__memory_component_to_statsd_msg/1
12 , ct_test__statsd_msg_add_name_prefix/1
13 , ct_test__statsd_msg_to_bin/1
14 , ct_test__node_id_to_bin/1
15 ]).
16
17-define(statsd_module, beam_stats_consumer_statsd).
18-define(GROUP, ?statsd_module).
19
20%% ============================================================================
21%% Common Test callbacks
22%% ============================================================================
23
24all() ->
25 [{group, ?GROUP}].
26
27groups() ->
28 Tests =
29 [ ct_test__beam_stats_to_bins
30 , ct_test__memory_component_to_statsd_msg
31 , ct_test__statsd_msg_add_name_prefix
32 , ct_test__statsd_msg_to_bin
33 , ct_test__node_id_to_bin
34 ],
35 Properties = [],
36 [{?GROUP, Properties, Tests}].
37
38%% =============================================================================
39%% Test cases
40%% =============================================================================
41
42ct_test__beam_stats_to_bins(_Cfg) ->
43 ?statsd_module:ct_test__beam_stats_to_bins(_Cfg).
44
45ct_test__memory_component_to_statsd_msg(_Cfg) ->
46 ?statsd_module:ct_test__memory_component_to_statsd_msg(_Cfg).
47
48ct_test__statsd_msg_add_name_prefix(_Cfg) ->
49 ?statsd_module:ct_test__statsd_msg_add_name_prefix(_Cfg).
50
51ct_test__statsd_msg_to_bin(_Cfg) ->
52 ?statsd_module:ct_test__statsd_msg_to_bin(_Cfg).
53
54ct_test__node_id_to_bin(_Cfg) ->
55 ?statsd_module:ct_test__node_id_to_bin(_Cfg).
This page took 0.033619 seconds and 4 git commands to generate.