From 8db0f3f4b92f7d982e7dd1561b6f1bd0f4ac25f3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jul 2013 14:06:30 +0300 Subject: add smiles checks in unit tests. --- src/gui/widgets/browserbox_unittest.cc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc index ad964eb2b..30ec6d6dd 100644 --- a/src/gui/widgets/browserbox_unittest.cc +++ b/src/gui/widgets/browserbox_unittest.cc @@ -120,4 +120,32 @@ TEST(browserbox, test1) row = "11|22<####>"; box->addRow(row); row = "11|22##><##"; + row = "%%@@11|22@@"; + box->addRow(row); + row = "%%2@@11|22@@"; + box->addRow(row); + row = "<%%11|22@@"; + box->addRow(row); + row = "@@%%>|22@@"; + box->addRow(row); + row = "<%%|22%%>"; + box->addRow(row); + row = "11|22<%%%%>"; + box->addRow(row); + row = "%%"; + box->addRow(row); + row = "%%1"; + box->addRow(row); + row = "%%##"; + box->addRow(row); + row = "%%###"; + box->addRow(row); + row = "##%%"; + box->addRow(row); + row = "##1%%"; + box->addRow(row); + row = "##%%2"; + box->addRow(row); + row = "##1%%2"; + box->addRow(row); } -- cgit v1.2.3-70-g09d2