cryptomgmtlibs/securitytestfw/test/autotesting/runjavamidletinstaller_9.4.bat
changeset 8 35751d3474b7
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
       
     1 @rem
       
     2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 @rem All rights reserved.
       
     4 @rem This component and the accompanying materials are made available
       
     5 @rem under the terms of the License "Eclipse Public License v1.0"
       
     6 @rem which accompanies this distribution, and is available
       
     7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 @rem
       
     9 @rem Initial Contributors:
       
    10 @rem Nokia Corporation - initial contribution.
       
    11 @rem
       
    12 @rem Contributors:
       
    13 @rem
       
    14 @rem Description: 
       
    15 @rem
       
    16 copy /s z:\tJarDownloader\ c:\tJarDownloader\
       
    17 copy z:\certclients.dat c:\system\data\certclients.dat
       
    18 copy z:\cacerts.dat c:\system\data\cacerts.dat
       
    19 attrib c:\system\data\cacerts.dat -r
       
    20 attrib c:\system\data\certclients.dat -r
       
    21 
       
    22 rem run tJarDownloader tests
       
    23 tJarDownloader c:\tJarDownloader\Scripts\script1.txt c:\testresults\tjardownloader.log
       
    24 move c:\testresults\tjardownloader.log e:\testresults\tjardownloader.log
       
    25 del /s c:\tJarDownloader\
       
    26 del /s c:\tjartest\
       
    27 del /s c:\private\200008d1\
       
    28 
       
    29 rem ITHARNESSMIDP
       
    30 rem copy test data
       
    31 copy /s z:\midpfiles\ c:\midpfiles\
       
    32 copy /s z:\itharnessmidp\ c:\itharnessmidp\
       
    33 copy z:\javatest.txt c:\javatest.txt
       
    34 copy z:\javatest2.txt c:\javatest2.txt
       
    35 copy z:\javatest3.txt c:\javatest3.txt
       
    36 copy z:\leavetest.txt c:\leavetest.txt
       
    37 copy z:\otatests.txt c:\otatests.txt
       
    38 copy z:\javaiaptest.txt c:\javaiaptest.txt
       
    39 attrib c:\system\data\cacerts.dat -r
       
    40 attrib c:\system\data\certclients.dat -r
       
    41 copy z:\cacerts.dat c:\system\data\cacerts.dat
       
    42 copy z:\certclients.dat c:\system\data\certclients.dat
       
    43 attrib c:\system\data\cacerts.dat -r
       
    44 attrib c:\system\data\certclients.dat -r
       
    45 
       
    46 
       
    47 rem run ITHARNESSMIDP
       
    48 itharnessmidp c:\javatest.txt c:\testresults\java1.txt
       
    49 
       
    50 rem copy test results to mmc card
       
    51 move c:\testresults\java1.txt e:\testresults\java1.txt
       
    52 
       
    53 del c:\sys\install\integrityservices\E130772A2A09A5.drv
       
    54 
       
    55 rem run ITHARNESSMIDP
       
    56 itharnessmidp c:\javatest2.txt c:\testresults\java2.txt
       
    57 
       
    58 rem copy test results to mmc card
       
    59 move c:\testresults\java2.txt e:\testresults\java2.txt
       
    60 
       
    61 
       
    62 rem run ITHARNESSMIDP
       
    63 itharnessmidp c:\javatest3.txt c:\testresults\java3.txt
       
    64 
       
    65 rem copy test results to mmc card
       
    66 move c:\testresults\java3.txt e:\testresults\java3.txt
       
    67 
       
    68 rem run ITHARNESSMIDP
       
    69 itharnessmidp c:\leavetest.txt c:\testresults\leavetest.txt
       
    70 
       
    71 rem copy test results to mmc card
       
    72 move c:\testresults\leavetest.txt e:\testresults\leavetest.txt
       
    73 
       
    74 rem run ITHARNESSMIDP
       
    75 copy z:\certclients.dat c:\system\data\certclients.dat
       
    76 copy z:\cacerts.dat c:\system\data\cacerts.dat
       
    77 attrib c:\system\data\cacerts.dat -r
       
    78 attrib c:\system\data\certclients.dat -r
       
    79 itharnessmidp c:\otatests.txt c:\testresults\java4.txt
       
    80 
       
    81 rem copy test results to mmc card
       
    82 move c:\testresults\java4.txt e:\testresults\java4.txt
       
    83 
       
    84 rem run ITHARNESSMIDP
       
    85 rem copy z:\prompt.cfg c:\prompt.cfg
       
    86 rem ced -i c:\prompt.cfg
       
    87 itharnessmidp c:\javaiaptest.txt c:\testresults\java5.txt
       
    88 rem ced -i c:\auto.cfg
       
    89 
       
    90 rem copy test results to mmc card
       
    91 move c:\testresults\java5.txt e:\testresults\java5.txt
       
    92 
       
    93 rem delete midpfiles
       
    94 del /s c:\midpfiles\
       
    95 del c:\javatest.txt
       
    96 del c:\javatest2.txt
       
    97 del c:\javatest3.txt
       
    98 del c:\otatests.txt
       
    99 del c:\javaiaptest.txt
       
   100 del /s c:\private\200008d1\
       
   101 del /s c:\system\install\
       
   102 
       
   103 rem tjavafile
       
   104 rem copy scripts and data
       
   105 copy /s z:\tJavaFile\scripts\ c:\tJavaFile\scripts\
       
   106 copy /s z:\tJavaFile\data\ c:\tJavaFile\data\
       
   107 
       
   108 rem run tjavafile tests
       
   109 tJavaFile c:\tJavaFile\scripts\midpjartest.txt c:\testresults\tJavaFilejar.log
       
   110 tJavaFile c:\tJavaFile\scripts\midpjadtest.txt c:\testresults\tJavaFilejad.log
       
   111 tJavaFile c:\tJavaFile\scripts\attributestest.txt c:\testresults\tJavaFileattributes.log
       
   112 
       
   113 rem copy results to mmc card
       
   114 move c:\testresults\tJavaFilejar.log e:\testresults\tJavaFilejar.log
       
   115 move c:\testresults\tJavaFilejad.log e:\testresults\tJavaFilejad.log
       
   116 move c:\testresults\tJavaFileattributes.log e:\testresults\tJavaFileattributes.log
       
   117 
       
   118 
       
   119 rem delete tJavaFile stuff
       
   120 del /s c:\tJavaFile\
       
   121 
       
   122 REM tmidletuaheaderfilter tests - uses testexecute framework
       
   123 copy /s z:\tmidletuaheaderfilter\ c:\tmidletuaheaderfilter\
       
   124 testexecute c:\tmidletuaheaderfilter\tmidletuaheaderfilter.script
       
   125 move c:\logs\testexecute\tmidletuaheaderfilter.htm e:\testresults\tmidletuaheaderfilter.htm
       
   126 del /s c:\tmidletuaheaderfilter\
       
   127 
       
   128 rem tjavahelper
       
   129 rem copy scripts
       
   130 copy /s z:\tJavaHelper\ c:\tJavaHelper\
       
   131 copy /s z:\rta\ c:\rta\
       
   132 copy /s z:\drmdata\ c:\drmdata\
       
   133 copy /s z:\midpfiles\ c:\midpfiles\
       
   134 
       
   135 rem copy rockz.jar which is not duplicated in the ROM but also used for the tJavaInstaller test
       
   136 copy z:\tJavaFile\Data\Invalid\rockz.jar c:\midpfiles\rockz.jar
       
   137 rem copy invalid midlet data
       
   138 rem copy  valid midlet data
       
   139 md c:\tJavaFile
       
   140 md c:\tJavaFile\data
       
   141 md c:\tJavaFile\data\Invalid
       
   142 md c:\tJavaFile\data\valid
       
   143 copy z:\tJavaFile\data\Invalid\kfirewithoutmidletname.jad c:\tJavaFile\data\Invalid\kfirewithoutmidletname.jad
       
   144 copy z:\tJavaFile\data\Invalid\kfirewithoutmidletname.jar c:\tJavaFile\data\Invalid\kfirewithoutmidletname.jar
       
   145 copy z:\tJavaFile\data\Invalid\kfirewithoutclassname.jad c:\tJavaFile\data\Invalid\kfirewithoutclassname.jad
       
   146 copy z:\tJavaFile\data\Invalid\kfirewithoutclassname.jar c:\tJavaFile\data\Invalid\kfirewithoutclassname.jar
       
   147 copy z:\tjavaFile\data\invalid\LongUrlinstallnotify.jad c:\tjavaFile\data\invalid\LongUrlinstallnotify.jad
       
   148 
       
   149 copy z:\tJavaFile\data\invalid\kfirewithicon2_nospaceaftercolon.jar c:\tJavaFile\data\invalid\kfirewithicon2_nospaceaftercolon.jar
       
   150 copy z:\tJavaFile\data\invalid\kfirewithicon2_invalidcharaftercolon.jar c:\tJavaFile\data\invalid\kfirewithicon2_invalidcharaftercolon.jar
       
   151 copy z:\tJavaFile\data\invalid\kfirewithicon2_novendorval.jar c:\tJavaFile\data\invalid\kfirewithicon2_novendorval.jar
       
   152 copy z:\tJavaFile\data\invalid\kfirewithicon2_noversionval.jar c:\tJavaFile\data\invalid\kfirewithicon2_noversionval.jar
       
   153 copy z:\tJavaFile\data\invalid\kfirewithicon2_nonameval.jar c:\tJavaFile\data\invalid\kfirewithicon2_nonameval.jar
       
   154 
       
   155 copy z:\tJavaFile\data\valid\kfirewithicon2_nodescriptionval.jar c:\tJavaFile\data\valid\kfirewithicon2_nodescriptionval.jar
       
   156 copy z:\tJavaFile\data\valid\kfirewithicon2_noinfourlval.jar c:\tJavaFile\data\valid\kfirewithicon2_noinfourlval.jar
       
   157 copy z:\tJavaFile\data\valid\nojarvalue.jad c:\tJavaFile\data\valid\nojarvalue.jad
       
   158 copy z:\tJavaFile\data\valid\nojarvalue.jar c:\tJavaFile\data\valid\nojarvalue.jar
       
   159 
       
   160 rem copy ocsp certs
       
   161 copy z:\cacerts.dat c:\system\data\cacerts.dat
       
   162 copy z:\certclients.dat c:\system\data\certclients.dat
       
   163 attrib c:\system\data\cacerts.dat -r
       
   164 attrib c:\system\data\certclients.dat -r
       
   165 
       
   166 rem copy files for PDEF099222
       
   167 md c:\private\102033E6
       
   168 md c:\private\102033E6\MIDlets
       
   169 md c:\private\102033E6\MIDlets\[1010fcaf]
       
   170 copy z:\tJavaFile\data\valid\mazegame.jar c:\private\102033E6\MIDlets\[1010fcaf]\mazegame.jar
       
   171 copy z:\tJavaFile\data\valid\PDEF099222_uids c:\private\102033E6\MIDlets\[1010fcaf]\uids
       
   172 md c:\system\install\
       
   173 md c:\system\install\registry
       
   174 copy z:\tJavaFile\data\valid\PDEF099222_1010FCAF.reg c:\system\install\registry\1010FCAF.reg
       
   175 
       
   176 rem run tjavahelper tests
       
   177 tJavaHelper c:\tJavaHelper\Scripts\MIDPLaunchInfoTest.txt c:\testresults\MIDPLaunchInfoTest.log
       
   178 tJavaHelper c:\tJavaHelper\Scripts\tJavaInstaller.txt c:\testresults\tJavaInstaller.log
       
   179 tJavaHelper c:\tJavaHelper\Scripts\tJavaInstallerocsp.txt c:\testresults\tJavaInstallerocsp.log
       
   180 tJavaHelper c:\tJavaHelper\Scripts\tjmiocsphttpfilter.txt c:\testresults\tjmiocsphttpfilter.log
       
   181 tJavaHelper c:\tJavaHelper\Scripts\tjavarunoninstall.txt c:\testresults\tjavarunoninstall.log
       
   182 tJavaHelper c:\tJavaHelper\Scripts\tJavaDRM.txt c:\testresults\tJavaDRM.log
       
   183 
       
   184 rem NQP tests
       
   185 tJavaHelper c:\tJavaHelper\Scripts\tjmiotaex.txt c:\testresults\tjmiotaex.log
       
   186 
       
   187 rem uncomment the below line once the 'DEF100676: OOM tests failing in JMI component' is fixed
       
   188 rem tJavaHelper c:\tJavaHelper\Scripts\tjmioom.txt c:\testresults\tjmioom.log
       
   189 
       
   190 rem copy results to mmc card
       
   191 move c:\testresults\MIDPLaunchInfoTest.log e:\testresults\MIDPLaunchInfoTest.log
       
   192 move c:\testresults\tJavaInstaller.log e:\testresults\tJavaInstaller.log
       
   193 move c:\testresults\tJavaInstallerocsp.log e:\testresults\tJavaInstallerocsp.log
       
   194 move c:\testresults\tjmiocsphttpfilter.log e:\testresults\tjmiocsphttpfilter.log
       
   195 move c:\testresults\tjavarunoninstall.log e:\testresults\tjavarunoninstall.log
       
   196 move c:\testresults\tJavaDRM.log e:\testresults\tJavaDRM.log
       
   197 
       
   198 rem NQP tests
       
   199 move c:\testresults\tjmiotaex.log e:\testresults\tjmiotaex.log
       
   200 
       
   201 rem uncomment the below line once the 'DEF100676: OOM tests failing in JMI component' is fixed
       
   202 rem move c:\testresults\tjmioom.log e:\testresults\tjmioom.log
       
   203 
       
   204 del /s c:\midpfiles\
       
   205 del /s c:\itharnessmidp\
       
   206 del /s c:\tJavaFile\
       
   207 del /s c:\sys\bin\
       
   208 del /s c:\tjavahelper\
       
   209 del /s c:\system\install\
       
   210 del /s c:\private\00000000\
       
   211 del /s c:\private\10205ea5\
       
   212 del /s c:\private\102033E6\MIDlets\[1010fcaf]\
       
   213  
       
   214 rem tjavaregistry
       
   215 copy /s z:\tJavaRegistry\ c:\tJavaRegistry\
       
   216 tJavaRegistry c:\tJavaRegistry\scripts\script1.txt c:\testresults\tJavaRegistry.log
       
   217 move c:\testresults\tJavaRegistry.log e:\testresults\tJavaRegistry.log
       
   218 del /s c:\tJavaRegistry\
       
   219 
       
   220 attrib c:\*.* -r
       
   221 del c:\*.*
       
   222 
       
   223 REM TJAVAHELPERSERVER tests - uses testexecute framework
       
   224 copy /s z:\private\10204805\ c:\private\10204805\
       
   225 testexecute c:\private\10204805\scripts\tjavahelperserver.script
       
   226 move c:\logs\testexecute\tjavahelperserver.htm e:\testresults\tjavahelperserver.htm
       
   227 del /s c:\private\10204805\
       
   228 del /s c:\sys\bin\
       
   229 
       
   230 REM Run recognizer tests
       
   231 md c:\trecog
       
   232 copy /s z:\trecog\* c:\trecog
       
   233 
       
   234 testexecute z:\trecog\trecogjava.script
       
   235 move c:\logs\testexecute\trecogjava.htm e:\testresults\trecogjava.htm
       
   236 
       
   237 del c:\trecog\*.*