Commit 1dbf2f02 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Test copy

parent d5948bc4
......@@ -177,6 +177,8 @@ void AttributeTest::testSerialization()
QCOMPARE(id, a->moveToCollection().id());
QCOMPARE(sendSilently, a->sendSilently());
delete a;
SentBehaviourAttribute::SentBehaviour copy = beh;
QCOMPARE(beh, copy);
}
//Delete + silently
......@@ -195,6 +197,8 @@ void AttributeTest::testSerialization()
QCOMPARE(a->moveToCollection().id(), -1);
QCOMPARE(sendSilently, a->sendSilently());
delete a;
SentBehaviourAttribute::SentBehaviour copy = beh;
QCOMPARE(beh, copy);
}
//MoveToDefaultSentCollection + silently
......@@ -213,6 +217,9 @@ void AttributeTest::testSerialization()
QCOMPARE(a->moveToCollection().id(), -1);
QCOMPARE(sendSilently, a->sendSilently());
delete a;
SentBehaviourAttribute::SentBehaviour copy = beh;
QCOMPARE(beh, copy);
}
{
......
Supports Markdown
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