aboutsummaryrefslogtreecommitdiffstats
path: root/lib/percept/test/percept_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 10:36:54 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:25:12 +0100
commit91298c06d77197433c68b3cc1d05eb966e1370e0 (patch)
tree09a0e3283042e86f2f626b41cbdf935abb771947 /lib/percept/test/percept_SUITE.erl
parent206c1fd527b5155e55041c02a3bce397a46668ec (diff)
downloadotp-91298c06d77197433c68b3cc1d05eb966e1370e0.tar.gz
otp-91298c06d77197433c68b3cc1d05eb966e1370e0.tar.bz2
otp-91298c06d77197433c68b3cc1d05eb966e1370e0.zip
Update percept tests to conform with common_test standard
Diffstat (limited to 'lib/percept/test/percept_SUITE.erl')
-rw-r--r--lib/percept/test/percept_SUITE.erl22
1 files changed, 14 insertions, 8 deletions
diff --git a/lib/percept/test/percept_SUITE.erl b/lib/percept/test/percept_SUITE.erl
index dbd058f289..7d637f267f 100644
--- a/lib/percept/test/percept_SUITE.erl
+++ b/lib/percept/test/percept_SUITE.erl
@@ -18,10 +18,10 @@
%%
-module(percept_SUITE).
--include("test_server.hrl").
+-include_lib("test_server/include/test_server.hrl").
%% Test server specific exports
--export([all/1]).
+-export([all/0,groups/0,init_per_group/2,end_per_group/2]).
-export([init_per_suite/1, end_per_suite/1]).
-export([init_per_testcase/2, end_per_testcase/2]).
@@ -51,12 +51,18 @@ end_per_testcase(_Case, Config) ->
?t:timetrap_cancel(Dog),
ok.
-all(suite) ->
- % Test cases
- [ webserver,
- profile,
- analyze,
- analyze_dist].
+all() ->
+[webserver, profile, analyze, analyze_dist].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
%%----------------------------------------------------------------------
%% Tests