Home
last modified time | relevance | path

Searched refs:failWithActual (Results 1 – 22 of 22) sorted by relevance

/external/truth/core/src/main/java/com/google/common/truth/
DStringSubject.java62 failWithActual(simpleFact("expected empty string")); in isEmpty()
64 failWithActual(simpleFact("expected to be empty")); in isEmpty()
71 failWithActual(simpleFact("expected nonempty string")); in isNotEmpty()
81 failWithActual("expected a string that contains", string); in contains()
83 failWithActual("expected to contain", string); in contains()
91 failWithActual("expected a string that does not contain", string); in doesNotContain()
93 failWithActual("expected not to contain", string); in doesNotContain()
101 failWithActual("expected a string that starts with", string); in startsWith()
103 failWithActual("expected to start with", string); in startsWith()
111 failWithActual("expected a string that ends with", string); in endsWith()
[all …]
DComparableSubject.java42 failWithActual("expected to be in range", range); in isIn()
49 failWithActual("expected not to be in range", range); in isNotIn()
62 failWithActual("expected value that sorts equal to", expected); in isEquivalentAccordingToCompareTo()
74 failWithActual("expected to be greater than", other); in isGreaterThan()
86 failWithActual("expected to be less than", other); in isLessThan()
98 failWithActual("expected to be at most", other); in isAtMost()
110 failWithActual("expected to be at least", other); in isAtLeast()
DFloatSubject.java231 failWithActual(simpleFact("expected zero"));
241 failWithActual(simpleFact("expected a float other than zero"));
243 failWithActual(simpleFact("expected not to be zero"));
268 failWithActual(simpleFact("expected to be finite"));
278 failWithActual(simpleFact("expected a float other than NaN"));
DDoubleSubject.java225 failWithActual(simpleFact("expected zero"));
235 failWithActual(simpleFact("expected a double other than zero"));
237 failWithActual(simpleFact("expected not to be zero"));
262 failWithActual(simpleFact("expected to be finite"));
272 failWithActual(simpleFact("expected a double other than NaN"));
DGuavaOptionalSubject.java44 failWithActual(simpleFact("expected present optional")); in isPresent()
53 failWithActual(simpleFact("expected absent optional")); in isAbsent()
75 failWithActual("expected an optional with value", expected); in hasValue()
DMultimapSubject.java87 failWithActual(simpleFact("expected to be empty")); in isEmpty()
151 failWithActual("expected to contain entry", immutableEntry(key, value)); in containsEntry()
243 failWithActual( in containsExactlyEntriesIn()
250 failWithActual( in containsExactlyEntriesIn()
257 failWithActual( in containsExactlyEntriesIn()
284 failWithActual( in containsAtLeastEntriesIn()
401 failWithActual(
409 failWithActual(
417 failWithActual(
DSubject.java299 failWithActual("expected instance of", clazz.getName()); in isInstanceOf()
332 failWithActual("expected not to be an instance of", clazz.getName()); in isNotInstanceOf()
343 failWithActual("expected any of", iterable); in isIn()
356 failWithActual("expected not to be any of", iterable); in isNotIn()
718 protected final void failWithActual(String key, @Nullable Object value) { in failWithActual() method in Subject
719 failWithActual(fact(key, value)); in failWithActual()
736 protected final void failWithActual(Fact first, Fact... rest) { in failWithActual() method in Subject
741 final void failWithActual(Iterable<Fact> facts) { in failWithActual() method in Subject
DTruthFailureSubject.java74 failWithActual(simpleFact("expected a failure thrown by Truth's new failure API")); in factKeys()
127 failWithActual(simpleFact("expected a failure thrown by Truth's new failure API")); in doFactValue()
DClassSubject.java41 failWithActual("expected to be assignable to", clazz.getName()); in isAssignableTo()
DAbstractArraySubject.java41 failWithActual(simpleFact("expected to be empty")); in isEmpty()
DIterableSubject.java144 failWithActual(simpleFact("expected to be empty")); in isEmpty()
177 failWithActual("expected to contain", element); in contains()
185 failWithActual("expected not to contain", element); in doesNotContain()
233 failWithActual("expected to contain any of", expected); in containsAnyIn()
314 failWithActual( in containsAtLeastElementsIn()
492 failWithActual(
857 failWithActual("expected not to be any of", iterable);
1228 subject.failWithActual(
1567 subject.failWithActual(
DTableSubject.java43 failWithActual(simpleFact("expected to be empty")); in isEmpty()
DMapSubject.java84 failWithActual(simpleFact("expected to be empty")); in isEmpty()
163 failWithActual("expected to contain entry", entry); in containsEntry()
469 failWithActual(facts.build()); in inOrder()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DPathSubject.java92 failWithActual(simpleFact("expected to be absolute")); in isAbsolute()
100 failWithActual(simpleFact("expected to be relative")); in isRelative()
109 failWithActual("expected to have root component", root); in hasRootComponent()
111 failWithActual("expected to have root component", root); in hasRootComponent()
130 failWithActual("expected components", asList(names)); in hasNameComponents()
139 failWithActual("expected to match ", syntaxAndPattern); in matches()
148 failWithActual("expected not to match", syntaxAndPattern); in doesNotMatch()
156 failWithActual(simpleFact("expected to exist")); in exists()
159 failWithActual(simpleFact("expected to exist")); in exists()
167 failWithActual(simpleFact("expected not to exist")); in doesNotExist()
[all …]
/external/truth/extensions/re2j/src/main/java/com/google/common/truth/extensions/re2j/
DRe2jSubjects.java74 failWithActual("expected to match ", regex); in matches()
82 failWithActual("expected to match ", regex); in matches()
89 failWithActual("expected to fail to match", regex); in doesNotMatch()
97 failWithActual("expected to fail to match", regex); in doesNotMatch()
105 failWithActual("expected to contain a match for", pattern); in containsMatch()
112 failWithActual("expected to contain a match for", regex); in containsMatch()
120 failWithActual("expected not to contain a match for", pattern); in doesNotContainMatch()
127 failWithActual("expected not to contain a match for", regex); in doesNotContainMatch()
/external/truth/extensions/java8/src/main/java/com/google/common/truth/
DOptionalDoubleSubject.java44 failWithActual(simpleFact("expected present optional")); in isPresent()
53 failWithActual(simpleFact("expected empty optional")); in isEmpty()
71 failWithActual("expected an optional with value", expected); in hasValue()
DOptionalIntSubject.java43 failWithActual(simpleFact("expected present optional")); in isPresent()
52 failWithActual(simpleFact("expected empty optional")); in isEmpty()
66 failWithActual("expected an optional with value", expected); in hasValue()
DOptionalLongSubject.java43 failWithActual(simpleFact("expected present optional")); in isPresent()
52 failWithActual(simpleFact("expected empty optional")); in isEmpty()
66 failWithActual("expected an optional with value", expected); in hasValue()
DOptionalSubject.java45 failWithActual(simpleFact("expected present optional")); in isPresent()
54 failWithActual(simpleFact("expected empty optional")); in isEmpty()
76 failWithActual("expected an optional with value", expected); in hasValue()
/external/truth/core/src/test/java/com/google/common/truth/extension/
DEmployeeSubject.java73 failWithActual(simpleFact("expected to be CEO")); in isCeo()
79 failWithActual(simpleFact("expected not to be CEO")); in isNotCeo()
/external/dagger2/java/dagger/model/testing/
DBindingGraphSubject.java142 failWithActual("expected to depend on binding with key", keyString); in dependsOnBindingWithKeyString()
/external/dagger2/java/dagger/spi/model/testing/
DBindingGraphSubject.java142 failWithActual("expected to depend on binding with key", keyString); in dependsOnBindingWithKeyString()