cmvr_head/packages/erpc-1.14.0/erpcgen/test/test_retain_c.yml
2025-12-30 15:44:41 +08:00

36 lines
587 B
YAML

---
name: testing in out retain annotation
desc:
idl: |
struct A {
list<int32> x
}
interface I {
testR1(in A inA @retain, out A outA @retain) -> @retain A
}
test_server.cpp:
- not: free_A_struct(inA)
- not: erpc_free(inA)
- not: free_A_struct(outA)
- not: erpc_free(outA)
- not: free_A_struct(result)
- not: erpc_free(result)
---
name: testing inout retain annotation
desc:
idl: |
struct A {
list<int32> x
}
interface I {
testR2(inout A inoutA @retain) -> void
}
test_server.cpp:
- not: free_A_struct(inoutA)
- not: erpc_free(inoutA)