Skip to content

Commit

Permalink
processor: finalize: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Oct 8, 2024
1 parent afbf21d commit e6951d7
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions program/tests/finalize.rs
Original file line number Diff line number Diff line change
@@ -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() {}

0 comments on commit e6951d7

Please sign in to comment.