#include <SyncManagerTest.h>
Public Member Functions | |
void | runAllTests () |
void | testServerError506 () |
Checks for a loop in SyncManager::sync(), because of a missing <Final> tag in case of Server error while inserting items (fixed in v.8.0). | |
void | testLargeObject2 () |
Test Large object issue (bug #7794) with a Replace command split in 2 msg, and also a Delete command in the second msg. |
Tests implemented:
void SyncManagerTest::testLargeObject2 | ( | ) |
Test Large object issue (bug #7794) with a Replace command split in 2 msg, and also a Delete command in the second msg.
If fails, the Server commands are not parsed in the correct order by Client APIs (fixed in v8SP1).
References CLIENT, SyncManagerConfig::getAccessConfig(), SyncManagerConfig::getDeviceConfig(), SyncSourceReport::getItemReportSuccessfulCount(), SyncManagerConfig::getResponseTimeout(), SyncManagerConfig::getSyncSourceConfig(), SyncManagerConfig::getSyncURL(), and SyncSourceConfig::setIsEnabled().
void SyncManagerTest::testServerError506 | ( | ) |
Checks for a loop in SyncManager::sync(), because of a missing <Final> tag in case of Server error while inserting items (fixed in v.8.0).
The test:
References SyncManagerConfig::getResponseTimeout(), SyncManagerConfig::getSyncSourceConfig(), SyncManagerConfig::getSyncURL(), and SyncSourceConfig::setSync().