~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/megaco/test/megaco_codec_v1_test.erl

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%
2
2
%% %CopyrightBegin%
3
3
%% 
4
 
%% Copyright Ericsson AB 2003-2009. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2003-2011. All Rights Reserved.
5
5
%% 
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
26
26
 
27
27
%% ----
28
28
 
 
29
-compile({no_auto_import,[error/1]}).
 
30
 
 
31
%% ----
 
32
 
29
33
-include_lib("megaco/include/megaco.hrl").
30
34
-include_lib("megaco/include/megaco_message_v1.hrl").
31
35
-include("megaco_test_lib.hrl").
38
42
 
39
43
-export([t/0, t/1]).
40
44
 
41
 
-export([all/1, 
42
 
 
43
 
         text/1, 
44
 
 
45
 
         pretty/1, 
 
45
-export([all/0,groups/0,init_per_group/2,end_per_group/2, 
 
46
         
46
47
         pretty_test_msgs/1, 
47
 
 
48
 
         compact/1, 
 
48
         
49
49
         compact_test_msgs/1,
50
 
 
51
 
         flex_pretty/1, 
 
50
         
52
51
         flex_pretty_init/1, 
53
52
         flex_pretty_finish/1, 
54
53
         flex_pretty_test_msgs/1,
55
 
 
56
 
         flex_compact/1, 
 
54
         
57
55
         flex_compact_init/1, 
58
56
         flex_compact_finish/1, 
59
57
         flex_compact_test_msgs/1,
63
61
         flex_compact_dm_timers4/1, 
64
62
         flex_compact_dm_timers5/1, 
65
63
         flex_compact_dm_timers6/1, 
66
 
 
67
 
         binary/1, 
68
64
         
69
 
         bin/1, 
70
65
         bin_test_msgs/1,
71
 
 
72
 
         ber/1, 
 
66
         
73
67
         ber_test_msgs/1, 
74
 
 
75
 
         ber_bin/1, 
 
68
         
76
69
         ber_bin_test_msgs/1, 
77
 
 
78
 
         per/1,
 
70
        
79
71
         per_test_msgs/1,
80
 
 
81
 
         per_bin/1,
 
72
        
82
73
         per_bin_test_msgs/1,
83
 
 
84
 
         erl_dist/1,
85
 
         erl_dist_m/1,
 
74
        
86
75
         erl_dist_m_test_msgs/1,
87
76
 
88
77
         tickets/0, 
89
 
         tickets/1, 
90
 
 
91
 
         compact_tickets/1, 
 
78
         
92
79
         compact_otp4011_msg1/1, 
93
80
         compact_otp4011_msg2/1,
94
81
         compact_otp4011_msg3/1,
131
118
         compact_otp6017_msg01/1, 
132
119
         compact_otp6017_msg02/1, 
133
120
         compact_otp6017_msg03/1, 
134
 
 
135
 
         flex_compact_tickets/1, 
 
121
         
136
122
         flex_compact_otp7431_msg01a/1,
137
123
         flex_compact_otp7431_msg01b/1,
138
124
         flex_compact_otp7431_msg02/1,
141
127
         flex_compact_otp7431_msg05/1,
142
128
         flex_compact_otp7431_msg06/1,
143
129
         flex_compact_otp7431_msg07/1,
144
 
 
145
 
         pretty_tickets/1, 
 
130
         
146
131
         pretty_otp4632_msg1/1, 
147
132
         pretty_otp4632_msg2/1, 
148
133
         pretty_otp4632_msg3/1, 
184
169
         pretty_otp7671_msg04/1,
185
170
         pretty_otp7671_msg05/1,
186
171
         
187
 
         flex_pretty_tickets/1, 
188
172
         flex_pretty_otp5042_msg1/1, 
189
173
         flex_pretty_otp5085_msg1/1, 
190
174
         flex_pretty_otp5085_msg2/1, 
205
189
         flex_pretty_otp7431_msg06/1,
206
190
         flex_pretty_otp7431_msg07/1,
207
191
 
208
 
         init_per_testcase/2, fin_per_testcase/2]).  
 
192
         init_per_testcase/2, end_per_testcase/2]).  
209
193
 
210
194
-export([display_text_messages/0, generate_text_messages/0]).
211
195
 
