Browse Source

* Patch from Graeme Geldenhuys to fix failing unit tests

git-svn-id: trunk@36354 -
michael 8 years ago
parent
commit
81b7581bb4

+ 2 - 0
packages/fcl-pdf/tests/fpttf_test.pas

@@ -412,6 +412,8 @@ begin
   end;
 end;
 
+{ The fontlist file contains 3 font names, instead of the 5 that should
+  be available. This tests that we only load info of fonts that we need. }
 procedure TFPFontCacheListTest.TestLoadFromFile;
 const
   cFontListFile = 'fontlist.txt';

+ 1 - 2
packages/fcl-pdf/tests/unittests_console.lpi

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
   <ProjectOptions>
-    <Version Value="9"/>
+    <Version Value="10"/>
     <General>
       <Flags>
         <LRSInOutputDirectory Value="False"/>
@@ -13,7 +13,6 @@
     <VersionInfo>
       <Language Value=""/>
       <CharSet Value=""/>
-      <StringTable ProductVersion=""/>
     </VersionInfo>
     <BuildModes Count="1">
       <Item1 Name="default" Default="True"/>