diff --git a/program/tests/finalize.rs b/program/tests/finalize.rs new file mode 100644 index 0000000..c322a9c --- /dev/null +++ b/program/tests/finalize.rs @@ -0,0 +1,34 @@ +#![cfg(feature = "test-sbf")] + +#[test] +fn fail_program_not_owned_by_loader() {} + +#[test] +fn fail_program_invalid_state() {} + +#[test] +fn fail_program_not_writable() {} + +#[test] +fn fail_authority_not_signer() {} + +#[test] +fn fail_authority_mismatch() {} + +#[test] +fn fail_program_finalized() {} + +#[test] +fn fail_program_not_deployed() {} + +#[test] +fn fail_next_version_not_owned_by_loader() {} + +#[test] +fn fail_next_version_authority_mismatch() {} + +#[test] +fn fail_next_version_finalized() {} + +#[test] +fn success() {}