os/textandloc/fontservices/fontstore/group/FntstoreTest.iby
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
/*
sl@0
     2
* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     3
* All rights reserved.
sl@0
     4
* This component and the accompanying materials are made available
sl@0
     5
* under the terms of "Eclipse Public License v1.0"
sl@0
     6
* which accompanies this distribution, and is available
sl@0
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
*
sl@0
     9
* Initial Contributors:
sl@0
    10
* Nokia Corporation - initial contribution.
sl@0
    11
*
sl@0
    12
* Contributors:
sl@0
    13
*
sl@0
    14
* Description: 
sl@0
    15
*
sl@0
    16
*/
sl@0
    17
sl@0
    18
sl@0
    19
#ifndef __FNTSTORETEST_IBY__
sl@0
    20
#define __FNTSTORETEST_IBY__
sl@0
    21
sl@0
    22
#include <graphics_testharness.iby>
sl@0
    23
#include <dummyfonts.iby>
sl@0
    24
#ifdef GRAPHICS_EXCLUDE_FREETYPE
sl@0
    25
#include <ityperast.iby>
sl@0
    26
#endif
sl@0
    27
sl@0
    28
// batch file that runs all automatic fntstore tests
sl@0
    29
data=DATAZ_\fntstoretest\fntstoretest_run.bat		\fntstoretest_run.bat
sl@0
    30
data=DATAZ_\fntstoretest\fntstoretest.bat			\fntstoretest.bat
sl@0
    31
sl@0
    32
//script files
sl@0
    33
data=DATAZ_\fntstoretest\fntstoretest_T_All.script				\fntstoretest\fntstoretest_T_All.script
sl@0
    34
data=DATAZ_\fntstoretest\fntstoretest_T_Fnt.script						\fntstoretest\fntstoretest_T_Fnt.script
sl@0
    35
data=DATAZ_\fntstoretest\fntstoretest_T_FntMem.script					\fntstoretest\fntstoretest_T_FntMem.script
sl@0
    36
data=DATAZ_\fntstoretest\fntstoretest_T_FontBitmap.script				\fntstoretest\fntstoretest_T_FontBitmap.script
sl@0
    37
data=DATAZ_\fntstoretest\fntstoretest_T_FsOpen.script					\fntstoretest\fntstoretest_T_FsOpen.script
sl@0
    38
data=DATAZ_\fntstoretest\fntstoretest_T_GlyphTreeDel.script				\fntstoretest\fntstoretest_T_GlyphTreeDel.script
sl@0
    39
data=DATAZ_\fntstoretest\fntstoretest_T_MatchFonts.script				\fntstoretest\fntstoretest_T_MatchFonts.script
sl@0
    40
data=DATAZ_\fntstoretest\fntstoretest_T_OpenFontTypes.script			\fntstoretest\fntstoretest_T_OpenFontTypes.script
sl@0
    41
data=DATAZ_\fntstoretest\fntstoretest_T_FontMetrics.script				\fntstoretest\fntstoretest_T_FontMetrics.script
sl@0
    42
data=DATAZ_\fntstoretest\fntstoretest_T_GetNearestFont.script			\fntstoretest\fntstoretest_T_GetNearestFont.script
sl@0
    43
data=DATAZ_\fntstoretest\fntstoretest_t_getnearestfontcapability.script	\fntstoretest\fntstoretest_t_getnearestfontcapability.script
sl@0
    44
data=DATAZ_\fntstoretest\fntstoretest_T_CorruptFonts.script				\fntstoretest\fntstoretest_T_CorruptFonts.script
sl@0
    45
data=DATAZ_\fntstoretest\fntstoretest_T_ShaperCache.script				\fntstoretest\fntstoretest_T_ShaperCache.script
sl@0
    46
data=DATAZ_\fntstoretest\fntstoretest_T_LinkedFonts.script				\fntstoretest\fntstoretest_T_LinkedFonts.script
sl@0
    47
data=DATAZ_\fntstoretest\fntstoretest_t_cachedeletion.script			\fntstoretest\fntstoretest_t_cachedeletion.script
sl@0
    48
data=DATAZ_\fntstoretest\fntstoretest_t_setdefaulttypefacename.script	\fntstoretest\fntstoretest_t_setdefaulttypefacename.script
sl@0
    49
data=DATAZ_\fntstoretest\fntstoretest_T_LinkedFontUpdateInitial.script	\fntstoretest\fntstoretest_T_LinkedFontUpdateInitial.script
sl@0
    50
data=DATAZ_\fntstoretest\fntstoretest_T_LinkedFontUpdateStage1.script	\fntstoretest\fntstoretest_T_LinkedFontUpdateStage1.script
sl@0
    51
data=DATAZ_\fntstoretest\fntstoretest_T_LinkedFontUpdateStage2.script	\fntstoretest\fntstoretest_T_LinkedFontUpdateStage2.script
sl@0
    52
data=DATAZ_\fntstoretest\fntstoretest_T_Cache.script			\fntstoretest\fntstoretest_T_Cache.script
sl@0
    53
data=DATAZ_\fntstoretest\fntstoretest_T_FontSessionCache.script			\fntstoretest\fntstoretest_T_FontSessionCache.script
sl@0
    54
sl@0
    55
// 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
sl@0
    56
data=ABI_DIR\DEBUG_DIR\TFntStoreServer.exe    \sys\bin\TFntStoreServer.exe
sl@0
    57
