aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-06-28 15:00:39 +0200
committerRenaud G <renaud@rolisteam.org>2020-06-28 15:00:39 +0200
commitb77995f1c0995ee4455a7c14cd07d8ac513b7d18 (patch)
tree8a964eb8e49e7813c4b1cb3ce48e008f16f32bd1 /tests
parentc5ea6210eedf433ec247e0f6b439a58316f1d11a (diff)
downloadOneRoll-b77995f1c0995ee4455a7c14cd07d8ac513b7d18.tar.gz
OneRoll-b77995f1c0995ee4455a7c14cd07d8ac513b7d18.zip
rename API to get errorMap.
Diffstat (limited to 'tests')
-rw-r--r--tests/dice/tst_dice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dice/tst_dice.cpp b/tests/dice/tst_dice.cpp
index 4c39bd4..3c31f12 100644
--- a/tests/dice/tst_dice.cpp
+++ b/tests/dice/tst_dice.cpp
@@ -428,7 +428,7 @@ void TestDice::wrongCommandsTest()
if(a)
{
m_diceParser->start();
- auto map= m_diceParser->getErrorMap();
+ auto map= m_diceParser->errorMap();
a= map.isEmpty();
}
QCOMPARE(a, valid);
@@ -466,7 +466,7 @@ void TestDice::wrongCommandsExecutionTimeTest()
bool test= m_diceParser->parseLine(cmd);
m_diceParser->start();
- QVERIFY2(m_diceParser->getErrorMap().isEmpty() == false || !test, cmd.toStdString().c_str());
+ QVERIFY2(m_diceParser->errorMap().isEmpty() == false || !test, cmd.toStdString().c_str());
}
}
void TestDice::scopeDF()