mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-24 08:37:42 +00:00
chore(developer): add initGlobals() method
This commit is contained in:
parent
8dde071b89
commit
5492a1670a
1 changed files with 4 additions and 4 deletions
|
|
@ -37,12 +37,12 @@ class CompilerTest : public testing::Test {
|
|||
CompilerTest() {}
|
||||
~CompilerTest() override {}
|
||||
void SetUp() override {
|
||||
kmcmp::BeginLine[BEGIN_ANSI] = -1;
|
||||
kmcmp::BeginLine[BEGIN_UNICODE] = -1;
|
||||
kmcmp::BeginLine[BEGIN_NEWCONTEXT] = -1;
|
||||
kmcmp::BeginLine[BEGIN_POSTKEYSTROKE] = -1;
|
||||
initGlobals();
|
||||
}
|
||||
void TearDown() override {
|
||||
initGlobals();
|
||||
}
|
||||
void initGlobals() {
|
||||
msgproc = NULL;
|
||||
szText_stub[0] = '\0';
|
||||
kmcmp::nErrors = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue