Crate test_utils_solana

Source

Re-exports§

pub use solana_program_runtime;
pub use solana_sdk;

Modules§

prelude
programs

Macros§

assert_banks_client_metadata_error
Assert that the banks client errors with the expected anchor error code.
assert_banks_client_simulated_error
Assert that the banks client simulation errors with the provided anchor error.
processor
Converts a solana-program-style entrypoint into the runtime’s entrypoint style, for use with ProgramTest::add_program

Structs§

BanksClient
BanksTransactionResultWithSimulation
ProgramTest
ProgramTestContext
TestRpcProvider

Enums§

BanksClientError
Errors from BanksClient
ProgramTestError
Errors from the program test environment

Traits§

BanksClientAsyncExtension
BanksClientExt
ProgramTestBanksClientExt
ProgramTestContextExtension
ProgramTestExtension

Functions§

into_wallet_error