//file=ABI_DIR\DEBUG_DIR\TFntStoreServer.exe    \sys\bin\TFntStoreServer.exe
sl@0
    58
file=ABI_DIR\DEBUG_DIR\tcachedeletionprocess.exe    \sys\bin\tcachedeletionprocess.exe
sl@0
    59
file=ABI_DIR\DEBUG_DIR\tfontsessioncacheproc.exe	\sys\bin\tfontsessioncacheproc.exe
sl@0
    60
sl@0
    61
// 7650 font which should be compatible with new font compression
sl@0
    62
sl@0
    63
ROM_IMAGE[0] {
sl@0
    64
data=ZRESOURCE\Fonts\ceurope.gdr         Resource\Fonts\ceurope.gdr
sl@0
    65
}
sl@0
    66
sl@0
    67
// font used for testing font loading from C: drive
sl@0
    68
ROM_IMAGE[0] {
sl@0
    69
data=ZSYSTEM\test\TSection.gdr         Test\TSection.gdr
sl@0
    70
}
sl@0
    71
sl@0
    72
REM near-duplicate fonts for test  CTFntMem::TestDuplicateBitmapFontFileEntriesL
sl@0
    73
ROM_IMAGE[0] {
sl@0
    74
data=DATAZ_\PlatTest\Graphics\TestData\uniquified_fonts\XXeuro.gdr	\PlatTest\Graphics\TestData\uniquified_fonts\XXeuro.gdr
sl@0
    75
}
sl@0
    76
sl@0
    77
ROM_IMAGE[0] {
sl@0
    78
data=DATAZ_\PlatTest\Graphics\TestData\uniquified_fonts\YYeuro.gdr	\PlatTest\Graphics\TestData\uniquified_fonts\YYeuro.gdr
sl@0
    79
}
sl@0
    80
sl@0
    81
sl@0
    82
sl@0
    83
REM corrupt font files, these get copied / renamed on to the C: drive
sl@0
    84
ROM_IMAGE[0] {
sl@0
    85
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_gdr_fonts\bad_streamid \PlatTest\Graphics\TestData\corrupt_gdr_fonts\bad_streamid
sl@0
    86
sl@0
    87
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_entrysel \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_entrysel
sl@0
    88
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_length \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_length
sl@0
    89
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_numtables \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_numtables
sl@0
    90
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_offset \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_offset
sl@0
    91
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_rangeshift \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_rangeshift
sl@0
    92
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_searchrange \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_searchrange
sl@0
    93
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_tag_order \PlatTest\Graphics\TestData\corrupt_ttf_fonts\bad_tag_order
sl@0
    94
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\cvt_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\cvt_len
sl@0
    95
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\fpgm_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\fpgm_len
sl@0
    96
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\glyf_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\glyf_len
sl@0
    97
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\head_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\head_len
sl@0
    98
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\hhea_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\hhea_len
sl@0
    99
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\hmtx_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\hmtx_len
sl@0
   100
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\loca_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\loca_len
sl@0
   101
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\maxp_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\maxp_len
sl@0
   102
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\name_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\name_len
sl@0
   103
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\post_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\post_len
sl@0
   104
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\prep_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\prep_len
sl@0
   105
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\cmap_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\cmap_len
sl@0
   106
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\gdef_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\gdef_len
sl@0
   107
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\gpos_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\gpos_len
sl@0
   108
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\gsub_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\gsub_len
sl@0
   109
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\os2_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\os2_len
sl@0
   110
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\gasp_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\gasp_len
sl@0
   111
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\fftm_len \PlatTest\Graphics\TestData\corrupt_ttf_fonts\fftm_len
sl@0
   112
data=DATAZ_\PlatTest\Graphics\TestData\corrupt_ttf_fonts\wrong_offset \PlatTest\Graphics\TestData\corrupt_ttf_fonts\wrong_offset
sl@0
   113
}
sl@0
   114
sl@0
   115
REM file of hash values for linked fonts testing
sl@0
   116
#ifndef GRAPHICS_EXCLUDE_FREETYPE
sl@0
   117
data=DATAZ_\fntstoretest\tlinkedfontscomparison_armv5.ini \fntstoretest\tlinkedfontscomparison.ini
sl@0
   118
#else
sl@0
   119
data=DATAZ_\fntstoretest\tlinkedfontscomparison_armv5_itype.ini \fntstoretest\tlinkedfontscomparison.ini
sl@0
   120
#endif
sl@0
   121
sl@0
   122
data=DATAZ_\fntstoretest\tlinkedfontscapability.ini \fntstoretest\tlinkedfontscapability.ini
sl@0
   123
data=DATAZ_\fntstoretest\tsetdefaulttypefacename.ini \fntstoretest\tsetdefaulttypefacename.ini
sl@0
   124
sl@0
   125
REM Executables for T_Fnt.cpp Invalid font fallback tests
sl@0
   126
sl@0
   127
file=ABI_DIR\BUILD_DIR\T_WriteInvalidFontFile.exe 	sys/bin/T_WriteInvalidFontFile.exe
sl@0
   128
file=ABI_DIR\BUILD_DIR\T_RemoveInvalidFontFile.exe 	sys/bin/T_RemoveInvalidFontFile.exe
sl@0
   129
sl@0
   130
sl@0
   131
#endif	//__FNTSTORETEST_IBY__