summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 14:06:30 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 14:06:30 +0300
commit8db0f3f4b92f7d982e7dd1561b6f1bd0f4ac25f3 (patch)
treef56b1c785be9d13f4b8e76767a7980764cbdc2c0 /src
parenta1d88a611a1a44041c162fd8708eee96ee30a52c (diff)
downloadmv-8db0f3f4b92f7d982e7dd1561b6f1bd0f4ac25f3.tar.gz
mv-8db0f3f4b92f7d982e7dd1561b6f1bd0f4ac25f3.tar.bz2
mv-8db0f3f4b92f7d982e7dd1561b6f1bd0f4ac25f3.tar.xz
mv-8db0f3f4b92f7d982e7dd1561b6f1bd0f4ac25f3.zip
add smiles checks in unit tests.
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/browserbox_unittest.cc28
1 files changed, 28 insertions, 0 deletions
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);
}