summaryrefslogtreecommitdiff
path: root/starmath/qa/cppunit/test_node.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-01-23 21:30:11 +0100
committerTakeshi Abe <tabe@fixedpoint.jp>2017-01-26 18:53:18 +0000
commit68155a68578a0f4066c1c566c2d378bbae05c216 (patch)
tree1d2d697e23a350a5f35b4539aef31c55ae0c4403 /starmath/qa/cppunit/test_node.cxx
parent5b37ec6eb19ec2bd5020b54197cd554f1b645a4f (diff)
tdf#105483: let's put lowercase Greek letter in italic
and let uppercase one in non italic See comments from tdf#52225 in addition to initial description of this one + adapt QA tests associated (keep on to test "0" case) Change-Id: Ia84685fc5d336dd96b97d02c0e81f92e7966a6f1 Reviewed-on: https://gerrit.libreoffice.org/33480 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/qa/cppunit/test_node.cxx')
-rw-r--r--starmath/qa/cppunit/test_node.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/qa/cppunit/test_node.cxx b/starmath/qa/cppunit/test_node.cxx
index fbeca91dbdc1..68396b78eb95 100644
--- a/starmath/qa/cppunit/test_node.cxx
+++ b/starmath/qa/cppunit/test_node.cxx
@@ -105,10 +105,10 @@ void NodeTest::testTdf52225()
} while (false)
SmFormat aFormat = mxDocShell->GetFormat();
- CPPUNIT_ASSERT_EQUAL(sal_Int16(0), aFormat.GetGreekCharStyle()); // default format
+ CPPUNIT_ASSERT_EQUAL(sal_Int16(2), aFormat.GetGreekCharStyle()); // default format = 2
CHECK_GREEK_SYMBOL("%ALPHA", 0x0391, false);
CHECK_GREEK_SYMBOL("%iALPHA", 0x0391, true);
- CHECK_GREEK_SYMBOL("%alpha", 0x03b1, false);
+ CHECK_GREEK_SYMBOL("%alpha", 0x03b1, true);
CHECK_GREEK_SYMBOL("%ialpha", 0x03b1, true);
// mode 1
@@ -119,12 +119,12 @@ void NodeTest::testTdf52225()
CHECK_GREEK_SYMBOL("%beta", 0x03b2, true);
CHECK_GREEK_SYMBOL("%ibeta", 0x03b2, true);
- // mode 2
- aFormat.SetGreekCharStyle(2);
+ // mode 0
+ aFormat.SetGreekCharStyle(0);
mxDocShell->SetFormat(aFormat);
CHECK_GREEK_SYMBOL("%GAMMA", 0x0393, false);
CHECK_GREEK_SYMBOL("%iGAMMA", 0x0393, true);
- CHECK_GREEK_SYMBOL("%gamma", 0x03b3, true);
+ CHECK_GREEK_SYMBOL("%gamma", 0x03b3, false);
CHECK_GREEK_SYMBOL("%igamma", 0x03b3, true);
#undef CHECK_GREEK_SYMBOL