aboutsummaryrefslogtreecommitdiffstats
path: root/lib/percept/test/egd_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/egd_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/egd_SUITE.erl')
-rw-r--r--lib/percept/test/egd_SUITE.erl28
1 files changed, 16 insertions, 12 deletions
diff --git a/lib/percept/test/egd_SUITE.erl b/lib/percept/test/egd_SUITE.erl
index fde02b47d5..a3b7c54708 100644
--- a/lib/percept/test/egd_SUITE.erl
+++ b/lib/percept/test/egd_SUITE.erl
@@ -18,10 +18,10 @@
%%
-module(egd_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]).
@@ -54,16 +54,20 @@ end_per_testcase(_Case, Config) ->
?t:timetrap_cancel(Dog),
ok.
-all(suite) ->
- % Test cases
- [
- image_create_and_destroy,
- image_shape,
- image_primitives,
- image_colors,
- image_font,
- image_png_compliant
- ].
+all() ->
+[image_create_and_destroy, image_shape,
+ image_primitives, image_colors, image_font,
+ image_png_compliant].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
%%----------------------------------------------------------------------
%% Tests