aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test/observer_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 10:56:43 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:28:28 +0100
commit894aad197d4d996ea18713ec9354dc3c674886b9 (patch)
tree0dda28390e229ec9f589062642e87bcd9829e656 /lib/observer/test/observer_SUITE.erl
parent15c54232dd4c0026c47bfbff8fde7b5bacd29bae (diff)
downloadotp-894aad197d4d996ea18713ec9354dc3c674886b9.tar.gz
otp-894aad197d4d996ea18713ec9354dc3c674886b9.tar.bz2
otp-894aad197d4d996ea18713ec9354dc3c674886b9.zip
Update observer tests to conform with common_test standard
Diffstat (limited to 'lib/observer/test/observer_SUITE.erl')
-rw-r--r--lib/observer/test/observer_SUITE.erl18
1 files changed, 14 insertions, 4 deletions
diff --git a/lib/observer/test/observer_SUITE.erl b/lib/observer/test/observer_SUITE.erl
index 3e9522c7a4..626a0125db 100644
--- a/lib/observer/test/observer_SUITE.erl
+++ b/lib/observer/test/observer_SUITE.erl
@@ -18,10 +18,10 @@
%%
-module(observer_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_testcase/2, end_per_testcase/2]).
%% Test cases
@@ -39,8 +39,18 @@ end_per_testcase(_Case, Config) ->
?t:timetrap_cancel(Dog),
ok.
-all(suite) ->
- [app_file].
+all() ->
+[app_file].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
app_file(suite) ->
[];