aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/test/trycatch_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-12-14 15:28:28 +0100
committerLukas Larsson <[email protected]>2011-02-17 17:34:49 +0100
commitb3b108bac507ef4572226ad086912865f4672edb (patch)
tree68887497c4e3b8b3572593c183f77ad4593282c3 /lib/debugger/test/trycatch_SUITE.erl
parent86108c144f9b0c4bed2e109ff4abb77408f22b9b (diff)
downloadotp-b3b108bac507ef4572226ad086912865f4672edb.tar.gz
otp-b3b108bac507ef4572226ad086912865f4672edb.tar.bz2
otp-b3b108bac507ef4572226ad086912865f4672edb.zip
Fix formatting and also some migration fixes for debugger
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() ->