aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/test/orber_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 10:38:22 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:25:13 +0100
commit670f41232381c6c1a47101349567caf9303dea8f (patch)
treebc066476eec16c41a0f2be54d9fa63eb9bf43919 /lib/orber/test/orber_SUITE.erl
parent486455c2ecae11713fc8750a127caf2c853bedee (diff)
downloadotp-670f41232381c6c1a47101349567caf9303dea8f.tar.gz
otp-670f41232381c6c1a47101349567caf9303dea8f.tar.bz2
otp-670f41232381c6c1a47101349567caf9303dea8f.zip
Update orber tests to conform with common_test standard
Diffstat (limited to 'lib/orber/test/orber_SUITE.erl')
-rw-r--r--lib/orber/test/orber_SUITE.erl22
1 files changed, 15 insertions, 7 deletions
diff --git a/lib/orber/test/orber_SUITE.erl b/lib/orber/test/orber_SUITE.erl
index 546cab84e4..c6c8011f0f 100644
--- a/lib/orber/test/orber_SUITE.erl
+++ b/lib/orber/test/orber_SUITE.erl
@@ -18,14 +18,14 @@
%%
%%
-module(orber_SUITE).
--include("test_server.hrl").
+-include_lib("test_server/include/test_server.hrl").
-define(default_timeout, ?t:minutes(15)).
-define(application, orber).
% 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 must be exported.
@@ -35,11 +35,19 @@
%%
%% all/1
%%
-all(doc) ->
- [];
-all(suite) ->
- [app_test, undefined_functions,
- install_load_order, install_local_content].
+all() ->
+[app_test, undefined_functions, install_load_order,
+ install_local_content].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
init_per_testcase(_Case, Config) ->
?line Dog=test_server:timetrap(?default_timeout),