451
435
            expand(Cases, [Case|Acc])
452
436
    end.
453
437
 
454
 
            
 
438
 
 
439
%% ----
 
440
 
 
441
t()     -> megaco_test_lib:t(?MODULE).
 
442
t(Case) -> megaco_test_lib:t({?MODULE, Case}).
 
443
 
 
444
init_per_testcase(Case, Config) ->
 
445
    %% CaseString = io_lib:format("~p", [Case]),
 
446
    C = 
 
447
        case lists:suffix("time_test", atom_to_list(Case)) of
 
448
            true ->
 
449
                [{tc_timeout, timer:minutes(10)}|Config];
 
450
            false ->
 
451
                put(verbosity,trc),
 
452
                Config
 
453
        end,
 
454
    megaco_test_lib:init_per_testcase(Case, C).
 
455
 
 
456
end_per_testcase(Case, Config) ->
 
457
    erase(verbosity),
 
458
    megaco_test_lib:end_per_testcase(Case, Config).
 
459
 
 
460
 
 
461
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
462
%% Top test case
 
463
 
 
464
all() -> 
 
465
    [
 
466
     {group, text}, 
 
467
     {group, binary}, 
 
468
     {group, erl_dist},
 
469
     {group, tickets}
 
470
    ].
 
471
 
 
472
groups() -> 
 
473
    [{text,            [], [{group, pretty}, 
 
474
                            {group, flex_pretty},
 
475
                            {group, compact}, 
 
476
                            {group, flex_compact}]},
 
477
     {binary,          [], [{group, bin}, 
 
478
                            {group, ber}, 
 
479
                            {group, ber_bin},
 
480
                            {group, per}, 
 
481
                            {group, per_bin}]},
 
482
     {erl_dist,        [], [{group, erl_dist_m}]},
 
483
     {pretty,          [], [pretty_test_msgs]},
 
484
     {compact,         [], [compact_test_msgs]},
 
485
     {flex_pretty,     [], flex_pretty_cases()},
 
486
     {flex_compact,    [], flex_compact_cases()},
 
487
     {bin,             [], [bin_test_msgs]}, 
 
488
     {ber,             [], [ber_test_msgs]},
 
489
     {ber_bin,         [], [ber_bin_test_msgs]},
 
490
     {per,             [], [per_test_msgs]},
 
491
     {per_bin,         [], [per_bin_test_msgs]},
 
492
     {erl_dist_m,      [], [erl_dist_m_test_msgs]},
 
493
     {tickets,         [], [{group, compact_tickets}, 
 
494
                            {group, pretty_tickets},
 
495
                            {group, flex_compact_tickets},
 
496
                            {group, flex_pretty_tickets}]},
 
497
     {compact_tickets, [], [compact_otp4011_msg1, 
 
498
                            compact_otp4011_msg2,
 
499
                            compact_otp4011_msg3, 
 
500
                            compact_otp4013_msg1,
 
501
                            compact_otp4085_msg1, 
 
502
                            compact_otp4085_msg2,
 
503
                            compact_otp4280_msg1, 
 
504
                            compact_otp4299_msg1,
 
505
                            compact_otp4299_msg2, 
 
506
                            compact_otp4359_msg1,
 
507
                            compact_otp4920_msg0, 
 
508
                            compact_otp4920_msg1,
 
509
                            compact_otp4920_msg2, 
 
510
                            compact_otp4920_msg3,
 
511
                            compact_otp4920_msg4, 
 
512
                            compact_otp4920_msg5,
 
513
                            compact_otp4920_msg6, 
 
514
                            compact_otp4920_msg7,
 
515
                            compact_otp4920_msg8, 
 
516
                            compact_otp4920_msg9,
 
517
                            compact_otp4920_msg10, 
 
518
                            compact_otp4920_msg11,
 
519
                            compact_otp4920_msg12, 
 
520
                            compact_otp4920_msg20,
 
521
                            compact_otp4920_msg21, 
 
522
                            compact_otp4920_msg22,
 
523
                            compact_otp4920_msg23, 
 
524
                            compact_otp4920_msg24,
 
525
                            compact_otp4920_msg25, 
 
526
                            compact_otp5186_msg01,
 
527
                            compact_otp5186_msg02, 
 
528
                            compact_otp5186_msg03,
 
529
                            compact_otp5186_msg04, 
 
530
                            compact_otp5186_msg05,
 
531
                            compact_otp5186_msg06, 
 
532
                            compact_otp5793_msg01,
 
533
                            compact_otp5993_msg01, 
 
534
                            compact_otp5993_msg02,
 
535
                            compact_otp5993_msg03, 
 
536
                            compact_otp6017_msg01,
 
537
                            compact_otp6017_msg02, 
 
538
                            compact_otp6017_msg03]},
 
539
     {flex_compact_tickets, [], flex_compact_tickets_cases()},
 
540
     {pretty_tickets,       [], [pretty_otp4632_msg1, 
 
541
                                 pretty_otp4632_msg2,
 
542
                                 pretty_otp4632_msg3, 
 
543
                                 pretty_otp4632_msg4,
 
544
                                 pretty_otp4710_msg1, 
 
545
                                 pretty_otp4710_msg2,
 
546
                                 pretty_otp4945_msg1, 
 
547
                                 pretty_otp4945_msg2,
 
548
                                 pretty_otp4945_msg3, 
 
549
                                 pretty_otp4945_msg4,
 
550
                                 pretty_otp4945_msg5, 
 
551
                                 pretty_otp4945_msg6,
 
552
                                 pretty_otp4949_msg1, 
 
553
                                 pretty_otp4949_msg2,
 
554
                                 pretty_otp4949_msg3, 
 
555
                                 pretty_otp5042_msg1,
 
556
                                 pretty_otp5068_msg1, 
 
557
                                 pretty_otp5085_msg1,
 
558
                                 pretty_otp5085_msg2, 
 
559
                                 pretty_otp5085_msg3,
 
560
                                 pretty_otp5085_msg4, 
 
561
                                 pretty_otp5085_msg5,
 
562
                                 pretty_otp5085_msg6, 
 
563
                                 pretty_otp5085_msg7,
 
564
                                 pretty_otp5600_msg1, 
 
565
                                 pretty_otp5600_msg2,
 
566
                                 pretty_otp5601_msg1, 
 
567
                                 pretty_otp5793_msg01,
 
568
                                 pretty_otp5882_msg01, 
 
569
                                 pretty_otp6490_msg01,
 
570
                                 pretty_otp6490_msg02, 
 
571
                                 pretty_otp6490_msg03,
 
572
                                 pretty_otp6490_msg04, 
 
573
                                 pretty_otp6490_msg05,
 
574
                                 pretty_otp6490_msg06, 
 
575
                                 pretty_otp7671_msg01,
 
576
                                 pretty_otp7671_msg02, 
 
577
                                 pretty_otp7671_msg03,
 
578
                                 pretty_otp7671_msg04, 
 
579
                                 pretty_otp7671_msg05]},
 
580
     {flex_pretty_tickets,  [], flex_pretty_tickets_cases()}].
 
