|
Fission FSN
|
#include <doctest.h>#include <fsPlatform/cloudsave/fsCCloudSaveSync.h>#include <fsPlatform/cloudsave/src/impl/localFolder/fsCloudSaveServiceLocalFolder.h>#include <chrono>#include <fstream>#include <iterator>#include <memory>#include <random>#include <string>#include <vector>
Functions | |
| TEST_CASE ("cloud save blob round-trips and strips newlines from the header") | |
| TEST_CASE ("first save on an empty cloud links the profile and uploads after the debounce") | |
| TEST_CASE ("a stream of saves cannot postpone the upload past one debounce") | |
| TEST_CASE ("a new device restores the cloud profile") | |
| TEST_CASE ("an existing profile with the cloud's player name is linked, newest wins") | |
| TEST_CASE ("fast-forward: cloud moved on, local did not") | |
| TEST_CASE ("local moved on, cloud did not: upload at boot without waiting for the debounce") | |
| TEST_CASE ("true conflict: the newer side wins and the loser is kept as a backup") | |
| TEST_CASE ("a device with a future clock wins and is logged") | |
| TEST_CASE ("saving an unlinked profile never uploads it") | |
| TEST_CASE ("deleting the linked profile removes the cloud slot and frees the link") | |
| TEST_CASE ("deleting the linked profile while its upload is in flight leaves the cloud empty") | |
| TEST_CASE ("a boot pull that times out keeps the session local only") | |
| TEST_CASE ("an unavailable provider makes sync a no-op") | |
| TEST_CASE ("shutdown flushes a pending upload") | |
| TEST_CASE | ( | "a boot pull that times out keeps the session local only" | ) |
| TEST_CASE | ( | "a device with a future clock wins and is logged" | ) |
| TEST_CASE | ( | "a new device restores the cloud profile" | ) |
| TEST_CASE | ( | "a stream of saves cannot postpone the upload past one debounce" | ) |
| TEST_CASE | ( | "an existing profile with the cloud's player name is | linked, |
| newest wins" | ) |
| TEST_CASE | ( | "an unavailable provider makes sync a no-op" | ) |
| TEST_CASE | ( | "cloud save blob round-trips and strips newlines from the header" | ) |
| TEST_CASE | ( | "deleting the linked profile removes the cloud slot and frees the link" | ) |
| TEST_CASE | ( | "deleting the linked profile while its upload is in flight leaves the cloud empty" | ) |
| TEST_CASE | ( | "fast-forward: cloud moved | on, |
| local did not" | ) |
| TEST_CASE | ( | "first save on an empty cloud links the profile and uploads after the debounce" | ) |
| TEST_CASE | ( | "local moved | on, |
| cloud did not:upload at boot without waiting for the debounce" | ) |
| TEST_CASE | ( | "saving an unlinked profile never uploads it" | ) |
| TEST_CASE | ( | "shutdown flushes a pending upload" | ) |
| TEST_CASE | ( | "true conflict: the newer side wins and the loser is kept as a backup" | ) |