diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-05-03 16:24:02 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-05-04 12:10:39 +0200 |
commit | d8028da128c4382fdc5781df70a9ca5d56f38694 (patch) | |
tree | 57be312cdcc50d45904040db6959e583cc534dfd /lib/et/test/et_wx_SUITE.erl | |
parent | 4a355fd8c7a2d4410827ddd042e607238f48f7e8 (diff) | |
download | otp-d8028da128c4382fdc5781df70a9ca5d56f38694.tar.gz otp-d8028da128c4382fdc5781df70a9ca5d56f38694.tar.bz2 otp-d8028da128c4382fdc5781df70a9ca5d56f38694.zip |
et: Remove unnecessary boilerplate in tests
Diffstat (limited to 'lib/et/test/et_wx_SUITE.erl')
-rw-r--r-- | lib/et/test/et_wx_SUITE.erl | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/lib/et/test/et_wx_SUITE.erl b/lib/et/test/et_wx_SUITE.erl index 785d1b8145..6475b6706b 100644 --- a/lib/et/test/et_wx_SUITE.erl +++ b/lib/et/test/et_wx_SUITE.erl @@ -19,11 +19,10 @@ -module(et_wx_SUITE). --export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, - init_per_suite/1, end_per_suite/1, - init_per_testcase/2, end_per_testcase/2]). - --compile(export_all). +-export([all/0, suite/0, + init_per_testcase/2, end_per_testcase/2, + init_per_suite/1, end_per_suite/1]). +-export([start_all_windows/1]). -include("et_test_lib.hrl"). @@ -40,21 +39,13 @@ end_per_testcase(Func,Config) -> et_test_lib:end_per_testcase(Func,Config). %% SUITE specification -suite() -> [{ct_hooks,[ts_install_cth]}]. + +suite() -> + [{ct_hooks,[ts_install_cth]}]. all() -> [start_all_windows]. -groups() -> - []. - -init_per_group(_GroupName, Config) -> - Config. - -end_per_group(_GroupName, Config) -> - Config. - - %% The test cases %% Display all windows and see if something crashes |