aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testChoPrim.erl
diff options
context:
space:
mode:
authorAdam Lindberg <[email protected]>2012-02-29 14:49:57 +0100
committerAdam Lindberg <[email protected]>2012-02-29 14:49:57 +0100
commitca390f6bb00d14998faa8081a488a6d4889f1aea (patch)
tree8045e9b208bf950b511fb20ca6d7371bad9a19a6 /lib/asn1/test/testChoPrim.erl
parentd3a96b096f457c881296c4e7f69de47399ab9ed8 (diff)
parenteda0a2d866060b18af6f06abbc9ea9e920de43b7 (diff)
downloadotp-ca390f6bb00d14998faa8081a488a6d4889f1aea.tar.gz
otp-ca390f6bb00d14998faa8081a488a6d4889f1aea.tar.bz2
otp-ca390f6bb00d14998faa8081a488a6d4889f1aea.zip
Merge branch 'maint'
Diffstat (limited to 'lib/asn1/test/testChoPrim.erl')
-rw-r--r--lib/asn1/test/testChoPrim.erl13
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/asn1/test/testChoPrim.erl b/lib/asn1/test/testChoPrim.erl
index f037db1c5d..936a38f76c 100644
--- a/lib/asn1/test/testChoPrim.erl
+++ b/lib/asn1/test/testChoPrim.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1997-2010. All Rights Reserved.
+%% Copyright Ericsson AB 1997-2012. 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
@@ -19,22 +19,11 @@
%%
-module(testChoPrim).
--export([compile/3]).
-export([bool/1]).
-export([int/1]).
-include_lib("test_server/include/test_server.hrl").
-
-compile(Config,Rules,Options) ->
-
- ?line DataDir = ?config(data_dir,Config),
- ?line OutDir = ?config(priv_dir,Config),
- ?line true = code:add_patha(?config(priv_dir,Config)),
- ?line ok = asn1ct:compile(DataDir ++ "ChoPrim",[Rules,{outdir,OutDir}]++Options).
-
-
-
bool(Rules) ->
?line {ok,Bytes11} = asn1_wrapper:encode('ChoPrim','ChoCon',{bool0,true}),