581
 
 
582
init_per_group(flex_pretty_tickets, Config) -> 
 
583
    flex_pretty_init(Config);
 
584
init_per_group(flex_compact_tickets, Config) -> 
 
585
    flex_compact_init(Config);
 
586
init_per_group(flex_compact, Config) -> 
 
587
    flex_compact_init(Config);
 
588
init_per_group(flex_pretty, Config) -> 
 
589
    flex_pretty_init(Config);
 
590
init_per_group(_GroupName, Config) ->
 
591
    Config.
 
592
 
 
593
end_per_group(flex_pretty_tickets, Config) -> 
 
594
    flex_pretty_finish(Config);
 
595
end_per_group(flex_compact_tickets, Config) -> 
 
596
    flex_compact_finish(Config);
 
597
end_per_group(flex_compact, Config) -> 
 
598
    flex_compact_finish(Config);
 
599
end_per_group(flex_pretty, Config) -> 
 
600
    flex_pretty_finish(Config);
 
601
end_per_group(_GroupName, Config) ->
 
602
    Config.
 
603
 
 
604
flex_pretty_cases() -> 
 
605
    [flex_pretty_test_msgs].
 
606
 
 
607
flex_compact_cases() -> 
 
608
    [flex_compact_test_msgs, flex_compact_dm_timers1,
 
609
     flex_compact_dm_timers2, flex_compact_dm_timers3,
 
610
     flex_compact_dm_timers4, flex_compact_dm_timers5,
 
611
     flex_compact_dm_timers6].
 
