Home
last modified time | relevance | path

Searched defs:wanted (Results 1 – 25 of 42) sorted by relevance

12

/external/mockito/src/test/java/org/mockitousage/matchers/
DReflectionMatchersTest.java55 Child wanted = new Child(1, "foo", 2, "bar"); in shouldMatchWhenFieldValuesEqual() local
61 Child wanted = new Child(1, "foo", 2, "bar XXX"); in shouldNotMatchWhenFieldValuesDiffer() local
67 Child wanted = new Child(1, "foo", 999, "bar"); in shouldNotMatchAgain() local
73 Child wanted = new Child(1, "XXXXX", 2, "bar"); in shouldNotMatchYetAgain() local
79 Child wanted = new Child(234234, "foo", 2, "bar"); in shouldNotMatch() local
85 Child wanted = new Child(1, "foo", 2, "excluded"); in shouldMatchWhenFieldValuesEqualWithOneFieldExcluded() local
91 Child wanted = new Child(234234, "foo", 2, "excluded"); in shouldMatchWhenFieldValuesEqualWithTwoFieldsExcluded() local
98 Child wanted = new Child(234234, "foo", 2, "excluded"); in shouldNotMatchWithFieldsExclusion() local
/external/mockito/src/main/java/org/mockito/internal/invocation/
DInvocationsFinder.java23 …static List<Invocation> findInvocations(List<Invocation> invocations, MatchableInvocation wanted) { in findInvocations()
27 … findAllMatchingUnverifiedChunks(List<Invocation> invocations, MatchableInvocation wanted, InOrder… in findAllMatchingUnverifiedChunks()
47 …st<Invocation> findMatchingChunk(List<Invocation> invocations, MatchableInvocation wanted, int wan… in findMatchingChunk()
58 …private static List<Invocation> getFirstMatchingChunk(MatchableInvocation wanted, List<Invocation>… in getFirstMatchingChunk()
70 …irstMatchingUnverifiedInvocation(List<Invocation> invocations, MatchableInvocation wanted, InOrder… in findFirstMatchingUnverifiedInvocation()
79 …static Invocation findSimilarInvocation(List<Invocation> invocations, MatchableInvocation wanted) { in findSimilarInvocation()
142 private final MatchableInvocation wanted; field in InvocationsFinder.RemoveNotMatching
144 private RemoveNotMatching(MatchableInvocation wanted) { in RemoveNotMatching()
DInvocationMarker.java17 public static void markVerified(List<Invocation> invocations, MatchableInvocation wanted) { in markVerified()
23 public static void markVerified(Invocation invocation, MatchableInvocation wanted) { in markVerified()
28 …public static void markVerifiedInOrder(List<Invocation> chunk, MatchableInvocation wanted, InOrder… in markVerifiedInOrder()
/external/mockito/src/main/java/org/mockito/internal/junit/
DExceptionFactory.java20 …public static AssertionError createArgumentsAreDifferentException(String message, String wanted, S… in createArgumentsAreDifferentException()
27 …private static AssertionError createJUnitArgumentsAreDifferent(String message, String wanted, Stri… in createJUnitArgumentsAreDifferent()
48 static AssertionError create(String message, String wanted, String actual) { in create()
/external/mockito/src/main/java/org/mockito/internal/matchers/
DSame.java15 private final Object wanted; field in Same
17 public Same(Object wanted) { in Same()
DArrayEquals.java13 public ArrayEquals(Object wanted) { in ArrayEquals()
18 Object wanted = getWanted(); in matches() local
DEquals.java15 private final Object wanted; field in Equals
17 public Equals(Object wanted) { in Equals()
DEqualsWithDelta.java14 private final Number wanted; field in EqualsWithDelta
DCompareTo.java13 private final T wanted; field in CompareTo
/external/mockito/src/main/java/org/mockito/internal/matchers/apachecommons/
DReflectionEquals.java14 private final Object wanted; field in ReflectionEquals
17 public ReflectionEquals(Object wanted, String... excludeFields) { in ReflectionEquals()
/external/mockito/src/main/java/org/mockito/internal/reporting/
DSmartPrinter.java18 private final String wanted; field in SmartPrinter
21 …public SmartPrinter(MatchableInvocation wanted, Invocation actual, Integer ... indexesOfMatchersTo… in SmartPrinter()
/external/mockito/src/main/java/org/mockito/internal/verification/
DVerificationDataImpl.java20 private final InvocationMatcher wanted; field in VerificationDataImpl
23 public VerificationDataImpl(InvocationContainerImpl invocations, InvocationMatcher wanted) { in VerificationDataImpl()
DTimes.java34 MatchableInvocation wanted = data.getTarget(); in verify() local
44 MatchableInvocation wanted = data.getWanted(); in verifyInOrder() local
DCalls.java39 MatchableInvocation wanted = data.getWanted(); in verifyInOrder() local
DAtMost.java33 MatchableInvocation wanted = data.getTarget(); in verify() local
/external/mockito/src/main/java/org/mockito/internal/verification/api/
DVerificationDataInOrderImpl.java16 private final MatchableInvocation wanted; field in VerificationDataInOrderImpl
18 …aInOrderImpl(InOrderContext inOrder, List<Invocation> allInvocations, MatchableInvocation wanted) { in VerificationDataInOrderImpl()
/external/mockito/src/main/java/org/mockito/internal/verification/checkers/
DNumberOfInvocationsChecker.java32 …ic void checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wan… in checkNumberOfInvocations()
52 …ic void checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wan… in checkNumberOfInvocations()
69 …heckNumberOfInvocationsNonGreedy(List<Invocation> invocations, MatchableInvocation wanted, int wan… in checkNumberOfInvocationsNonGreedy()
DMissingInvocationChecker.java29 …blic static void checkMissingInvocation(List<Invocation> invocations, MatchableInvocation wanted) { in checkMissingInvocation()
47 …atic void checkMissingInvocation(List<Invocation> invocations, MatchableInvocation wanted, InOrder… in checkMissingInvocation()
DAtLeastXNumberOfInvocationsChecker.java24 … checkAtLeastNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wan… in checkAtLeastNumberOfInvocations()
36 … checkAtLeastNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wan… in checkAtLeastNumberOfInvocations()
/external/mockito/src/test/java/org/mockito/internal/verification/
DOnlyTest.java26 private final InvocationMatcher wanted; field in OnlyTest.VerificationDataStub
28 public VerificationDataStub(InvocationMatcher wanted, Invocation invocation) { in VerificationDataStub()
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java302 …public static AssertionError argumentsAreDifferent(String wanted, String actual, Location actualLo… in argumentsAreDifferent()
315 public static MockitoAssertionError wantedButNotInvoked(DescribedInvocation wanted) { in wantedButNotInvoked()
319 …public static MockitoAssertionError wantedButNotInvoked(DescribedInvocation wanted, List<? extends… in wantedButNotInvoked()
339 private static String createWantedButNotInvokedMessage(DescribedInvocation wanted) { in createWantedButNotInvokedMessage()
348 …public static MockitoAssertionError wantedButNotInvokedInOrder(DescribedInvocation wanted, Describ… in wantedButNotInvokedInOrder()
361 …ror tooManyActualInvocations(int wantedCount, int actualCount, DescribedInvocation wanted, Locatio… in tooManyActualInvocations()
366 …tring createTooManyInvocationsMessage(int wantedCount, int actualCount, DescribedInvocation wanted, in createTooManyInvocationsMessage()
378 …public static MockitoAssertionError neverWantedButInvoked(DescribedInvocation wanted, Location fir… in neverWantedButInvoked()
389 …ManyActualInvocationsInOrder(int wantedCount, int actualCount, DescribedInvocation wanted, Locatio… in tooManyActualInvocationsInOrder()
396 …ocationsMessage(org.mockito.internal.reporting.Discrepancy discrepancy, DescribedInvocation wanted, in createTooLittleInvocationsMessage()
[all …]
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/
DMissingInvocationCheckerTest.java25 private InvocationMatcher wanted; field in MissingInvocationCheckerTest
DMissingInvocationInOrderCheckerTest.java32 private InvocationMatcher wanted; field in MissingInvocationInOrderCheckerTest
/external/mockito/src/main/java/org/mockito/exceptions/verification/junit/
DArgumentsAreDifferent.java20 public ArgumentsAreDifferent(String message, String wanted, String actual) { in ArgumentsAreDifferent()
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dxkbcomp-priv.h105 const char *name, const char *wanted) in ReportBadType()

12