/external/mockito/src/org/mockito/internal/verification/checkers/ |
AtLeastXNumberOfInvocationsInOrderChecker.java | 10 import org.mockito.exceptions.Reporter; 20 private final Reporter reporter = new Reporter(); field in class:AtLeastXNumberOfInvocationsInOrderChecker 36 reporter.tooLittleActualInvocationsInOrder(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, lastLocation);
|
/libcore/dalvik/src/test/java/dalvik/system/ |
CloseGuardMonitor.java | 18 import dalvik.system.CloseGuard.Reporter; 40 * The {@link Reporter} instance used to receive warnings from {@link CloseGuard}. 42 private final Reporter closeGuardReporter; 58 // Save current reporter. 61 // Override the reporter with our own which collates the allocation sites. 62 CloseGuard.setReporter(new Reporter() { 102 // Restore the reporter.
|
/external/google-breakpad/src/common/ |
dwarf_cfi_to_module.h | 68 class Reporter { 70 // Create a reporter that writes messages to the standard error 74 Reporter(const string &file, const string §ion) 76 virtual ~Reporter() { } 131 // Use REPORTER for reporting problems encountered in the conversion 134 Reporter *reporter) 135 : module_(module), register_names_(register_names), reporter_(reporter), 169 // The reporter to use to report problems. 170 Reporter *reporter_ [all...] |
/external/mockito/src/org/mockito/internal/creation/ |
MockSettingsImpl.java | 8 import org.mockito.exceptions.Reporter;
39 new Reporter().extraInterfacesRequiresAtLeastOneInterface();
44 new Reporter().extraInterfacesDoesNotAcceptNullParameters();
46 new Reporter().extraInterfacesAcceptsOnlyInterfaces(i);
78 new Reporter().defaultAnswerDoesNotAcceptNullParameter();
109 new Reporter().invocationListenersRequiresAtLeastOneListener();
113 new Reporter().invocationListenerDoesNotAcceptNullParameters();
|
/external/skia/tests/ |
PointTest.cpp | 14 static void test_casts(skiatest::Reporter* reporter) { 21 REPORTER_ASSERT(reporter, p.asScalars() == pPtr); 22 REPORTER_ASSERT(reporter, r.asScalars() == rPtr); 26 static void test_Normalize(skiatest::Reporter* reporter, 33 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength)); 34 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(newLength, SK_Scalar1)); 39 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y [all...] |
RRectInPathTest.cpp | 15 static SkRRect path_contains_rrect(skiatest::Reporter* reporter, const SkPath& path) { 17 REPORTER_ASSERT(reporter, path.isRRect(&out)); 24 REPORTER_ASSERT(reporter, xorBoth.isEmpty()); 28 static SkRRect inner_path_contains_rrect(skiatest::Reporter* reporter, const SkRRect& in) { 39 return path_contains_rrect(reporter, path); 42 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRRect& in) { 43 SkRRect out = inner_path_contains_rrect(reporter, in) [all...] |
FrontBufferedStreamTest.cpp | 16 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, 22 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd()); 23 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0); 26 static void test_rewind(skiatest::Reporter* reporter, 29 REPORTER_ASSERT(reporter, success == shouldSucceed); 36 static void test_hasLength(skiatest::Reporter* reporter, 40 REPORTER_ASSERT(reporter, bufferedStream.hasLength()) [all...] |
GradientTest.cpp | 19 static void test_big_grad(skiatest::Reporter* reporter) { 48 void gradCheck(skiatest::Reporter* reporter, SkShader* shader, 57 REPORTER_ASSERT(reporter, shader->asAGradient(info) == gt); 59 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount); 60 REPORTER_ASSERT(reporter, 62 REPORTER_ASSERT(reporter, 64 REPORTER_ASSERT(reporter, fTileMode == info->fTileMode); 69 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&) [all...] |
DrawFilterTest.cpp | 29 static void test_saverestore(skiatest::Reporter* reporter) { 35 REPORTER_ASSERT(reporter, nullptr == canvas->getDrawFilter()); 39 REPORTER_ASSERT(reporter, nullptr != canvas->getDrawFilter()); 42 REPORTER_ASSERT(reporter, nullptr == canvas->getDrawFilter()); 45 DEF_TEST(DrawFilter, reporter) { 46 test_saverestore(reporter);
|
GrTRecorderTest.cpp | 30 static void test_empty_back_and_pop(skiatest::Reporter* reporter) { 39 REPORTER_ASSERT(reporter, recorder.empty()); 43 REPORTER_ASSERT(reporter, i == *GrNEW_APPEND_TO_RECORDER(recorder, 46 REPORTER_ASSERT(reporter, i == 51 REPORTER_ASSERT(reporter, !recorder.empty()); 52 REPORTER_ASSERT(reporter, i == recorder.back()); 56 REPORTER_ASSERT(reporter, !recorder.empty()); 57 REPORTER_ASSERT(reporter, i-1 == recorder.back()); 62 REPORTER_ASSERT(reporter, !recorder.empty()) [all...] |
PathOpsOpTest.cpp | 32 static void cubicOp1d(skiatest::Reporter* reporter, const char* filename) { 42 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); 45 static void cubicOp2d(skiatest::Reporter* reporter, const char* filename) { 55 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); 58 static void cubicOp3d(skiatest::Reporter* reporter, const char* filename) { 68 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); 71 static void cubicOp5d(skiatest::Reporter* reporter, const char* filename) [all...] |
/external/mockito/src/org/mockito/internal/ |
InOrderImpl.java | 12 import org.mockito.exceptions.Reporter; 28 private final Reporter reporter = new Reporter(); field in class:InOrderImpl 46 reporter.inOrderRequiresFamiliarMock();
|
/external/mockito/src/org/mockito/internal/configuration/ |
SpyAnnotationEngine.java | 9 import org.mockito.exceptions.Reporter;
56 new Reporter().cannotInitializeForSpyAnnotation(field.getName(), e);
81 new Reporter().unsupportedCombinationOfAnnotations(annotation.getSimpleName(), annotation.getClass().getSimpleName());
|
/external/mockito/src/org/mockito/internal/handler/ |
InvocationNotifierHandler.java | 7 import org.mockito.exceptions.Reporter;
53 new Reporter().invocationListenerThrewException(listener, listenerThrowable);
63 new Reporter().invocationListenerThrewException(listener, listenerThrowable);
|
/external/objenesis/tck/test/org/objenesis/tck/ |
TCKTest.java | 64 Reporter reporter = new RecordingReporter(); local 65 tck.runTests(reporter); 67 // Expect... the reporter to have received a sequence of calls 75 + "result(false)\n" + "endTest()\n" + "endTests()\n", reporter.toString()); 90 Reporter reporter = new RecordingReporter(); local 91 tck.runTests(reporter); 93 // Expect... the reporter to be notified that A succeeded 99 "endTest()\n" + "endTests()\n", reporter.toString()) [all...] |
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
test_main.cpp | 30 Reporter *TestCase::m_reporter = 0; 37 int TestCase::run(Reporter *in_reporter, const char *in_testName, bool invert) { 107 CPPUNIT_NS::Reporter* reporter; local 109 reporter = new FileReporter(fileName, doMonitoring); 111 reporter = new FileReporter(stdout, doMonitoring); 115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName, true); 117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName); 120 reporter->printSummary(); 121 delete reporter; [all...] |
/ndk/tests/device/test-stlport/unit/cppunit/ |
test_main.cpp | 30 Reporter *TestCase::m_reporter = 0; 37 int TestCase::run(Reporter *in_reporter, const char *in_testName, bool invert) { 107 CPPUNIT_NS::Reporter* reporter; local 109 reporter = new FileReporter(fileName, doMonitoring); 111 reporter = new FileReporter(stdout, doMonitoring); 115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName, true); 117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName); 120 reporter->printSummary(); 121 delete reporter; [all...] |
/external/mockito/src/org/mockito/internal/progress/ |
ArgumentMatcherStorageImpl.java | 9 import org.mockito.exceptions.Reporter; 96 new Reporter().reportNoSubMatchersFound(additionalMatcherName); 104 new Reporter().incorrectUseOfAdditionalMatchers(additionalMatcherName, count, lastMatchers); 115 new Reporter().misplacedArgumentMatcher(lastMatchers);
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
RemoveJavaDocTags.java | 19 import com.google.currysrc.api.process.Reporter; 44 protected void visit(Reporter reporter, Javadoc javadoc, ASTRewrite rewrite) {
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/ |
CheckForBrokenJciteTag.java | 19 import com.google.currysrc.api.process.Reporter; 45 protected String processComment(Reporter reporter, Comment commentNode, String commentText) { 53 reporter.info( 56 reporter.info(
|
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/ |
InjectMocksScanner.java | 11 import org.mockito.exceptions.Reporter; 64 new Reporter().unsupportedCombinationOfAnnotations(annotation.getSimpleName(), InjectMocks.class.getSimpleName());
|
/external/mockito/src/org/mockito/internal/matchers/ |
VarargCapturingMatcher.java | 5 import org.mockito.exceptions.Reporter; 30 new Reporter().noArgumentValueWasCaptured();
|
/external/mockito/src/org/mockito/internal/stubbing/ |
OngoingStubbingImpl.java | 7 import org.mockito.exceptions.Reporter;
25 new Reporter().incorrectUseOfApi();
|
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsSmartNulls.java | 11 import org.mockito.exceptions.Reporter;
70 new Reporter().smartNullPointerException(unstubbedInvocation.toString(), location);
|
/external/mockito/src/org/mockito/internal/verification/ |
AtMost.java | 10 import org.mockito.exceptions.Reporter; 39 new Reporter().wantedAtMostX(maxNumberOfInvocations, foundSize);
|