fontservices/fontstore/group/FntstoreTest.iby
changeset 0 1fb32624e06b
child 5 e96e8a131979
child 21 f2f7b3284356
equal deleted inserted replaced
-1:000000000000 0:1fb32624e06b
       
     1 /*
       
     2 * Copyright (c) 2001-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 "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 
       
    18 
       
    19 #ifndef __FNTSTORETEST_IBY__
       
    20 #define __FNTSTORETEST_IBY__
       
    21 
       
    22 #include <graphics_testharness.iby>
       
    23 #include <dummyfonts.iby>
       
    24 #ifdef GRAPHICS_EXCLUDE_FREETYPE
       
    25 #include <ityperast.iby>
       
    26 #endif
       
    27 
       
    28 // batch file that runs all automatic fntstore tests
       
    29 data=DATAZ_\fntstoretest\fntstoretest_run.bat		\fntstoretest_run.bat
       
    30 data=DATAZ_\fntstoretest\fntstoretest.bat			\fntstoretest.bat
       
    31 
       
    32 //script files
       
    33 data=DATAZ_\fntstoretest\fntstoretest_T_All.script				\fntstoretest\fntstoretest_T_All.script
       
    34 data=DATAZ_\fntstoretest\fntstoretest_T_Fnt.script						\fntstoretest\fntstoretest_T_Fnt.script
       
    35 data=DATAZ_\fntstoretest\fntstoretest_T_Cache.script					\fntstoretest\fntstoretest_T_Cache.script
       
    36 data=DATAZ_\fntstoretest\fntstoretest_T_FntMem.script					\fntstoretest\fntstoretest_T_FntMem.script
       
    37 data=DATAZ_\fntstoretest\fntstoretest_T_FontBitmap.script				\fntstoretest\fntstoretest_T_FontBitmap.script
       
    38 data=DATAZ_\fntstoretest\fntstoretest_T_FsOpen.script					\fntstoretest\fntstoretest_T_FsOpen.script
       
    39 data=DATAZ_\fntstoretest\fntstoretest_T_GlyphTreeDel.script				\fntstoretest\fntstoretest_T_GlyphTreeDel.script
       
    40 data=DATAZ_\fntstoretest\fntstoretest_T_MatchFonts.script				\fntstoretest\fntstoretest_T_MatchFonts.script
       
    41 data=DATAZ_\fntstoretest\fntstoretest_T_OpenFontTypes.script			\fntstoretest\fntstoretest_T_OpenFontTypes.script
       
    42 data=DATAZ_\fntstoretest\fntstoretest_T_FontMetrics.script				\fntstoretest\fntstoretest_T_FontMetrics.script
       
    43 data=DATAZ_\fntstoretest\fntstoretest_T_GetNearestFont.script			\fntstoretest\fntstoretest_T_GetNearestFont.script
       
    44 data=DATAZ_\fntstoretest\fntstoretest_t_getnearestfontcapability.script	\fntstoretest\fntstoretest_t_getnearestfontcapability.script
       
    45 data=DATAZ_\fntstoretest\fntstoretest_T_CorruptFonts.script				\fntstoretest\fntstoretest_T_CorruptFonts.script
       
    46 data=DATAZ_\fntstoretest\fntstoretest_T_ShaperCache.script				\fntstoretest\fntstoretest_T_ShaperCache.script
       
    47 data=DATAZ_\fntstoretest\fntstoretest_T_LinkedFonts.script				\fntstoretest\fntstoretest_T_LinkedFonts.script
       
    48 data=DATAZ_\fntstoretest\fntstoretest_t_cachedeletion.script			\fntstoretest\fntstoretest_t_cachedeletion.script
       
    49 data=DATAZ_\fntstoretest\fntstoretest_t_setdefaulttypefacename.script	\fntstoretest\fntstoretest_t_setdefaulttypefacename.script
       
    50 data=DATAZ_\fntstoretest\fntstoretest_T_LinkedFontUpdateInitial.script	\fntstoretest\fntstoretest_T_LinkedFontUpdateInitial.script
       
    51 data=DATAZ_\fntstoretest\fntstoretest_T_LinkedFontUpdateStage1.script	\fntstoretest\fntstoretest_T_LinkedFontUpdateStage1.script
       
    52 data=DATAZ_\fntstoretest\fntstoretest_T_LinkedFontUpdateStage2.script	\fntstoretest\fntstoretest_T_LinkedFontUpdateStage2.script
       
    53 
       
    54 // FntStore test code - TFntStoreServer.exe needs to be copied into \sys\bin\ and set as data so it will be copied to the c: drive and we can change the capabilities of the .exe
       
    55 data=ABI_DIR\DEBUG_DIR\TFntStoreServer.exe    \sys\bin\TFntStoreServer.exe
       
    56 //file=ABI_DIR\DEBUG_DIR\TFntStoreServer.exe    \sys\bin\TFntStoreServer.exe
       
    57 file=ABI_DIR\DEBUG_DIR\tcachedeletionprocess.exe    \sys\bin\tcachedeletionprocess.exe
       
    58 
       
    59 // 7650 font which should be compatible with new font compression
       
    60 
       
    61 ROM_IMAGE[0] {
       
    62 data=ZRESOURCE\Fonts\ceurope.gdr         Resource\Fonts\ceurope.gdr
       
    63 }
       
    64 
       
    65 // font used for testing font loading from C: drive
       
    66 ROM_IMAGE[0] {
       
    67 data=ZSYSTEM\test\TSection.gdr         Test\TSection.gdr
       
    68 }
       
    69 
       
    70 REM near-duplicate fonts for test  CTFntMem::TestDuplicateBitmapFontFileEntriesL
       
    71 ROM_IMAGE[0] {
       
    72 data=DATAZ_\PlatTest\Graphics\TestData\uniquified_fonts\XXeuro.gdr	\PlatTest\Graphics\TestData\uniquified_fonts\XXeuro.gdr
       
    73 }
       
    74 
       
    75 ROM_IMAGE[0] {
       
    76 data=DATAZ_\PlatTest\Graphics\TestData\uniquified_fonts\YYeuro.gdr	\PlatTest\Graphics\TestData\uniquified_fonts\YYeuro.gdr
       
    77 }
       
    78 
       
    79 
       
    80 
       
    81 REM corrupt font files, these get copied / renamed on to the C: drive
       
    82 ROM_IMAGE[0] {
       
    83 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_gdr_fonts\bad_streamid \PlatTest\Graphics\TestData\corrupt_gdr_fonts\bad_streamid
       
    84 
       
    85 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_entrysel \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_entrysel
       
    86 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_length \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_length
       
    87 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_numtables \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_numtables
       
    88 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_offset \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_offset
       
    89 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_rangeshift \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_rangeshift
       
    90 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_searchrange \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_searchrange
       
    91 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_tag_order \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_tag_order
       
    92 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\cvt_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\cvt_len
       
    93 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\fpgm_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\fpgm_len
       
    94 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\glyf_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\glyf_len
       
    95 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\head_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\head_len
       
    96 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\hhea_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\hhea_len
       
    97 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\hmtx_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\hmtx_len
       
    98 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\loca_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\loca_len
       
    99 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\maxp_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\maxp_len
       
   100 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\name_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\name_len
       
   101 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\post_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\post_len
       
   102 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\prep_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\prep_len
       
   103 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\cmap_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\cmap_len
       
   104 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\gdef_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\gdef_len
       
   105 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\gpos_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\gpos_len
       
   106 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\gsub_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\gsub_len
       
   107 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\os2_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\os2_len
       
   108 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\gasp_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\gasp_len
       
   109 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\fftm_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\fftm_len
       
   110 data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\wrong_offset \PlatTest\Graphics\TestData\corrupt_ttf_fonts\wrong_offset
       
   111 }
       
   112 
       
   113 REM file of hash values for linked fonts testing
       
   114 #ifndef GRAPHICS_EXCLUDE_FREETYPE
       
   115 data=DATAZ_\fntstoretest\tlinkedfontscomparison_armv5.ini \fntstoretest\tlinkedfontscomparison.ini
       
   116 #else
       
   117 data=DATAZ_\fntstoretest\tlinkedfontscomparison_armv5_itype.ini \fntstoretest\tlinkedfontscomparison.ini
       
   118 #endif
       
   119 
       
   120 data=DATAZ_\fntstoretest\tlinkedfontscapability.ini \fntstoretest\tlinkedfontscapability.ini
       
   121 data=DATAZ_\fntstoretest\tsetdefaulttypefacename.ini \fntstoretest\tsetdefaulttypefacename.ini
       
   122 
       
   123 REM Executables for T_Fnt.cpp Invalid font fallback tests
       
   124 
       
   125 file=ABI_DIR\BUILD_DIR\T_WriteInvalidFontFile.exe 	sys/bin/T_WriteInvalidFontFile.exe
       
   126 file=ABI_DIR\BUILD_DIR\T_RemoveInvalidFontFile.exe 	sys/bin/T_RemoveInvalidFontFile.exe
       
   127 
       
   128 
       
   129 #endif	//__FNTSTORETEST_IBY__