summaryrefslogtreecommitdiff
path: root/starmath/qa
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-02-19 12:01:56 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-02-19 13:30:26 +0000
commit1f02e9b5a71836aa750d8e6676d2e876cad5e7a2 (patch)
tree3c23331ecbf8b13460a823994cb70a971ffab7bb /starmath/qa
parent28416331ffa226a93278e5a673f8ea2fbae28b42 (diff)
starmath: Convert SmParseError to scoped enum
Change-Id: Ia2663a768c424ea6f03bd0933a3c2fd608c239d8 Reviewed-on: https://gerrit.libreoffice.org/34422 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/qa')
-rw-r--r--starmath/qa/cppunit/test_starmath.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx
index 7a5688a1463d..09f9abd637fa 100644
--- a/starmath/qa/cppunit/test_starmath.cxx
+++ b/starmath/qa/cppunit/test_starmath.cxx
@@ -150,18 +150,18 @@ void Test::editFailure()
const SmErrorDesc *pErrorDesc = m_xDocShRef->GetParser().NextError();
- CPPUNIT_ASSERT_MESSAGE("Should be a PE_COLOR_EXPECTED",
- pErrorDesc && pErrorDesc->m_eType == PE_COLOR_EXPECTED);
+ CPPUNIT_ASSERT_MESSAGE("Should be a SmParseError::ColorExpected",
+ pErrorDesc && pErrorDesc->m_eType == SmParseError::ColorExpected);
pErrorDesc = m_xDocShRef->GetParser().PrevError();
- CPPUNIT_ASSERT_MESSAGE("Should be a PE_UNEXPECTED_CHAR",
- pErrorDesc && pErrorDesc->m_eType == PE_UNEXPECTED_CHAR);
+ CPPUNIT_ASSERT_MESSAGE("Should be a SmParseError::UnexpectedChar",
+ pErrorDesc && pErrorDesc->m_eType == SmParseError::UnexpectedChar);
pErrorDesc = m_xDocShRef->GetParser().PrevError();
- CPPUNIT_ASSERT_MESSAGE("Should be a PE_RGROUP_EXPECTED",
- pErrorDesc && pErrorDesc->m_eType == PE_RGROUP_EXPECTED);
+ CPPUNIT_ASSERT_MESSAGE("Should be a SmParseError::RgroupExpected",
+ pErrorDesc && pErrorDesc->m_eType == SmParseError::RgroupExpected);
const SmErrorDesc *pLastErrorDesc = m_xDocShRef->GetParser().PrevError();