googletest/matchers/
mod.rs1mod all_matcher;
18mod any_matcher;
19mod anything_matcher;
20mod bool_matcher;
21mod char_count_matcher;
22mod conjunction_matcher;
23mod container_eq_matcher;
24mod contains_matcher;
25mod contains_regex_matcher;
26mod derefs_to_matcher;
27mod disjunction_matcher;
28mod display_matcher;
29mod each_matcher;
30mod elements_are_matcher;
31mod empty_matcher;
32mod eq_matcher;
33mod err_matcher;
34mod field_matcher;
35mod ge_matcher;
36mod gt_matcher;
37mod has_entry_matcher;
38mod is_encoded_string_matcher;
39mod is_finite_matcher;
40mod is_infinite_matcher;
41mod is_matcher;
42mod is_nan_matcher;
43mod le_matcher;
44mod len_matcher;
45mod lt_matcher;
46mod matches_pattern;
47mod matches_regex_matcher;
48mod ne_matcher;
49mod near_matcher;
50mod none_matcher;
51mod not_matcher;
52mod ok_matcher;
53mod points_to_matcher;
54mod pointwise_matcher;
55mod predicate_matcher;
56mod property_matcher;
57mod result_of_matcher;
58mod some_matcher;
59mod str_matcher;
60mod subset_of_matcher;
61mod superset_of_matcher;
62mod tuple_matcher;
63mod unordered_elements_are_matcher;
64
65pub use anything_matcher::anything;
66pub use bool_matcher::{is_false, is_true};
67pub use char_count_matcher::char_count;
68pub use container_eq_matcher::container_eq;
69pub use contains_matcher::{contains, ContainsMatcher};
70pub use contains_regex_matcher::contains_regex;
71pub use derefs_to_matcher::derefs_to;
72pub use display_matcher::displays_as;
73pub use each_matcher::each;
74pub use empty_matcher::is_empty;
75pub use eq_matcher::{eq, EqMatcher};
76pub use err_matcher::err;
77pub use ge_matcher::ge;
78pub use gt_matcher::gt;
79pub use has_entry_matcher::has_entry;
80pub use is_encoded_string_matcher::is_utf8_string;
81pub use is_finite_matcher::is_finite;
82pub use is_infinite_matcher::is_infinite;
83pub use is_nan_matcher::is_nan;
84pub use le_matcher::le;
85pub use len_matcher::len;
86pub use lt_matcher::lt;
87pub use matches_regex_matcher::matches_regex;
88pub use ne_matcher::ne;
89pub use near_matcher::{approx_eq, near, NearMatcher};
90pub use none_matcher::none;
91pub use not_matcher::not;
92pub use ok_matcher::ok;
93pub use points_to_matcher::points_to;
94pub use predicate_matcher::{predicate, PredicateMatcher};
95pub use some_matcher::some;
96pub use str_matcher::{
97 contains_substring, ends_with, starts_with, StrMatcher, StrMatcherConfigurator,
98};
99pub use subset_of_matcher::subset_of;
100pub use superset_of_matcher::superset_of;
101
102#[doc(inline)]
104pub use crate::{
105 __all as all, __any as any, __contains_each as contains_each, __elements_are as elements_are,
106 __field as field, __is_contained_in as is_contained_in, __matches_pattern as matches_pattern,
107 __pat as pat, __pointwise as pointwise, __property as property, __result_of as result_of,
108 __result_of_ref as result_of_ref, __unordered_elements_are as unordered_elements_are,
109};
110
111#[doc(hidden)]
116pub mod __internal_unstable_do_not_depend_on_these {
117 pub use super::conjunction_matcher::ConjunctionMatcher;
118 pub use super::disjunction_matcher::DisjunctionMatcher;
119 pub use super::elements_are_matcher::internal::ElementsAre;
120 pub use super::field_matcher::internal::field_matcher;
121 pub use super::is_matcher::is;
122 pub use super::matches_pattern::internal::{
123 __googletest_macro_matches_pattern, compile_assert_and_match, pattern_only,
124 };
125 pub use super::pointwise_matcher::internal::PointwiseMatcher;
126 pub use super::property_matcher::internal::{property_matcher, property_ref_matcher};
127 pub use super::result_of_matcher::internal::{result_of, result_of_ref};
128 pub use super::unordered_elements_are_matcher::internal::UnorderedElementsAreMatcher;
129 pub use crate::matcher_support::match_matrix::internal::Requirements;
130}