/external/mockito/src/org/mockito/internal/reporting/ |
Discrepancy.java | 10 private final int actualCount;
12 public Discrepancy(int wantedCount, int actualCount) {
14 this.actualCount = actualCount;
26 return actualCount;
30 return Pluralizer.pluralize(actualCount);
|
/external/mockito/src/org/mockito/exceptions/ |
Discrepancy.java | 14 public Discrepancy(int wantedCount, int actualCount) {
15 super(wantedCount, actualCount);
|
Reporter.java | 351 public void tooManyActualInvocations(int wantedCount, int actualCount, DescribedInvocation wanted, Location firstUndesired) { 352 String message = createTooManyInvocationsMessage(wantedCount, actualCount, wanted, firstUndesired); 356 private String createTooManyInvocationsMessage(int wantedCount, int actualCount, DescribedInvocation wanted, 362 "But was " + pluralize(actualCount) + ". Undesired invocation:", 379 public void tooManyActualInvocationsInOrder(int wantedCount, int actualCount, DescribedInvocation wanted, Location firstUndesired) { 380 String message = createTooManyInvocationsMessage(wantedCount, actualCount, wanted, firstUndesired); [all...] |
/external/easymock/src/org/easymock/internal/ |
ErrorMessage.java | 24 private final int actualCount;
26 public ErrorMessage(boolean matching, String message, int actualCount) {
29 this.actualCount = actualCount;
41 return actualCount;
|
/external/mockito/src/org/mockito/internal/verification/checkers/ |
AtLeastDiscrepancy.java | 11 public AtLeastDiscrepancy(int wantedCount, int actualCount) {
12 super(wantedCount, actualCount);
|
NumberOfInvocationsChecker.java | 36 int actualCount = actualInvocations.size(); 37 if (wantedCount > actualCount) { 39 reporter.tooLittleActualInvocations(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation); 40 } else if (wantedCount == 0 && actualCount > 0) { 43 } else if (wantedCount < actualCount) { 45 reporter.tooManyActualInvocations(wantedCount, actualCount, wanted, firstUndesired);
|
NumberOfInvocationsInOrderChecker.java | 37 int actualCount = chunk.size(); 39 if (wantedCount > actualCount) { 41 reporter.tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation); 42 } else if (wantedCount < actualCount) { 44 reporter.tooManyActualInvocationsInOrder(wantedCount, actualCount, wanted, firstUndesired);
|
AtLeastXNumberOfInvocationsChecker.java | 26 int actualCount = actualInvocations.size(); 27 if (wantedCount > actualCount) { 29 reporter.tooLittleActualInvocations(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, lastLocation);
|
NonGreedyNumberOfInvocationsInOrderChecker.java | 36 int actualCount = 0; 38 while( actualCount < wantedCount ){ 41 reporter.tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastLocation ); 46 actualCount++;
|
AtLeastXNumberOfInvocationsInOrderChecker.java | 32 int actualCount = chunk.size(); 34 if (wantedCount > actualCount) { 36 reporter.tooLittleActualInvocationsInOrder(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, lastLocation);
|
/external/skia/src/gpu/batches/ |
GrTessellatingPathRenderer.cpp | 48 bool cache_match(GrVertexBuffer* vertexBuffer, SkScalar tol, int* actualCount) { 56 *actualCount = info->fCount; 163 int actualCount; 167 if (!cache_match(vertexBuffer.get(), tol, &actualCount)) { 169 actualCount = this->tessellate(&key, rp, vertexBuffer, canMapVB); 172 if (actualCount == 0) { 201 vertices.init(primitiveType, vertexBuffer.get(), 0, actualCount);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
SpannableStringUtilsTests.java | 61 final int actualCount; 64 actualCount = spanned.getSpans(0, spanned.length(), Object.class).length; 66 actualCount = 0; 68 assertEquals(expectedCount, actualCount);
|
/external/icu/icu4c/source/test/intltest/ |
bidiconf.cpp | 46 UBool checkLevels(const UBiDiLevel actualLevels[], int32_t actualCount); 571 static uint32_t getDirectionBits(const UBiDiLevel actualLevels[], int32_t actualCount) { 573 for(int32_t i=0; i<actualCount; ++i) { 579 UBool BiDiConformanceTest::checkLevels(const UBiDiLevel actualLevels[], int32_t actualCount) { 581 if(levelsCount!=actualCount) { 583 (int)lineNumber, (int)levelsCount, (int)actualCount); 586 for(int32_t i=0; i<actualCount; ++i) { 588 if(directionBits!=3 && directionBits==getDirectionBits(actualLevels, actualCount)) { 611 for(i=0; i<actualCount; ++i) {
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/ |
CountModifierTest.java | 232 int actualCount = getStaticIntField(DEBUGGEE_SIGNATURE, countFieldName); 233 assertEquals("Invalid event count", expectedCount, actualCount);
|
/frameworks/support/v4/tests/java/android/support/v4/testutils/ |
TestUtilsMatchers.java | 248 int actualCount = item.size(); 251 if (actualCount != expectedCount) { 253 actualCount;
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
TestUtils.java | 271 int actualCount = actualEntry.getValue(); 273 int diff = actualCount - ((expectedCount != null) ? expectedCount : 0); 282 Integer actualCount = actualFreq.get(expectedEntry.getKey()); 283 int diff = expectedCount - ((actualCount != null) ? actualCount : 0); [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
AbstractContactAggregator.java | 461 final int actualCount; 464 actualCount = c.getCount(); 465 rawContactIds = new long[actualCount]; 466 contactIds = new long[actualCount]; 467 accountIds = new long[actualCount]; 484 for (int i = 0; i < actualCount; i++) { 490 EventLog.writeEvent(LOG_SYNC_CONTACTS_AGGREGATION, elapsedTime, actualCount); 493 Log.d(TAG, "Contact aggregation complete: " + actualCount + 494 (actualCount == 0 ? "" : ", " + (elapsedTime / actualCount) [all...] |
/external/skia/src/gpu/ |
GrTessellator.cpp | [all...] |
/prebuilts/devtools/tools/lib/ |
easymock-3.3.jar | |
/prebuilts/tools/common/easymock-tools/ |
easymock-3.1.jar | |
/prebuilts/tools/common/m2/repository/org/easymock/easymock/3.1/ |
easymock-3.1.jar | |
/prebuilts/tools/common/m2/repository/org/easymock/easymock/3.3/ |
easymock-3.3.jar | |
/external/robolectric/v1/lib/test/ |
mockito-core-1.8.5.jar | |
/external/dexmaker/lib/ |
mockito-core-1.9.1-SNAPSHOT.jar | |
/prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/ |
mockito-all-1.9.5.jar | |