612
 
 
613
%% Support for per_bin was added to ASN.1 as of version
 
614
%% 1.3.2 (R8). And later merged into 1.3.1.3 (R7). These
 
615
%% releases are identical (as far as I know).
 
616
%% 
 
617
 
 
618
flex_compact_tickets_cases() -> 
 
619
    [flex_compact_otp7431_msg01a,
 
620
     flex_compact_otp7431_msg01b, flex_compact_otp7431_msg02,
 
621
     flex_compact_otp7431_msg03, flex_compact_otp7431_msg04,
 
622
     flex_compact_otp7431_msg05, flex_compact_otp7431_msg06,
 
623
     flex_compact_otp7431_msg07].
 
624
 
 
625
flex_pretty_tickets_cases() -> 
 
626
    [flex_pretty_otp5042_msg1, flex_pretty_otp5085_msg1,
 
627
     flex_pretty_otp5085_msg2, flex_pretty_otp5085_msg3,
 
628
     flex_pretty_otp5085_msg4, flex_pretty_otp5085_msg5,
 
629
     flex_pretty_otp5085_msg6, flex_pretty_otp5085_msg7,
 
630
     flex_pretty_otp5600_msg1, flex_pretty_otp5600_msg2,
 
631
     flex_pretty_otp5601_msg1, flex_pretty_otp5793_msg01,
 
632
     flex_pretty_otp7431_msg01, flex_pretty_otp7431_msg02,
 
633
     flex_pretty_otp7431_msg03, flex_pretty_otp7431_msg04,
 
634
     flex_pretty_otp7431_msg05, flex_pretty_otp7431_msg06,
 
635
     flex_pretty_otp7431_msg07].
 
636
 
455
637
%% ----
456
638
 
457
639
tickets() ->
470
652
                            Res ->
471
653
                                Res
472
654
                        end,
473
 
                    fin_per_testcase(Case, C),
 
655
                    end_per_testcase(Case, C),
474
656
                    Result
475
657
            end,
476
658
    process_flag(trap_exit, Flag),
477
659
    lists:map(Fun, Cases).
478
660
 
479
661
 
480
 
%% ----
481
 
 
482
 
t()     -> megaco_test_lib:t(?MODULE).
483
 
t(Case) -> megaco_test_lib:t({?MODULE, Case}).
484
 
 
485
 
init_per_testcase(Case, Config) ->
486
 
    %% CaseString = io_lib:format("~p", [Case]),
487
 
    C = 
488
 
        case lists:suffix("time_test", atom_to_list(Case)) of
489
 
            true ->
490
 
                [{tc_timeout, timer:minutes(10)}|Config];
491
 
            false ->
492
 
                put(verbosity,trc),
493
 
                Config
494
 
        end,
495
 
    megaco_test_lib:init_per_testcase(Case, C).
496
 
 
497
 
fin_per_testcase(Case, Config) ->
498
 
    erase(verbosity),
499
 
    megaco_test_lib:fin_per_testcase(Case, Config).
500
 
 
501
 
 
502
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
503
 
%% Top test case
504
 
 
505
 
all(suite) ->
506
 
    [
507
 
     text,
508
 
     binary,
509
 
     erl_dist,
510
 
     tickets
511
 
    ].
512
 
 
513
 
text(suite) ->
514
 
    [
515
 
     pretty,
516
 
     flex_pretty,
517
 
     compact,
518
 
     flex_compact
519
 
    ].
520
 
 
521
 
binary(suite) ->
522
 
    [
523
 
     bin,
524
 
     ber,
525
 
     ber_bin,
526
 
     per,
527
 
     per_bin
528
 
    ].
529
 
 
530
 
erl_dist(suite) ->
531
 
    [
532
 
     erl_dist_m
533
 
    ].
534
 
 
535
 
pretty(suite) ->
536
 
    [
537
 
     pretty_test_msgs
538
 
    ].
539
 
 
540
 
 
541
 
compact(suite) ->
542
 
    [
543
 
     compact_test_msgs
544
 
    ].
545
 
 
546
 
 
547
 
