secureswitools/swisistools/test/tinterpretsisinteg/testdatal001/functions.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 ;Languages
       
    18 &EN
       
    19 
       
    20 ;Header
       
    21 #{"expression func"}, (0x11113012), 1, 2, 4,TYPE=SA
       
    22 
       
    23 %{"expression func"}
       
    24 :"Unique Vendor Name"
       
    25 
       
    26 ;Dependencies
       
    27 (0x11113011), 1, 2, 4, {"base package"}
       
    28 
       
    29 IF package(0x11113011)
       
    30    "\epoc32\winscw\c\tswi\tinterpretsisinteg\data\resm1.txt"-"c:\test_package_func.txt";
       
    31 ELSE
       
    32    "\epoc32\winscw\c\tswi\tinterpretsisinteg\data\resm1.txt"-"c:\test_package_func_false.txt";
       
    33 ENDIF
       
    34 
       
    35 if exists("c:\test_expression.txt")  
       
    36    "\epoc32\winscw\c\tswi\tinterpretsisinteg\data\resm1.txt"-"c:\test_exists_func.txt";
       
    37 endif
       
    38 
       
    39 if (appprop(0x11113011,1) = 1)
       
    40    "\epoc32\winscw\c\tswi\tinterpretsisinteg\data\resm1.txt"-"c:\test_approp_func_false.txt";
       
    41 elseif (appprop(0x11113011,1) = 2)
       
    42    "\epoc32\winscw\c\tswi\tinterpretsisinteg\data\resm1.txt"-"c:\test_approp_func_true.txt"; 
       
    43 endif
       
    44 
       
    45 IF NOT (package(0x12121212))
       
    46    "\epoc32\winscw\c\tswi\tinterpretsisinteg\data\resm1.txt"-"c:\test_package_func_not_true.txt";
       
    47 ENDIF
       
    48