Searched refs:Cardinality (Results 1 - 13 of 13) sorted by relevance

/external/chromium/testing/gmock/include/gmock/
H A Dgmock-cardinalities.h51 // 2. a factory function that creates a Cardinality object from a
56 // management as Cardinality objects can now be copied like plain values.
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 { class in namespace:testing
85 // Constructs a null cardinality. Needed for storing Cardinality
87 Cardinality() {} function in class:testing::Cardinality
89 // Constructs a Cardinality from its implementation.
90 explicit Cardinality(cons function in class:testing::Cardinality
[all...]
H A Dgmock-spec-builders.h689 const Cardinality& cardinality() const { return cardinality_; }
739 void SpecifyCardinality(const Cardinality& cardinality);
746 void set_cardinality(const Cardinality& a_cardinality) {
829 void UntypedTimes(const Cardinality& a_cardinality);
838 Cardinality cardinality_; // The cardinality of the expectation.
912 TypedExpectation& Times(const Cardinality& a_cardinality) {
/external/chromium/testing/gmock/src/
H A Dgmock-cardinalities.cc129 void Cardinality::DescribeActualCallCountTo(int actual_call_count,
139 Cardinality AtLeast(int n) { return Between(n, INT_MAX); }
142 Cardinality AtMost(int n) { return Between(0, n); }
145 Cardinality AnyNumber() { return AtLeast(0); }
148 Cardinality Between(int min, int max) {
149 return Cardinality(new BetweenCardinalityImpl(min, max));
153 Cardinality Exactly(int n) { return Between(n, n); }
H A Dgmock-spec-builders.cc89 void ExpectationBase::SpecifyCardinality(const Cardinality& a_cardinality) {
158 Cardinality::DescribeActualCallCountTo(call_count(), os);
225 void ExpectationBase::UntypedTimes(const Cardinality& a_cardinality) {
/external/chromium/testing/gmock/test/
H A Dgmock-cardinalities_test.cc47 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
[all...]
H A Dgmock-spec-builders_test.cc70 using testing::Cardinality;
1812 Cardinality EvenNumber() {
1813 return Cardinality(new EvenNumberCardinality);
/external/chromium_org/chrome_frame/test/
H A Dmock_ie_event_sink_test.cc18 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);
H A Dmock_ie_event_sink_test.h145 testing::Cardinality before_cardinality,
146 testing::Cardinality complete_cardinality);
H A Dtest_with_web_server.h103 testing::Cardinality cardinality);
H A Dtest_with_web_server.cc341 testing::Cardinality cardinality) {
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
H A Drewrites.rb1269 grammar Cardinality;
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dextension_set.cc223 enum Cardinality { enum in namespace:google::protobuf::internal::__anon14227
/external/protobuf/src/google/protobuf/
H A Dextension_set.cc200 enum Cardinality { enum in namespace:google::protobuf::internal::__anon24896

Completed in 369 milliseconds