StackOverflow Questions for Tag: cmocka

Tom Willis
Tom Willis

Reputation: 378

How do I pass a double value to my C mock function with cmocka will_return()?

Score: 4

Views: 792

Answers: 2

Read More
melwin_jose
melwin_jose

Reputation: 325

CMOCKA / Linker : 'wrap'ping lots of functions

Score: 2

Views: 1396

Answers: 1

Read More
jalooc
jalooc

Reputation: 1227

Cmocka tests do not show any output

Score: 2

Views: 2231

Answers: 5

Read More
satur9nine
satur9nine

Reputation: 15072

Correct way to temporarily enable and disable function wrapping in cmocka?

Score: 4

Views: 3108

Answers: 2

Read More
Cristian Cutitei
Cristian Cutitei

Reputation: 150

What happens if I cast a pointer that is NULL to something else?

Score: 0

Views: 94

Answers: 1

Read More
jst
jst

Reputation: 11

Is there a possibility of unit testing database functions using cmocka?

Score: 0

Views: 64

Answers: 0

Read More
Jon
Jon

Reputation: 1801

How do I properly build cmocka unit tests with CMake

Score: 0

Views: 37

Answers: 0

Read More
jst
jst

Reputation: 11

Is it possible to use "cmocka" in visual studio solution?

Score: 1

Views: 454

Answers: 0

Read More
Risusdan
Risusdan

Reputation: 91

How to get the duration time of each test cases in Cmocka?

Score: 0

Views: 222

Answers: 0

Read More
karobar
karobar

Reputation: 1320

Cmocka - should we all be creating one executable per test for isolating static variables?

Score: 1

Views: 564

Answers: 1

Read More
Mawg
Mawg

Reputation: 40175

Cmocka: checking a structure passed as a parameter

Score: 4

Views: 4466

Answers: 3

Read More
karobar
karobar

Reputation: 1320

Wrapped function pointer parameter changes if return value struct has too many members

Score: 3

Views: 257

Answers: 1

Read More
AshishP
AshishP

Reputation: 39

How does target_link_libraries(--wrap) work?

Score: 1

Views: 2725

Answers: 2

Read More
UnbescholtenerBuerger
UnbescholtenerBuerger

Reputation: 318

Integrating a library in eclipse stops the debug exe from running as expected

Score: 2

Views: 168

Answers: 0

Read More
Rony Kositsky
Rony Kositsky

Reputation: 111

Compiling problems using mock of CMocka

Score: 0

Views: 234

Answers: 0

Read More
arda30
arda30

Reputation: 83

set_target_properties does not work with multiple --wrap functions

Score: 0

Views: 406

Answers: 1

Read More
Wanghz
Wanghz

Reputation: 375

Cmocka: how to mock a function called as a function pointer

Score: 2

Views: 506

Answers: 0

Read More
gnac
gnac

Reputation: 1643

Remove or Weaken private methods in module

Score: 0

Views: 125

Answers: 0

Read More
A-mit
A-mit

Reputation: 31

c cmocka running the same test function with different parameters

Score: 3

Views: 597

Answers: 0

Read More
Gionata Benelli
Gionata Benelli

Reputation: 407

linking with wrap directive for unit testing can be used to redefine a subroutine?

Score: 0

Views: 264

Answers: 1

Read More
PreviousPage 1Next