Skip to main content

Module pic

Module pic 

Source

Structs§

CachedPicBaseline
CachedPicBaseline
CachedPicBaselineGuard
CachedPicBaselineGuard
ControllerSnapshots
ControllerSnapshots
Pic
Pic Thin wrapper around a PocketIC instance.
PicBuilder
PicBuilder Thin wrapper around the PocketIC builder.
PicInstallError
PicInstallError
PicSerialGuard
PicSerialGuard
StandaloneCanisterFixture
StandaloneCanisterFixture

Enums§

PicSerialGuardError
PicSerialGuardError
PicStartError
PicStartError
StandaloneCanisterFixtureError
StandaloneCanisterFixtureError

Functions§

acquire_pic_serial_guard
Acquire the shared PocketIC serialization guard for the current process.
install_prebuilt_canister
install_prebuilt_canister_with_cycles
install_standalone_canister
pic
Create a fresh PocketIC universe.
restore_or_rebuild_cached_pic_baseline
Restore one cached PocketIC baseline, rebuilding it if the owned PocketIC instance has died between tests.
role_pid
Resolve one role principal from root’s subnet registry, polling until present.
try_acquire_pic_serial_guard
Acquire the shared PocketIC serialization guard for the current process.
try_install_prebuilt_canister
try_install_prebuilt_canister_with_cycles
try_pic
Create a fresh PocketIC universe without panicking on startup failures.
wait_until_ready
Wait until a PocketIC canister reports canic_ready.