Home
last modified time | relevance | path

Searched refs:expectation (Results 1 – 25 of 33) sorted by relevance

12

/src/contrib/libcbor/test/
H A Dstream_expectations.c29 assert_true(current().expectation == UINT8_EQ); in uint8_callback()
40 assert_true(current().expectation == UINT16_EQ); in uint16_callback()
51 assert_true(current().expectation == UINT32_EQ); in uint32_callback()
62 assert_true(current().expectation == UINT64_EQ); in uint64_callback()
73 assert_true(current().expectation == NEGINT8_EQ); in negint8_callback()
84 assert_true(current().expectation == NEGINT16_EQ); in negint16_callback()
95 assert_true(current().expectation == NEGINT32_EQ); in negint32_callback()
106 assert_true(current().expectation == NEGINT64_EQ); in negint64_callback()
119 assert_true(current().expectation == BSTRING_MEM_EQ); in byte_string_callback()
127 (struct test_assertion){.expectation = BSTRING_INDEF_START}; in assert_bstring_indef_start()
[all …]
H A Dstream_expectations.h73 enum test_expectation expectation; member
/src/contrib/googletest/docs/reference/
H A Dmocking.md62 Creates an [expectation](../gmock_for_dummies.md#setting-expectations) that the
69 correspond to each argument of the method *`method_name`*. The expectation will
71 matchers. If `(`*`matchers...`*`)` is omitted, the expectation behaves as if
75 The following chainable clauses can be used to modify the expectation, and they
95 Restricts the expectation to apply only to mock function calls whose arguments
103 For example, the following code sets the expectation that
118 The `With` clause can be used at most once on an expectation and must be the
148 The `Times` clause can be used at most once on an expectation.
160 For example, the following code sets the expectation that the `Reset()` method
176 The `InSequence` clause can be used any number of times on an expectation.
[all …]
H A Dactions.md12 …eturn type, `value` is converted to the latter type <i>at the time the expectation is set</i>, not…
/src/contrib/googletest/googlemock/test/
H A Dgmock_output_test_golden.txt36 Google Mock tried the following 1 expectation, but it didn't match:
50 Google Mock tried the following 1 expectation, but it didn't match:
99 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))...
100 Expected: the expectation is active
104 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))...
121 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
126 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
143 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
148 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
184 Google Mock tried the following 1 expectation, but it didn't match:
[all …]
/src/contrib/googletest/docs/
H A Dgmock_for_dummies.md249 Actual function call count doesn't match this expectation:
257 the line number to jump right to the failed expectation.
273 Well, specifying the expectation beforehand allows gMock to report a violation
292 In gMock we use the `EXPECT_CALL()` macro to set an expectation on a mock
320 more information about the expectation. We'll discuss how each clause works in
323 This syntax is designed to make an expectation read like English. For example,
344 failed expectation in messages, making debugging easier.
406 occur. It allows us to repeat an expectation many times without actually writing
448 expectation matches using a series of `WillOnce()` clauses followed by an
527 So far we've only shown examples where you have a single expectation. More
[all …]
H A Dgmock_faq.md125 ### I have a failed test where gMock tells me TWICE that a particular expectation is not satisfied.…
132 Sometimes an expectation's state didn't change between two failures, and you'll
216 or you can put the sequence of actions in the same expectation:
H A Dgmock_cook_book.md1031 When a mock method is called, the *last* matching expectation that's still
1498 a mock method is called, but <em>doesn't imply any expectation on the method
1500 expectation that <em>the method will be called with the given arguments, for the
1552 `EXPECT_CALL()`), all invocations to it must match some expectation. If this
1672 unexpected behavior it is a compilation error to try to set an expectation on a
1686 tries to match a function call with an expectation, by default calls don't have
1689 the first and third, then the second expectation will be used.
1775 active. An expectation is active when created, and becomes inactive (aka
1796 Note that an expectation doesn't retire automatically when it's saturated. For
1810 If this is not what you want, you can ask an expectation to retire as soon as it
[all …]
/src/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h622 void AddExpectation(const Expectation& expectation) const;
1575 TypedExpectation<F>* const expectation = in AddNewExpectation() local
1577 const std::shared_ptr<ExpectationBase> untyped_expectation(expectation); in AddNewExpectation()
1588 return *expectation; in AddNewExpectation()
1717 TypedExpectation<F>* const expectation = in PrintTriedExpectationsLocked() local
1720 expectation->DescribeLocationTo(why); in PrintTriedExpectationsLocked()
1724 *why << expectation->source_text() << "...\n"; in PrintTriedExpectationsLocked()
1725 expectation->ExplainMatchResultTo(args, why); in PrintTriedExpectationsLocked()
1726 expectation->DescribeCallCountTo(why); in PrintTriedExpectationsLocked()
/src/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc759 void Sequence::AddExpectation(const Expectation& expectation) const { in AddExpectation()
760 if (*last_expectation_ != expectation) { in AddExpectation()
762 expectation.expectation_base()->immediate_prerequisites_ += in AddExpectation()
765 *last_expectation_ = expectation; in AddExpectation()
/src/crypto/openssl/doc/man1/
H A Dopenssl-version.pod.in94 practice on unix like systems, as there was an expectation that a given build
96 no such expectation, as libraries can be installed to arbitrary locations.
/src/crypto/openssl/doc/man3/
H A DOSSL_STORE_expect.pod25 I<expected_type> may be 0 to indicate explicitly that no expectation is made,
/src/sys/contrib/openzfs/config/
H A Dkernel-mkdir.m459 dnl # umode_t type rather than an int. The expectation is that any backport
/src/contrib/libcbor/doc/source/
H A Ddevelopment.rst42 **Why?** Because it is the client expectation. Vast majority of security
/src/contrib/ntp/
H A DREADME.pullrequests18 If there is no expectation that your work will be included in the
/src/crypto/openssl/test/radix/
H A DREADME.md78 The expectation is that multi-node testing will be facilitated by having the
/src/crypto/openssl/doc/man7/
H A Dprovider-storemgmt.pod147 object types match the expectation too.
/src/usr.bin/fortune/
H A DNotes47 expectation that, should they just run "fortune", they will not be offended.
/src/crypto/openssl/doc/designs/quic-design/
H A Dquic-requirements.md42 non-goal of the initial release). Our expectation is that other libraries will
H A Drecord-layer.md138 The METHOD based approach has been selected for MVP, with the expectation that
/src/sys/contrib/device-tree/Bindings/gpio/
H A Dgpio.txt100 a) Define a single static polarity for the signal, with the expectation that
/src/contrib/jemalloc/doc_internal/
H A DPROFILING_INTERNALS.md28 …tions are fixed; the random variables are the sampling decisions), so taking the expectation we get
/src/contrib/llvm-project/llvm/lib/Support/BLAKE3/
H A DLICENSE38 expectation of additional consideration or compensation, the person
/src/contrib/libevent/
H A DChangeLog-2.0451 o Preliminary support for Continue expectation in evhttp. (fa9305f Christopher Davis)
/src/contrib/ntp/sntp/libevent/
H A DChangeLog-2.0451 o Preliminary support for Continue expectation in evhttp. (fa9305f Christopher Davis)

12