[BUFFER]
[PASS]	- [T:1] Buffer flush on limit to local changes (suspend changes, mass mutate)


[CLOUD SUSPEND]
[PASS]- Functional
[PASS]	- Edit title + quit app, pushes to iCloud
[PASS]	- Add new items, quit, all pushed to iCloud (not pushed until quit or done pressed)
[PASS]	- Add new items, done, all pushed to iCloud (not pushed until quit or done pressed)
[PASS]- iPhone Squashings:
[PASS]	- [T:2] Tap on task, press Done
[PASS]	- [T:2] Tap task, quick-add, leave empty + press done
[PASS]	- [T:3] Create + edit (i.e. make task)
[PASS]	- [T:3] Quick adds
[PASS]	- [T:2] New empty task, auto-deleted when just dismissed empty (no modification)
[PASS]	- [T:2] Tap to edit, delete all content, confirm empty (auto-deleted)

  
[LOCAL MODEL CACHE]
[PASS]- [T:4] Correctly prunes sequence ranges for deleted files
[PASS]- [T:5] Computes cache even if single peer
[PASS]- Updates local cache when more immutable history becomes available
[PASS]	- [T:6] Prior cache present
[PASS]	- [T:7] No cache present
[PASS]- [T:8] Re-computes local cache when baseline is not a subset of cached model
[PASS]- [T:9] Re-computes local cache when it cached too aggressively due to idle / inactive
[PASS]- [T:9] Re-computes local cache when new peer arrives, only if it actually made events before the cache (needs to invalidate cache)
[PASS]- Does not re-compute local cache unnecessarily (shouldn't do under normal usage)


[OFFLINE]
[PASS]- [T:10] Trying to create / refresh / restore / delete backups shows errors
[PASS]- [T:11] Trying to activate iCloud when offline shows errors:
[PASS]  - Alert
[PASS]  - Settings
[PASS]  - Welcome


[WIPE]
[PASS]- Wiping works even if an offline peer has made changes that were not wiped
[PASS]- Wiping works even when paired / not paired (startup + after unpair)
[PASS]  - iPhone paired:
[PASS]    - wipe from Mac while app not running, launch
[PASS]    - wipe from Mac while app running + active
[PASS]    - wipe from Mac while app running + suspend, resume
[PASS]  - iPhone unpaired:
[PASS]    - wipe from iPhone (Mac should unpair)


[AUTO-UNPAIR]
[PASS]- Deleting iCloud from Settings.app / System Preferences shows warning about missing data or auto-unpair due to deleted
[PASS]	- From launch
[PASS]	- While running (Mac: in pref pane (must update UI) + elsewhere)
[PASS]- Turn off iCloud account / data / change account turns off iCloud
[PASS]	- From launch
[PASS]	- While running (Mac: in pref pane (must update UI) + elsewhere)
[PASS]- Check that no code automatically brings the system online after being offline


[CORRUPTION]
[PASS]- [T:12] Event loss during event creations (failure of HTSyncSystem's -writeChanges)
[PASS]- [T:13] Sequence gap in a events bundle (file)
[PASS]- iCloud finished setup missing (local)
[PASS]- iCloud pair time missing (local)
[PASS]- Local db + memory drift


[VERSIONING]
[PASS]- Versioning mismatch (baseline, event version, change vers, change types) shows upgrade notice + App Store button works
[PASS]  - [T:14+15] Baseline metadata version
[PASS]  - [T:16] Baseline model version
[PASS]  - [T:17] Event version
[PASS]  - [T:18] Change type
[PASS]  - [T:19] Change version
[PASS]  - [T:20] Events Pre-amble version (header in fused chunk)
[PASS]  - [T:21] Fused Version / Format (Event file)
[PASS]  - [T:22] Chunked Version / Format (Event Chunk)


[BASELINE]
[PASS]- Deletes self sealed event bundle
[PASS]- All events baselined (so no file events) should NOT classify peer as living with no events
[PASS]- Baseline can only delete files which contain events that are already in baseline (code verify)
[PASS]- Baselining of false positive (offline interval) and then it comes online:
[PASS]	- No events added, then add events once in sync (check: files baselined)
[PASS]	- Events added by false positive peer which were squashed (so added to unsealed file) (check: files baselined)
[PASS]- [T:25] Single device baselining eventually
[PASS]- Baseline callback not called for automatic / implicit baselines
[PASS]- Deletion of event bundles during normal operation
[PASS]- Deletion of event bundles which didn't get collected on previous run
[PASS]	- Repro: comment out actual deletion at bottom

[BASELINE CONFLICTS]
[PASS]- [T:26] Two equal baselines conflict (both baseline the exact same set)
[PASS]  - Reproduce: sync, make events so that at least one file will be deleted, disconnect, baseline both, one connect + then disconnect, other connect + disconnect
[PASS]  - Expect: no baseline written, just conflict resolved
[PASS]- [T:27] Two non-equal baselines conflict
[PASS]  - Reproduce: two disconnected clients, both baseline by themselves, connect only
[PASS]  - Expect: union of lists / tasks

[TIME]
[PASS]- Drifting of clocks but correct relative order after peers see event (edit)
[PASS]  - Move clock of one device ahead (virtual), make event, wait to sync, edit on device in the "past"
[PASS]- Download timeout works correctly (on pair + relaunch, download stall / timeout)
[PASS]- Timers skip work due to consistency (remove mConsistentRemoteState = YES;)
[PASS]	- [T:28] Baseline timer
[PASS]	- [T:29] Work timer
[PASS]- [T:31] Timers unscheduled on unpair
[PASS]- [T:32] Baselines periodically using a timer
[PASS]- [T:33] Correct suspend / resume of timers in remote / sync centre
[PASS]  - Sleep (Mac)
[PASS]  - Background (iPhone)

[SYNC BEHAVIOUR]
[PASS]- [T:42] Corruption due to monotonicity failure
[PASS]- Explicitly warn when we detect sequence loss (self or other)
[PASS]- Leave many unsealed files and let it choose a wrong file (so that it seals it + retry - repro by returning random filename)
[PASS]- Sequence range cache correctly populated + updated
[PASS]- Perspectives doesn't store self time (with baseline present)
[PASS]- Maximum sequence points correctly reads latest events
[PASS]- Verification of storage of last event id + time correctly, plus computation of next one
[PASS]- Baseline callback not called for automatic / implicit baselines
[PASS]- [T:35+36] Pair with empty / non-empty db (merge + non-merged)
[PASS]- [T:38] Correctly cuts off self events when overflow to another file (test with mass mutate)
[PASS]- Nop written on iCloud setup iff no other changes added (check both cases)
[PASS]- [T:39+40] Nop events written when startup / running
[PASS]- Sync eventual consistency of randomised actions
[PASS]- Start app without iCloud setup, setup iCloud, successfully enable iCloud
[PASS]- Enabling + disabling iCloud in sequence works
[PASS]	- Steps: Disable with delete list, re-enable should pop new lists.
[PASS]- Test no-backup of the iCloud local files (backup, restore, iCloud should be disabled but others prefs + local data there)
[PASS]	- Re-enabling should work correctly

[IPHONE+MAC]
[PASS]- Editing an item while new data comes in waits

[IPHONE]
[PASS]- Edge Cases
[PASS]  - Pasting of external lists
[PASS]  - Delete list which is entered
[PASS]    - Delete via Mac
[PASS]    - Delete via iPhone
[PASS]  - Be in the last list + delete all other lists + move up
[PASS]	- Updates model straight after launch


[SYNC EDGE CASES]
[PASS]- Duplicate event id in a single file handled properly


[UNDO]
[PASS]- All undo behaves correctly with sync enabled
[PASS]  - (iPhone) Undo task create
[PASS]  - (iPhone) Undo task delete
[PASS]  - (iPhone) Undo complete task
[PASS]  - (iPhone) Undo uncomplete task
[PASS]  - (iPhone) Undo task move without status change
[PASS]  - (iPhone) Undo task move with status change
[PASS]  - (iPhone) Undo task clearing


[ADVANCED UI]
[PASS]- All advanced actions return callbacks are shown to user on failure.
[PASS]- All advanced actions that delete require confirmation.


[BACKUP]
[PASS]- Backup creation does not trigger fs changes


[PERFORMANCE]
[PASS]- Large data set memory test
[PASS]	- Read
[PASS]	- Baseline
[PASS]- Uses model cache to skip reading files at launch
[PASS]- Maximum sequence points skips reading unnecessary files
- Test pair with a very large initial db


[OBSOLETE]
- Clearing of an empty peers folder (should clear it eventually) (REASON: not possible to know whether the folder)
- Alerts shown after launch / during run when state changes to say offline or corrupted (REASON: no longer needed as we auto-unpair on offline)
- Queued updates send across after coming back online (when offline) (REASON: we no longer come back online, we just unpair)
- Delete local event file (after committed remotely) should be handled properly (i.e., succeed with yes) (REASON: no idea what it means)
- Peer file update when OS / app upgraded (REASON: no longer keeping OS / app bundle version)
