aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/test/megaco_call_flow_test.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/megaco/test/megaco_call_flow_test.erl')
-rw-r--r--lib/megaco/test/megaco_call_flow_test.erl36
1 files changed, 14 insertions, 22 deletions
diff --git a/lib/megaco/test/megaco_call_flow_test.erl b/lib/megaco/test/megaco_call_flow_test.erl
index 5db4cc2c8a..6d4f000670 100644
--- a/lib/megaco/test/megaco_call_flow_test.erl
+++ b/lib/megaco/test/megaco_call_flow_test.erl
@@ -56,31 +56,23 @@ end_per_testcase(Case, Config) ->
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Top test case
-all(suite) ->
- [
- text,
- binary
- ].
+all() ->
+[{group, text}, {group, binary}].
+
+groups() ->
+ [{text, [], [pretty, compact]},
+ {flex, [], [pretty_flex, compact_flex]},
+ {binary, [], [bin, ber, ber_bin, per]}].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
-text(suite) ->
- [
- pretty,
- compact
- ].
-flex(suite) ->
- [
- pretty_flex,
- compact_flex
- ].
-binary(suite) ->
- [
- bin,
- ber,
- ber_bin,
- per
- ].
pretty(suite) ->
[];