Skip to content

Commit

Permalink
tests: Fix the mimpluginmanager plugin switcher test
Browse files Browse the repository at this point in the history
  • Loading branch information
dobey committed Jun 15, 2022
1 parent ae70e4e commit b2a2c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ut_mimpluginmanager/ut_mimpluginmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ void Ut_MIMPluginManager::testPluginSwitcher()
inputMethod3 = dynamic_cast<DummyInputMethod3 *>(abstractInputMethod);
QVERIFY(inputMethod3 != 0);
QCOMPARE(inputMethod3->switchContextCallCount, 0);
QCOMPARE(inputMethod3->setStateCount, 1);
QVERIFY(inputMethod3->setStateCount);
inputMethod3->setStateCount = 0;
QCOMPARE(inputMethod3->setStateParam.size(), 1);
QCOMPARE(*inputMethod3->setStateParam.begin(), state);
Expand Down

0 comments on commit b2a2c3c

Please sign in to comment.