Update of /cvsroot/silgraphite/silgraphite/contrib/RegressionTest
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2214/contrib/RegressionTest
Modified Files:
RegressionTest.cpp main.h
Log Message:
Synchronized with FW changelist #11847: refactor classes; change LgCharRenderProps -> GrCharProps
Index: RegressionTest.cpp
===================================================================
RCS file: /cvsroot/silgraphite/silgraphite/contrib/RegressionTest/RegressionTest.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- RegressionTest.cpp 20 Aug 2004 18:40:52 -0000 1.2
+++ RegressionTest.cpp 6 Oct 2004 18:28:29 -0000 1.3
@@ -139,7 +139,7 @@
// Set up the graphics object.
int errorCount = 0;
GrGraphics grfx;
- LgCharRenderProps chrp;
+ GrCharProps chrp;
if (!SetupGraphics(ptcase, &grfx, &chrp))
{
errorCount++;
@@ -428,7 +428,7 @@
/*----------------------------------------------------------------------------------------------
Set up a GrGraphics object for the test case.
----------------------------------------------------------------------------------------------*/
-bool SetupGraphics(TestCase * ptcase, GrGraphics * pgrfx, LgCharRenderProps * pchrp)
+bool SetupGraphics(TestCase * ptcase, GrGraphics * pgrfx, GrCharProps * pchrp)
{
HFONT hFont;
LOGFONT lf;
@@ -445,7 +445,7 @@
}
pgrfx->SetFont(hFont);
- memset(pchrp, '\0', sizeof(LgCharRenderProps));
+ memset(pchrp, '\0', sizeof(GrCharProps));
pchrp->dympHeight = (int)ptcase->FontSize() * 1000;
pchrp->clrBack = RGB(255, 255, 255); //white
pchrp->clrFore = RGB(0, 0, 0); //black
Index: main.h
===================================================================
RCS file: /cvsroot/silgraphite/silgraphite/contrib/RegressionTest/main.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- main.h 10 Jun 2004 20:19:43 -0000 1.1
+++ main.h 6 Oct 2004 18:28:29 -0000 1.2
@@ -70,7 +70,7 @@
//:>********************************************************************************************
void RunTests(int numberOfTests, TestCase * ptcaseList);
int RunOneTestCase(TestCase * ptcase);
-bool SetupGraphics(TestCase * ptcase, GrGraphics * pgfx, LgCharRenderProps * pchrp);
+bool SetupGraphics(TestCase * ptcase, GrGraphics * pgfx, GrCharProps * pchrp);
void OutputError(TestCase * ptcase, std::string strErr, int i = -1);
void OutputErrorWithValues(TestCase * ptcase, std::string strErr, int i,
int valueFound, int valueExpected);
|