Home
last modified time | relevance | path

Searched refs:mocks (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/contrib/ntp/sntp/unity/auto/
H A Dgenerate_test_runner.rb170 def create_header(output, mocks, testfile_includes=[]) argument
172 create_runtest(output, mocks)
175 output.puts('#include "cmock.h"') unless (mocks.empty?)
183 testrunner_includes = testfile_includes - mocks
187 mocks.each do |mock|
199 def create_externs(output, tests, mocks) argument
211 def create_mock_management(output, mocks) argument
212 unless (mocks.empty?)
221 mocks.each do |mock|
229 mocks.each do |mock|
[all …]
/freebsd-13.1/contrib/googletest/googlemock/docs/
H A DForDummies.md8 **Note:** It is easy to confuse the term _fake objects_ with mock objects. Fakes and mocks actually…
13 …that uses it. The difference between fakes and mocks will become much clearer once you start to us…
24 … unnecessary dependencies in tests and make them fast and reliable, using mocks manually in C++ is…
26 …* Someone has to implement the mocks. The job is usually tedious and error-prone. No wonder people…
27 …* The quality of those manually written mocks is a bit, uh, unpredictable. You may see some really…
30 …rogrammers have some fine mock frameworks, which automate the creation of mocks. As a result, mock…
39 …ve mock implementations yet; and, frankly, you aren't thrilled by some of those hand-written mocks.
73 If you are lucky, the mocks you need to use have already been implemented by some nice people. If, …
123 …1. Exercise some code that uses the mocks; optionally, check the result using Google Test assertio…
163 …fore it's a good idea to use a heap leak checker in your tests when you allocate mocks on the heap.
[all …]
H A DFrequentlyAskedQuestions.md310 to avoid `/clr` when compiling native C++ mocks.
538 With Google Mock, you can create mocks in C++ easily. And people might be
543 When you write a test without using mocks, you exercise the code and
557 mocks to perform complex actions. If you experience this and think
558 that mocks suck, you are just not using the right tool for your
H A DCookBook.md301 …mocks, as they tend to make tests more brittle and harder to maintain. When you refactor your code…
505 When using testing doubles (mocks, fakes, stubs, and etc), sometimes
509 mocks have different behaviors than the real objects by mistake, you
1348 For more on uninteresting calls, nice mocks, and strict mocks, read ["The Nice, the Strict, and the…
2652 If you follow the following simple rules, your mocks and threads can
2689 threads or when there still are mocks in action.
2823 to write tests and use mocks. You can use the
H A DCheatSheet.md117 // ... use the mocks ...
/freebsd-13.1/contrib/googletest/googlemock/
H A DCHANGES26 * Improvement: the Google Mock Generator can now generate mocks for
94 * New feature: --gmock_catch_leaked_mocks for detecting leaked mocks.
H A DREADME.md29 * Provides a declarative syntax for defining mocks.
30 * Can easily define partial (hybrid) mocks, which are a cross of real
/freebsd-13.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-generated-nice-strict.h.pump48 // switch the default behavior of mocks to be nice, as that in general
150 // user errors of nesting nice and strict mocks. They do NOT catch
/freebsd-13.1/contrib/googletest/googletest/docs/
H A Dfaq.md292 of `EXPECT_DEATH()`. For example, you may want to use [mocks](../../googlemock)