Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
pointer
Discussion List
-
Modify stub call parameters' values
Hello, I have a stub function like this: stub_func(uint8_t * data); (this is an output parameter). I need to modify the parameter in a unit test. I tried to set the value in this way: uint8_t ptrData[] = {0x1, 0x0, 0x1, 0x4}; CPPTEST_ON_CALL("stub_func")->Arg("data")->Assign()->UCharRef(ptrData); but I don't see the…
Popular Tags
- SOAtest 454
- legacy 440
- Virtualize 204
- C/C++test 179
- scripting 106
- .parasoft 82
- unit testing 64
- Parasoft Virtualize 61
- Announcement 61
- static analysis 58
- jtest 57
- dotTEST 48
- assertions 47
- C++ test 43
- API Testing 39
- cli 38
- automation 37
- data source 37
- xpath 34
- reporting 33
- java 33
- SOAtest Virtualize 32
- LoadTest 32
- ctp 30
- JSON 29