secureswitools/swisistools/test/tdumpsis/package/condtestelseif.pkg
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 ;
       
     2 ; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 ; All rights reserved.
       
     4 ; This component and the accompanying materials are made available
       
     5 ; under the terms of the License "Eclipse Public License v1.0"
       
     6 ; which accompanies this distribution, and is available
       
     7 ; at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 ;
       
     9 ; Initial Contributors:
       
    10 ; Nokia Corporation - initial contribution.
       
    11 ;
       
    12 ; Contributors:
       
    13 ;
       
    14 ; Description:
       
    15 ;
       
    16 
       
    17 &EN
       
    18 
       
    19 #{"testexpressions_elseif"}, (0x811111fc), 1, 2, 3, TYPE=SA
       
    20 %{"Vendor"}
       
    21 :"Unique Vendor Name"
       
    22 
       
    23 !({"Option1"}, {"Option2"}, {"Option3"})
       
    24 
       
    25 IF (option3)=(1)
       
    26 IF (option2)=(1)
       
    27 IF (option1)=(1)
       
    28 
       
    29 "data\CondTestElseif\file0"-"!:\Documents\InstTest\option321.txt", FF
       
    30 ELSEIF (option1)=(0)
       
    31 
       
    32 "data\CondTestElseif\file1"-"!:\Documents\InstTest\option32-.txt", FF
       
    33 ENDIF
       
    34 ELSEIF (option2)=(0)
       
    35 IF (option1)=(1)
       
    36 
       
    37 "data\CondTestElseif\file2"-"!:\Documents\InstTest\option3-1.txt", FF
       
    38 ELSEIF (option1)=(0)
       
    39 
       
    40 "data\CondTestElseif\file3"-"!:\Documents\InstTest\option3--.txt", FF
       
    41 ENDIF
       
    42 ENDIF
       
    43 ELSEIF (option3)=(0)
       
    44 IF (option2)=(1)
       
    45 IF (option1)=(1)
       
    46 
       
    47 "data\CondTestElseif\file4"-"!:\Documents\InstTest\option-21.txt", FF
       
    48 ELSEIF (option3)=(0)
       
    49 
       
    50 "data\CondTestElseif\file5"-"!:\Documents\InstTest\option-2-.txt", FF
       
    51 ENDIF
       
    52 ELSEIF (option2)=(0)
       
    53 IF (option1)=(1)
       
    54 
       
    55 "data\CondTestElseif\file6"-"!:\Documents\InstTest\option--1.txt", FF
       
    56 ELSEIF (option1)=(0)
       
    57 
       
    58 "data\CondTestElseif\file7"-"!:\Documents\InstTest\option---.txt", FF
       
    59 ENDIF
       
    60 ENDIF
       
    61 ENDIF
       
    62 IF (option1)=(7)
       
    63 
       
    64 "data\CondTestElseif\file8"-"!:\Documents\InstTest\elseif7.txt", FF
       
    65 ELSEIF (option1)=(6)
       
    66 
       
    67 "data\CondTestElseif\file9"-"!:\Documents\InstTest\elseif6.txt", FF
       
    68 ELSEIF (option1)=(5)
       
    69 
       
    70 "data\CondTestElseif\file10"-"!:\Documents\InstTest\elseif5.txt", FF
       
    71 ELSEIF (option1)=(4)
       
    72 
       
    73 "data\CondTestElseif\file11"-"!:\Documents\InstTest\elseif4.txt", FF
       
    74 ELSEIF (option1)=(3)
       
    75 
       
    76 "data\CondTestElseif\file12"-"!:\Documents\InstTest\elseif3.txt", FF
       
    77 ELSEIF NOT(0)
       
    78 IF (option1)=(2)
       
    79 
       
    80 "data\CondTestElseif\file13"-"!:\Documents\InstTest\elseif2.txt", FF
       
    81 ELSEIF (option1)=(1)
       
    82 
       
    83 "data\CondTestElseif\file14"-"!:\Documents\InstTest\elseif1.txt", FF
       
    84 ELSEIF NOT(0)
       
    85 
       
    86 "data\CondTestElseif\file15"-"!:\Documents\InstTest\elseif-.txt", FF
       
    87 ENDIF
       
    88 ENDIF