flex_pretty(suite) ->
548
 
    {req, [], 
549
 
     {conf, flex_pretty_init, flex_pretty_cases(), flex_pretty_finish}}.
550
 
 
551
 
flex_pretty_cases() ->
552
 
    [
553
 
     flex_pretty_test_msgs
554
 
    ].
555
 
 
556
 
 
557
 
flex_compact(suite) ->
558
 
    {req, [], 
559
 
     {conf, flex_compact_init, flex_compact_cases(), flex_compact_finish}}.
560
 
 
561
 
flex_compact_cases() ->
562
 
    [
563
 
     flex_compact_test_msgs,
564
 
 
565
 
     flex_compact_dm_timers1,
566
 
     flex_compact_dm_timers2,
567
 
     flex_compact_dm_timers3,
568
 
     flex_compact_dm_timers4,
569
 
     flex_compact_dm_timers5,
570
 
     flex_compact_dm_timers6
571
 
    ].
572
 
 
573
 
 
574
 
bin(suite) ->
575
 
    [
576
 
     bin_test_msgs
577
 
    ].
578
 
 
579
 
 
580
 
ber(suite) ->
581
 
    [
582
 
     ber_test_msgs
583
 
    ].
584
 
 
585
 
 
586
 
ber_bin(suite) ->
587
 
    [
588
 
     ber_bin_test_msgs
589
 
    ].
590
 
 
591
 
 
592
 
per(suite) ->
593
 
    [
594
 
     per_test_msgs
595
 
    ].
596
 
 
597
 
 
598
 
%% Support for per_bin was added to ASN.1 as of version
599
 
%% 1.3.2 (R8). And later merged into 1.3.1.3 (R7). These
600
 
%% releases are identical (as far as I know).
601
 
%% 
602
 
per_bin(suite) ->
603
 
    [
604
 
     per_bin_test_msgs
605
 
    ].
606
 
 
607
 
erl_dist_m(suite) ->
608
 
    [
609
 
     erl_dist_m_test_msgs
610
 
    ].
611
 
 
612
 
tickets(suite) ->
613
 
    [
614
 
     compact_tickets,
615
 
     pretty_tickets,
616
 
     flex_compact_tickets,
617
 
     flex_pretty_tickets
618
 
    ].
619
 
 
620
 
 
621
 
compact_tickets(suite) ->
622
 
    [
623
 
     compact_otp4011_msg1,
624
 
     compact_otp4011_msg2,
625
 
     compact_otp4011_msg3,
626
 
     compact_otp4013_msg1,
627
 
     compact_otp4085_msg1,
628
 
     compact_otp4085_msg2,
629
 
     compact_otp4280_msg1,
630
 
     compact_otp4299_msg1,
631
 
     compact_otp4299_msg2,
632
 
     compact_otp4359_msg1,
633
 
     compact_otp4920_msg0,
634
 
     compact_otp4920_msg1,
635
 
     compact_otp4920_msg2,
636
 
     compact_otp4920_msg3,
637
 
     compact_otp4920_msg4,
638
 
     compact_otp4920_msg5,
639
 
     compact_otp4920_msg6,
640
 
     compact_otp4920_msg7,
641
 
     compact_otp4920_msg8,
642
 
     compact_otp4920_msg9,
643
 
     compact_otp4920_msg10,
644
 
     compact_otp4920_msg11,
645
 
     compact_otp4920_msg12,
646
 
     compact_otp4920_msg20,
647
 
     compact_otp4920_msg21,
648
 
     compact_otp4920_msg22,
649
 
     compact_otp4920_msg23,
650
 
     compact_otp4920_msg24,
651
 
     compact_otp4920_msg25,
652
 
     compact_otp5186_msg01,
653
 
     compact_otp5186_msg02,
654
 
     compact_otp5186_msg03,
655
 
     compact_otp5186_msg04,
656
 
     compact_otp5186_msg05,
657
 
     compact_otp5186_msg06,
658
 
     compact_otp5793_msg01,
659
 
     compact_otp5993_msg01,
660
 
     compact_otp5993_msg02,
661
 
     compact_otp5993_msg03,
662
 
     compact_otp6017_msg01,
663
 
     compact_otp6017_msg02,
664
 
     compact_otp6017_msg03
665
 
    ].
666
 
 
667
 
