mirror of
https://github.com/QRouland/UTPass.git
synced 2024-11-14 19:42:39 +00:00
17 lines
251 B
C++
17 lines
251 B
C++
|
#include <QtTest/QtTest>
|
||
|
|
||
|
class TestGpg: public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
private slots:
|
||
|
void toUpper();
|
||
|
};
|
||
|
|
||
|
void TestGpg::toUpper()
|
||
|
{
|
||
|
QString str = "Hello";
|
||
|
QCOMPARE(str.toUpper(), QString("HELLO"));
|
||
|
}
|
||
|
|
||
|
QTEST_MAIN(TestGpg)
|
||
|
#include "TestGpg.moc"
|