1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
/*--------------------------------------------------------------------*//*:Ignore this sentence.
Copyright (C) 2007 SIL International. All rights reserved.
Distributable under the terms of either the Common Public License or the
GNU Lesser General Public License, as specified in the LICENSING.txt file.
File: TestCase.h
Responsibility: Sharon Correll
Description:
Definition of TestCase class for Graphite Compiler regression test program.
-------------------------------------------------------------------------------*//*:End Ignore*/
#ifdef _MSC_VER
#pragma once
#endif
#ifndef TESTCASE_H
#define TESTCASE_H 1
#define NO_EXCEPTIONS 1
class TestCase
{
public:
TestCase()
{
m_fxdSilfVersion = 0x00010000;
m_fxdFeatVersion = 0x00010000;
m_fxdGlocVersion = 0x00010000;
m_fxdGlatVersion = 0x00010000;
m_fxdSillVersion = 0x00010000;
}
std::string m_testName;
std::string m_fontFileBmark;
std::string m_fontFileTest;
bool m_debug; // break into the debugger when running this test
bool m_skip; // easy way to temporarily skip the test
// Font table versions expected in the benchmark file:
int m_fxdSilfVersion;
int m_fxdFeatVersion;
int m_fxdGlocVersion;
int m_fxdGlatVersion;
int m_fxdSillVersion;
};
#endif // !TESTCASE_H
|