OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Cardinality
(Results
1 - 13
of
13
) sorted by null
/external/chromium/testing/gmock/include/gmock/
gmock-cardinalities.h
48
// To implement a
cardinality
Foo, define:
51
// 2. a factory function that creates a
Cardinality
object from a
56
// management as
Cardinality
objects can now be copied like plain values.
58
// The implementation of a
cardinality
.
68
// Returns true iff call_count calls will satisfy this
cardinality
.
71
// Returns true iff call_count calls will saturate this
cardinality
.
78
// A
Cardinality
is a copyable and IMMUTABLE (except by assignment)
80
// be called. The implementation of
Cardinality
is just a linked_ptr
82
// Don't inherit from
Cardinality
!
83
class
Cardinality
{
[
all
...]
gmock-spec-builders.h
50
// .Times(
cardinality
)
688
// Returns the
cardinality
specified in the expectation spec.
689
const
Cardinality
&
cardinality
() const { return cardinality_; }
737
// Explicitly specifies the
cardinality
of this expectation. Used
739
void SpecifyCardinality(const
Cardinality
&
cardinality
);
741
// Returns true iff the user specified the
cardinality
explicitly
745
// Sets the
cardinality
of this expectation spec.
746
void set_cardinality(const
Cardinality
& a_cardinality)
[
all
...]
/external/chromium/testing/gmock/src/
gmock-cardinalities.cc
49
// Implements the Between(m, n)
cardinality
.
106
// Describes the Between(m, n)
cardinality
in human-friendly text.
129
void
Cardinality
::DescribeActualCallCountTo(int actual_call_count,
138
// Creates a
cardinality
that allows at least n calls.
139
Cardinality
AtLeast(int n) { return Between(n, INT_MAX); }
141
// Creates a
cardinality
that allows at most n calls.
142
Cardinality
AtMost(int n) { return Between(0, n); }
144
// Creates a
cardinality
that allows any number of calls.
145
Cardinality
AnyNumber() { return AtLeast(0); }
147
// Creates a
cardinality
that allows between min and max calls
[
all
...]
gmock-spec-builders.cc
87
// Explicitly specifies the
cardinality
of this expectation. Used by
89
void ExpectationBase::SpecifyCardinality(const
Cardinality
& a_cardinality) {
156
cardinality
().DescribeTo(os);
158
Cardinality
::DescribeActualCallCountTo(call_count(), os);
170
// WillRepeatedly() clauses) against the
cardinality
if this hasn't
186
// The
cardinality
was inferred - no need to check the action
191
// The
cardinality
was explicitly specified.
193
const int upper_bound =
cardinality
().ConservativeUpperBound();
194
const int lower_bound =
cardinality
().ConservativeLowerBound();
212
cardinality
().DescribeTo(&ss)
[
all
...]
/external/chromium/testing/gmock/test/
gmock-cardinalities_test.cc
47
using testing::
Cardinality
;
62
// Tests that
Cardinality
objects can be default constructed.
64
Cardinality
c;
67
// Tests that
Cardinality
objects are copyable.
70
Cardinality
c = Exactly(1);
83
const
Cardinality
c = AtMost(5);
89
// Tests that
Cardinality
::DescribeActualCallCountTo() creates the
93
Cardinality
::DescribeActualCallCountTo(0, &ss0);
97
Cardinality
::DescribeActualCallCountTo(1, &ss1);
101
Cardinality
::DescribeActualCallCountTo(2, &ss2)
[
all
...]
gmock-spec-builders_test.cc
70
using testing::
Cardinality
;
590
// expectation compared to its
cardinality
.
656
// expectation compared to its
cardinality
.
753
// Tests that the
cardinality
can be inferred when no Times(...) is
[
all
...]
/external/chromium_org/chrome_frame/test/
mock_ie_event_sink_test.cc
18
using testing::
Cardinality
;
42
const std::wstring& url,
Cardinality
before_cardinality,
43
Cardinality
complete_cardinality) {
64
<< "
Cardinality
upper bound may be too great to be split up into single "
75
Cardinality
split_complete_cardinality = testing::Exactly(1);
mock_ie_event_sink_test.h
140
// the
cardinality
for the BeforeNavigate expectation and
141
// |complete_cardinality| specifies the
cardinality
for the NavigateComplete
145
testing::
Cardinality
before_cardinality,
146
testing::
Cardinality
complete_cardinality);
test_with_web_server.h
103
testing::
Cardinality
cardinality
);
test_with_web_server.cc
341
testing::
Cardinality
cardinality
) {
343
.Times(
cardinality
)
[
all
...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
rewrites.rb
1266
example "
cardinality
" do
1269
grammar
Cardinality
;
[
all
...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/
extension_set.cc
223
enum
Cardinality
{
[
all
...]
/external/protobuf/src/google/protobuf/
extension_set.cc
200
enum
Cardinality
{
[
all
...]
Completed in 1600 milliseconds