mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2025-04-25 07:22:15 +00:00
Update crates/fce-test-macro-impl/src/fce_test/glue_code_generator.rs
Co-authored-by: folex <0xdxdy@gmail.com>
This commit is contained in:
parent
b010fe93df
commit
26c9358161
@ -118,12 +118,13 @@ pub(super) fn generate_test_glue_code(
|
|||||||
let glue_code = quote! {
|
let glue_code = quote! {
|
||||||
#[test]
|
#[test]
|
||||||
#signature {
|
#signature {
|
||||||
|
// definitions for wasm modules specified in config
|
||||||
#(#module_definitions)*
|
#(#module_definitions)*
|
||||||
|
// AppService constructor and instantiation to implicit `fce` variable
|
||||||
#app_service_ctor
|
#app_service_ctor
|
||||||
|
// constructors of all modules of the tested service
|
||||||
#(#module_ctors)*
|
#(#module_ctors)*
|
||||||
|
// original test function as is
|
||||||
#original_block
|
#original_block
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user