aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_app_test.erl
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2010-10-19 16:06:53 +0200
committerNiclas Eklund <[email protected]>2010-10-19 16:06:53 +0200
commitf420f36b3d9b8360250cc0c0d7e9a0c9e2341e45 (patch)
tree615dcf1679299ac354ef9bb8f511268c89e3775c /lib/asn1/test/asn1_app_test.erl
parent64df27c91db991550bdd6c97862eb26c1c9e37bf (diff)
parent0f727bd7b72b009eac169c2e9ef925d3c2ffa409 (diff)
downloadotp-f420f36b3d9b8360250cc0c0d7e9a0c9e2341e45.tar.gz
otp-f420f36b3d9b8360250cc0c0d7e9a0c9e2341e45.tar.bz2
otp-f420f36b3d9b8360250cc0c0d7e9a0c9e2341e45.zip
Merge branch 'maint-r13' of super:otp into nick/orber/corbaloc_http/OTP-8900
Diffstat (limited to 'lib/asn1/test/asn1_app_test.erl')
-rw-r--r--lib/asn1/test/asn1_app_test.erl22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/asn1/test/asn1_app_test.erl b/lib/asn1/test/asn1_app_test.erl
index 8ee42d3ec3..1ea76426f1 100644
--- a/lib/asn1/test/asn1_app_test.erl
+++ b/lib/asn1/test/asn1_app_test.erl
@@ -1,19 +1,19 @@
%%
%% %CopyrightBegin%
-%%
-%% Copyright Ericsson AB 2005-2009. All Rights Reserved.
-%%
+%%
+%% Copyright Ericsson AB 2005-2010. All Rights Reserved.
+%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
%% compliance with the License. You should have received a copy of the
%% Erlang Public License along with this software. If not, it can be
%% retrieved online at http://www.erlang.org/.
-%%
+%%
%% Software distributed under the License is distributed on an "AS IS"
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
%% the License for the specific language governing rights and limitations
%% under the License.
-%%
+%%
%% %CopyrightEnd%
%%
%%
@@ -54,7 +54,7 @@ all(suite) ->
app_init(suite) -> [];
app_init(doc) -> [];
-app_init(Config) when list(Config) ->
+app_init(Config) when is_list(Config) ->
case is_app(asn1) of
{ok, AppFile} ->
io:format("AppFile: ~n~p~n", [AppFile]),
@@ -76,7 +76,7 @@ is_app(App) ->
app_fin(suite) -> [];
app_fin(doc) -> [];
-app_fin(Config) when list(Config) ->
+app_fin(Config) when is_list(Config) ->
Config.
@@ -86,7 +86,7 @@ fields(suite) ->
[];
fields(doc) ->
[];
-fields(Config) when list(Config) ->
+fields(Config) when is_list(Config) ->
AppFile = key1search(app_file, Config),
Fields = [vsn, description, modules, registered, applications],
case check_fields(Fields, AppFile, []) of
@@ -117,7 +117,7 @@ modules(suite) ->
[];
modules(doc) ->
[];
-modules(Config) when list(Config) ->
+modules(Config) when is_list(Config) ->
AppFile = key1search(app_file, Config),
Mods = key1search(modules, AppFile),
EbinList = get_ebin_mods(asn1),
@@ -188,7 +188,7 @@ exportall(suite) ->
[];
exportall(doc) ->
[];
-exportall(Config) when list(Config) ->
+exportall(Config) when is_list(Config) ->
AppFile = key1search(app_file, Config),
Mods = key1search(modules, AppFile),
check_export_all(Mods).
@@ -221,7 +221,7 @@ app_depend(suite) ->
[];
app_depend(doc) ->
[];
-app_depend(Config) when list(Config) ->
+app_depend(Config) when is_list(Config) ->
AppFile = key1search(app_file, Config),
Apps = key1search(applications, AppFile),
check_apps(Apps).