Files
cproof/tests/functionaltests/test_export_import.h
jabber.developer2 58002409ff
All checks were successful
CI Code / Check spelling (pull_request) Successful in 24s
CI Code / Check coding style (pull_request) Successful in 41s
CI Code / Linux (ubuntu) (pull_request) Successful in 6m56s
CI Code / Linux (debian) (pull_request) Successful in 7m0s
CI Code / Code Coverage (pull_request) Successful in 7m5s
CI Code / Linux (arch) (pull_request) Successful in 9m29s
test(functests): migration/MUC/timestamp tests, group rebalancing
Add 11 new export/import tests (24 → 35): 4 MUC database, 3 timestamp
verification, 3 migration stress, 1 LMC correction with negative assert.

Add delay-stamp timestamp checks to 5 base tests via /time chat set
iso8601 and /history on (previously passed by accident from PTY buffer).

Replace magic numbers: NEGATIVE_ASSERT_TIMEOUT, MIN_ELAPSED_INIT.
Add per-test slow/fast thresholds and TZ override (prof_test_tz).

Rebalance groups by whole logical blocks (spread 46s → 3s):
G1=52s G2=50s G3=53s G4=53s. All 129 tests pass.
2026-03-19 19:05:36 +03:00

25 lines
1.1 KiB
C

void export_sqlite_to_flatfile(void** state);
void import_flatfile_to_sqlite(void** state);
void export_idempotent_no_duplicates(void** state);
void export_lmc_correction_survives(void** state);
void switch_preserves_old_backend_data(void** state);
void export_all_contacts(void** state);
void import_double_dedup(void** state);
void verify_after_export(void** state);
void switch_backends_independent_messages(void** state);
void export_empty_contact(void** state);
void export_message_pool_dated(void** state);
void export_lmc_pool_multiple(void** state);
void export_large_body_survives(void** state);
void bidirectional_merge_to_flatfile(void** state);
void bidirectional_merge_to_sqlite(void** state);
void migration_incremental_accumulation(void** state);
void roundtrip_full_cycle(void** state);
void export_timestamps_preserved(void** state);
void import_timestamps_preserved(void** state);
void export_timestamps_non_utc(void** state);
void muc_export_sqlite_to_flatfile(void** state);
void muc_import_flatfile_to_sqlite(void** state);
void muc_export_timestamps_preserved(void** state);
void muc_export_multiple_rooms(void** state);