aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testDoubleEllipses.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-09-18 16:40:29 +0200
committerBjörn Gustavsson <[email protected]>2015-01-12 11:40:24 +0100
commit3ab3b07afd07bb2fc59037e4b65f08c9038bf078 (patch)
treed12d03a988dd4f39d82952467b56856c78452ddf /lib/asn1/test/testDoubleEllipses.erl
parent2ae4e110b687b31aaa9a0e2d06b0e019819ab753 (diff)
downloadotp-3ab3b07afd07bb2fc59037e4b65f08c9038bf078.tar.gz
otp-3ab3b07afd07bb2fc59037e4b65f08c9038bf078.tar.bz2
otp-3ab3b07afd07bb2fc59037e4b65f08c9038bf078.zip
Fix BER code generation
PKIX1Explicit-2009 did not compile.
Diffstat (limited to 'lib/asn1/test/testDoubleEllipses.erl')
-rw-r--r--lib/asn1/test/testDoubleEllipses.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/asn1/test/testDoubleEllipses.erl b/lib/asn1/test/testDoubleEllipses.erl
index 4e8972cdfc..3caa166ae0 100644
--- a/lib/asn1/test/testDoubleEllipses.erl
+++ b/lib/asn1/test/testDoubleEllipses.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2007-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2007-2014. 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
@@ -24,17 +24,20 @@
-include_lib("test_server/include/test_server.hrl").
-record('Seq',{a, c}).
+-record('SeqV1',{a, b}).
-record('SeqV2',{a, b ,c}).
-record('SeqAlt',{a,d,b,e,c,f,g}).
-record('SeqAltV2',{a,d,b,e,h,i,c,f,g}).
-record('Set',{a, c}).
+-record('SetV1',{a, b}).
-record('SetV2',{a, b ,c}).
-record('SetAlt',{a,d,b,e,c,f,g}).
-record('SetAltV2',{a,d,b,e,h,i,c,f,g}).
main(_Rules) ->
roundtrip('Seq', #'Seq'{a=10,c=true}),
+ roundtrip('SeqV1', #'SeqV1'{a=10,b=false}),
roundtrip('SeqV2', #'SeqV2'{a=10,b=false,c=true}),
roundtrip('SeqAlt',
#'SeqAlt'{a=10,d=12,b = <<2#1010:4>>,
@@ -45,6 +48,7 @@ main(_Rules) ->
e=true,h="PS",i=13,c=false,f=14,g=16}),
roundtrip('Set', #'Set'{a=10,c=true}),
+ roundtrip('SetV1', #'SetV1'{a=10,b=false}),
roundtrip('SetV2', #'SetV2'{a=10,b=false,c=true}),
roundtrip('SetAlt',
#'SetAlt'{a=10,d=12,