1%%
2%% %CopyrightBegin%
3%%
4%% Copyright Ericsson AB 1997-2016. All Rights Reserved.
5%%
6%% Licensed under the Apache License, Version 2.0 (the "License");
7%% you may not use this file except in compliance with the License.
8%% You may obtain a copy of the License at
9%%
10%%     http://www.apache.org/licenses/LICENSE-2.0
11%%
12%% Unless required by applicable law or agreed to in writing, software
13%% distributed under the License is distributed on an "AS IS" BASIS,
14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15%% See the License for the specific language governing permissions and
16%% limitations under the License.
17%%
18%% %CopyrightEnd%
19%%
20%%
21-module(testPrimExternal).
22
23-export([external/1]).
24
25-include_lib("common_test/include/ct.hrl").
26
27external(_Rules) ->
28    Types = ['NT',
29	     'Imp',
30	     'Exp',
31	     'NTNT',
32	     'NTImp',
33	     'NTExp',
34	     'ImpNT',
35	     'ImpImp',
36	     'ImpExp',
37	     'ExpNT',
38	     'ExpImp',
39	     'ExpExp',
40	     'XNTNT',
41	     'XNTImp',
42	     'XNTExp',
43	     'XImpNT',
44	     'XImpImp',
45	     'XImpExp',
46	     'XExpNT',
47	     'XExpImp',
48	     'XExpExp'],
49    _ = [asn1_test_lib:roundtrip('PrimExternal', T, <<"kalle">>) ||
50	    T <- Types],
51    ok.
52