Home
last modified time | relevance | path

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

12

/freebsd/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
/freebsd/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…
/freebsd/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 …]
/freebsd/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 …]
/freebsd/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()
/freebsd/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()
/freebsd/sys/contrib/openzfs/config/
H A Dkernel-mkdir.m442 dnl # umode_t type rather than an int. The expectation is that any backport
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_STORE_expect.pod25 I<expected_type> may be 0 to indicate explicitly that no expectation is made,
/freebsd/contrib/libcbor/doc/source/
H A Ddevelopment.rst42 **Why?** Because it is the client expectation. Vast majority of security
/freebsd/contrib/ntp/
H A DREADME.pullrequests18 If there is no expectation that your work will be included in the
/freebsd/crypto/openssl/doc/man7/
H A Dprovider-storemgmt.pod125 object types match the expectation too.
/freebsd/usr.bin/fortune/
H A DNotes47 expectation that, should they just run "fortune", they will not be offended.
/freebsd/sys/contrib/device-tree/Bindings/gpio/
H A Dgpio.txt100 a) Define a single static polarity for the signal, with the expectation that
/freebsd/contrib/llvm-project/llvm/lib/Support/BLAKE3/
H A DLICENSE38 expectation of additional consideration or compensation, the person
/freebsd/contrib/ntp/sntp/libevent/
H A DChangeLog-2.0451 o Preliminary support for Continue expectation in evhttp. (fa9305f Christopher Davis)
/freebsd/contrib/libevent/
H A DChangeLog-2.0451 o Preliminary support for Continue expectation in evhttp. (fa9305f Christopher Davis)
/freebsd/contrib/wpa/wpa_supplicant/
H A DChangeLog666 behavior more consistent with likely user expectation
/freebsd/share/dict/
H A Dweb2a42449 pre-expectation
44794 quasi expectation
46816 re-expectation
/freebsd/contrib/one-true-awk/testdir/
H A Dbib14040 For the needy shall not alway be forgotten: the expectation of the poor shall not perish for ever.
14833 My soul, wait thou only upon God; for my expectation is from him.
16685 The hope of the righteous shall be gladness: but the expectation of the wicked shall perish.
16696 When a wicked man dieth, his expectation shall perish: and the hope of unjust men perisheth.
16712 The desire of the righteous is only good: but the expectation of the wicked is wrath.
17063 For surely there is an end; and thine expectation shall not be cut off.
17094 …y soul: when thou hast found it, then there shall be a reward, and thy expectation shall not be cu…
18035 And they shall be afraid and ashamed of Ethiopia their expectation, and of Egypt their glory.
18036 And the inhabitant of this isle shall say in that day, Behold, such is our expectation, whither we …
23005 …ear; Gaza also shall see it, and be very sorrowful, and Ekron; for her expectation shall be ashame…
[all …]
H A Dfunstack.in4351 … fact that change is an important feature of the situation, and by the expectation that computer s…
25867 descriptors = "expectation; standard deviation; moment estimation; numerical method",
/freebsd/crypto/openssl/
H A DCHANGES.md4303 ciphers with this property but the expectation is that engines will be able

12