Commit | Line | Data |
---|---|---|
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 | ||
24 | all() -> | |
25 | [{group, ?GROUP}]. | |
26 | ||
27 | groups() -> | |
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 | ||
42 | ct_test__beam_stats_to_bins(_Cfg) -> | |
43 | ?statsd_module:ct_test__beam_stats_to_bins(_Cfg). | |
44 | ||
45 | ct_test__memory_component_to_statsd_msg(_Cfg) -> | |
46 | ?statsd_module:ct_test__memory_component_to_statsd_msg(_Cfg). | |
47 | ||
48 | ct_test__statsd_msg_add_name_prefix(_Cfg) -> | |
49 | ?statsd_module:ct_test__statsd_msg_add_name_prefix(_Cfg). | |
50 | ||
51 | ct_test__statsd_msg_to_bin(_Cfg) -> | |
52 | ?statsd_module:ct_test__statsd_msg_to_bin(_Cfg). | |
53 | ||
54 | ct_test__node_id_to_bin(_Cfg) -> | |
55 | ?statsd_module:ct_test__node_id_to_bin(_Cfg). |