v0.3.6-pre.007
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// file: crates/ksp-job-backfill-lib/tests/public_api.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Public API canaries for bounded Backfill discovery and RAW v1 conversion.
|
||||
//! Public API canaries for bounded Backfill discovery, RAW v1 conversion and Store persistence.
|
||||
|
||||
#[test]
|
||||
fn pre_005_request_scope_and_discovery_contracts_are_available_from_crate_root() {
|
||||
@@ -86,3 +86,13 @@ fn pre_006_raw_conversion_contract_is_available_from_crate_root() {
|
||||
assert_eq!(ksp_job_backfill_lib::ERROR_CODE_BACKFILL_RAW_CONVERSION_INVALID, ksp_core_lib::ErrorCode::new("job_backfill", "raw_conversion_invalid"));
|
||||
return;
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pre_007_store_persistence_contract_is_available_from_crate_root() {
|
||||
let _persist = ksp_job_backfill_lib::persist_backfill_hydration;
|
||||
let _outcome: std::option::Option<ksp_job_backfill_lib::BackfillPersistenceOutcome> = std::option::Option::None;
|
||||
let _entity = ksp_job_backfill_lib::BackfillEntityPersistence::AlreadyPresent;
|
||||
let _observation = ksp_job_backfill_lib::BackfillObservationPersistence::AlreadyPresent;
|
||||
assert_eq!(ksp_job_backfill_lib::ERROR_CODE_BACKFILL_PERSISTENCE_INVALID, ksp_core_lib::ErrorCode::new("job_backfill", "persistence_invalid"));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user