aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/test/trycatch_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debugger/test/trycatch_SUITE.erl')
-rw-r--r--lib/debugger/test/trycatch_SUITE.erl22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/debugger/test/trycatch_SUITE.erl b/lib/debugger/test/trycatch_SUITE.erl
index 8e2619e8e7..3d5dd9a615 100644
--- a/lib/debugger/test/trycatch_SUITE.erl
+++ b/lib/debugger/test/trycatch_SUITE.erl
@@ -20,7 +20,9 @@
%%
-module(trycatch_SUITE).
--export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,
+ init_per_testcase/2,end_per_testcase/2,
+ init_per_suite/1,end_per_suite/1,
basic/1,lean_throw/1,try_of/1,try_after/1,%after_bind/1,
catch_oops/1,after_oops/1,eclectic/1,rethrow/1,
nested_of/1,nested_catch/1,nested_after/1]).
@@ -30,22 +32,22 @@
suite() -> [{suite_callbacks,[ts_install_scb]}].
all() ->
-[cases()].
+ cases().
groups() ->
[].
init_per_group(_GroupName, Config) ->
- Config.
+ Config.
end_per_group(_GroupName, Config) ->
- Config.
+ Config.
cases() ->
-[basic, lean_throw, try_of, try_after, catch_oops,
- after_oops, eclectic, rethrow, nested_of, nested_catch,
- nested_after].
+ [basic, lean_throw, try_of, try_after, catch_oops,
+ after_oops, eclectic, rethrow, nested_of, nested_catch,
+ nested_after].
init_per_testcase(_Case, Config) ->
test_lib:interpret(?MODULE),
@@ -60,7 +62,7 @@ end_per_testcase(_Case, Config) ->
init_per_suite(Config) when is_list(Config) ->
?line test_lib:interpret(?MODULE),
?line true = lists:member(?MODULE, int:interpreted()),
- ok.
+ Config.
end_per_suite(Config) when is_list(Config) ->
ok.
@@ -123,9 +125,7 @@ basic(Conf) when is_list(Conf) ->
ok.
-after_csuite() -> [{suite_callbacks,[ts_install_scb]}].
-
-all() ->
+after_call() ->
put(basic, after_was_called).
after_clean() ->