kdeconnect-kde/tests
Erik Duisters b6c15289f5 Combine multiple upload jobs into a single KCompositeJob so only 1 notification will be shown
Summary:
Combine multiple upload jobs for files into a single KCompositeJob so only 1 notification will be shown
Includes changes introduced in D16279

Test Plan:
1. Share of multiple files is performed using 1 composite job

   Setup:
	- Select multiple (big) files in dolphin and share with an Android device
   Result:
	- The files will be transferred using 1 CompositeUploadJob and showing only 1 notification

2. Share of file while another share is already running adds job to existing composite job

   Setup:
	- Select multiple (big) files in dolphin and share with an Android device
	- Share an additional file with the same Android device
   Result:
	- The files are all transferred using 1 CompositeUploadJob and showing only 1 notification
	- The notification is updated after adding the last file

3. Other packets are transmitted as usual

   Setup:
        - Setup sharing desktop notification with device
	- Share a big file with an Android device
	- Generate a desktop notification (eg. sending or receiving an email)

   Result:
	- Notification packet is send immediately

Reviewers: #kde_connect, nicolasfella, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, apol, nicolasfella, broulik, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D17081
2018-11-30 08:26:00 +01:00
..
CMakeLists.txt [WIP] Get rid of DownloadJob 2018-08-15 17:18:40 +02:00
devicetest.cpp Fix crashing devicetest 2018-07-12 16:14:44 +02:00
kdeconnectconfigtest.cpp Clazy says all this QStringLiteral and QLatin1String were missing/wrong 2016-11-26 16:21:29 +01:00
lanlinkprovidertest.cpp Fix minor EBN issues and typos 2018-10-07 21:23:20 +03:00
networkpackettests.cpp Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
networkpackettests.h Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
pluginloadtest.cpp Make member variable names, & placement and * placement more coherent 2017-09-03 21:45:08 +02:00
sendfiletest.cpp Combine multiple upload jobs into a single KCompositeJob so only 1 notification will be shown 2018-11-30 08:26:00 +01:00
testdaemon.h Add a method for creating simple notifications 2018-03-18 12:52:22 +01:00
testnotificationlistener.cpp Fix minor EBN issues and typos 2018-10-07 21:23:20 +03:00
testsocketlinereader.cpp Fix container detach warnings from clazy 2018-11-26 13:21:39 +01:00
testsslsocketlinereader.cpp Fix container detach warnings from clazy 2018-11-26 13:21:39 +01:00