summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-10 06:38:41 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-10 06:38:41 (GMT)
commit1dbf2f02d2db25ad22fb489e9b88a4e87c48ab0e (patch)
tree6f91bb01777f4c30e9bac96d404682956131166a
parentd5948bc4f03fcfd337497d130f6a82e1f66ad7b0 (diff)
Test copy
-rw-r--r--autotests/attributetest.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/autotests/attributetest.cpp b/autotests/attributetest.cpp
index 903a759..47282e5 100644
--- a/autotests/attributetest.cpp
+++ b/autotests/attributetest.cpp
@@ -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);
+
}
{