secure_env_testing library
Imports intended only for tests that swap in a native SecureEnvDylib stub.
Re-exports:
- resetSecureEnvBindingsForTest — clears cached FFI handles between cases.
- loadSecureEnvDylibForTest — points FFI shims at a host-built stub
.so/.dylib.
Functions
-
loadSecureEnvDylibForTest(
DynamicLibrary lib) → void -
Tests only. Binds FFI to symbols from
lib(stub.so/.dylib). -
resetSecureEnvBindingsForTest(
) → void -
Tests only. Clears memoized FFI bindings (
package:secure_env/secure_env_testing.dart).