flex_compact_tickets(suite) ->
668
 
    {req, [], 
669
 
     {conf, flex_compact_init, flex_compact_tickets_cases(), 
670
 
      flex_compact_finish}}.
671
 
 
672
 
flex_compact_tickets_cases() ->
673
 
    [
674
 
     flex_compact_otp7431_msg01a,
675
 
     flex_compact_otp7431_msg01b,
676
 
     flex_compact_otp7431_msg02,
677
 
     flex_compact_otp7431_msg03, 
678
 
     flex_compact_otp7431_msg04,
679
 
     flex_compact_otp7431_msg05,
680
 
     flex_compact_otp7431_msg06,
681
 
     flex_compact_otp7431_msg07
682
 
    ].
683
 
 
684
 
 
685
 
pretty_tickets(suite) ->
686
 
    [
687
 
     pretty_otp4632_msg1,
688
 
     pretty_otp4632_msg2,
689
 
     pretty_otp4632_msg3,
690
 
     pretty_otp4632_msg4,
691
 
     pretty_otp4710_msg1,
692
 
     pretty_otp4710_msg2,
693
 
     pretty_otp4945_msg1,
694
 
     pretty_otp4945_msg2,
695
 
     pretty_otp4945_msg3,
696
 
     pretty_otp4945_msg4,
697
 
     pretty_otp4945_msg5,
698
 
     pretty_otp4945_msg6,
699
 
     pretty_otp4949_msg1,
700
 
     pretty_otp4949_msg2,
701
 
     pretty_otp4949_msg3,
702
 
     pretty_otp5042_msg1,
703
 
     pretty_otp5068_msg1,
704
 
     pretty_otp5085_msg1,
705
 
     pretty_otp5085_msg2,
706
 
     pretty_otp5085_msg3,
707
 
     pretty_otp5085_msg4,
708
 
     pretty_otp5085_msg5,
709
 
     pretty_otp5085_msg6,
710
 
     pretty_otp5085_msg7,
711
 
     pretty_otp5600_msg1,
712
 
     pretty_otp5600_msg2,
713
 
     pretty_otp5601_msg1,
714
 
     pretty_otp5793_msg01,
715
 
     pretty_otp5882_msg01,
716
 
     pretty_otp6490_msg01,
717
 
     pretty_otp6490_msg02,
718
 
     pretty_otp6490_msg03,
719
 
     pretty_otp6490_msg04,
720
 
     pretty_otp6490_msg05,
721
 
     pretty_otp6490_msg06,
722
 
     pretty_otp7671_msg01,
723
 
     pretty_otp7671_msg02,
724
 
     pretty_otp7671_msg03,
725
 
     pretty_otp7671_msg04,
726
 
     pretty_otp7671_msg05
727
 
    ].
728
 
 
729
 
flex_pretty_tickets(suite) ->
730
 
    {req, [], 
731
 
     {conf, flex_pretty_init, flex_pretty_tickets_cases(), 
732
 
      flex_pretty_finish}}.
733
 
 
734
 
flex_pretty_tickets_cases() ->
735
 
    [
736
 
     flex_pretty_otp5042_msg1,
737
 
     flex_pretty_otp5085_msg1,
738
 
     flex_pretty_otp5085_msg2,
739
 
     flex_pretty_otp5085_msg3,
740
 
     flex_pretty_otp5085_msg4,
741
 
     flex_pretty_otp5085_msg5,
742
 
     flex_pretty_otp5085_msg6,
743
 
     flex_pretty_otp5085_msg7,
744
 
     flex_pretty_otp5600_msg1,
745
 
     flex_pretty_otp5600_msg2,
746
 
     flex_pretty_otp5601_msg1,
747
 
     flex_pretty_otp5793_msg01,
748
 
     flex_pretty_otp7431_msg01,
749
 
     flex_pretty_otp7431_msg02,
750
 
     flex_pretty_otp7431_msg03, 
751
 
     flex_pretty_otp7431_msg04,
752
 
     flex_pretty_otp7431_msg05,
753
 
     flex_pretty_otp7431_msg06,
754
 
     flex_pretty_otp7431_msg07
755
 
    ].
756
 
 
757
 
 
758
662
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
759
663
 
760
664
pretty_test_msgs(suite) ->