Commit cc3b8987 authored by Laurent Montel's avatar Laurent Montel 😁

improve unittest

parent 99641dd8
......@@ -87,4 +87,10 @@ void MessageDisplayFormatAttributeTest::shouldCloneAttribute()
delete result;
}
void MessageDisplayFormatAttributeTest::shouldDefineType()
{
MessageViewer::MessageDisplayFormatAttribute attr;
QCOMPARE(attr.type(), QByteArray("MessageDisplayFormatAttribute"));
}
QTEST_KDEMAIN(MessageDisplayFormatAttributeTest, NoGUI)
......@@ -35,6 +35,7 @@ private Q_SLOTS:
void shouldChangeMessageFormat();
void shouldDeserializeValue();
void shouldCloneAttribute();
void shouldDefineType();
};
#endif // MESSAGEDISPLAYFORMATATTRIBUTETEST_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment