Trait forge::AdminTest

source ·
pub trait AdminTest: Test {
    // Required method
    fn run<'t>(&self, ctx: &mut AdminContext<'t>) -> Result<()>;
}
Expand description

The testing interface which defines a test written from the perspective of the Admin of the network. This means that the test will have access to the Root account but do not control any of the validators or full nodes running on the network.

Required Methods§

source

fn run<'t>(&self, ctx: &mut AdminContext<'t>) -> Result<()>

Executes the test against the given context.

Implementors§

impl AdminTest for UpgradeDiemVersion

impl AdminTest for AddAndRemoveVaspDomain

impl AdminTest for UpgradeEventAndNewEpoch

impl AdminTest for UpdateExchangeRateEvent

impl AdminTest for MintAndReceivedMintEvents

impl AdminTest for CancleBurnEvent

impl AdminTest for PreburnAndBurnEvents

impl AdminTest for ExecuteCustomModuleAndScript

impl AdminTest for MalformedScript