diff options
author | Lukas Larsson <[email protected]> | 2010-10-12 10:33:30 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:20:43 +0100 |
commit | 65ff8409203e7154f4fbe03ed9d76ca7c1362eaf (patch) | |
tree | 95485a9b8af913486b2fae589413a65c55385b36 /lib/stdlib/test/filename_SUITE.erl | |
parent | 9a1c2c32a199e05fb717403880d040e4d55798b3 (diff) | |
download | otp-65ff8409203e7154f4fbe03ed9d76ca7c1362eaf.tar.gz otp-65ff8409203e7154f4fbe03ed9d76ca7c1362eaf.tar.bz2 otp-65ff8409203e7154f4fbe03ed9d76ca7c1362eaf.zip |
Update stdlib tests to conform with common_test standard
Diffstat (limited to 'lib/stdlib/test/filename_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/filename_SUITE.erl | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lib/stdlib/test/filename_SUITE.erl b/lib/stdlib/test/filename_SUITE.erl index dbce93600b..e30fe2649c 100644 --- a/lib/stdlib/test/filename_SUITE.erl +++ b/lib/stdlib/test/filename_SUITE.erl @@ -17,7 +17,7 @@ %% %CopyrightEnd% %% -module(filename_SUITE). --export([all/1]). +-export([all/0,groups/0,init_per_group/2,end_per_group/2]). -export([absname/1, absname_2/1, basename_1/1, basename_2/1, dirname/1, extension/1, join/1, t_nativename/1]). @@ -26,9 +26,10 @@ basename_bin_1/1, basename_bin_2/1, dirname_bin/1, extension_bin/1, join_bin/1]). -export([pathtype_bin/1,rootname_bin/1,split_bin/1]). --include("test_server.hrl"). -all(suite) -> +-include_lib("test_server/include/test_server.hrl"). + +all() -> [absname, absname_2, basename_1, basename_2, dirname, extension, join, pathtype, rootname, split, t_nativename, find_src, @@ -36,6 +37,16 @@ all(suite) -> extension_bin, join_bin, pathtype_bin, rootname_bin, split_bin]. +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% absname(Config) when is_list(Config) -> |