File indexing completed on 2024-12-22 04:28:16

0001 /*
0002    SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "emoticonunicodeutilstest.h"
0008 #include "emoticonunicodeutils.h"
0009 #include <QTest>
0010 
0011 QTEST_GUILESS_MAIN(EmoticonUnicodeUtilsTest)
0012 
0013 EmoticonUnicodeUtilsTest::EmoticonUnicodeUtilsTest(QObject *parent)
0014     : QObject{parent}
0015 {
0016 }
0017 
0018 void EmoticonUnicodeUtilsTest::shouldHaveDefaultValues()
0019 {
0020     QCOMPARE(TextEmoticonsCore::EmoticonUnicodeUtils::recentIdentifier(), QStringLiteral("recents"));
0021     QCOMPARE(TextEmoticonsCore::EmoticonUnicodeUtils::customIdentifier(), QStringLiteral("customs"));
0022 }
0023 
0024 #include "moc_emoticonunicodeutilstest.cpp"