/external/objenesis/tck/src/main/java/org/objenesis/tck/ |
Reporter.java | 34 public interface Reporter {
|
Main.java | 68 TextReporter reporter = new TextReporter(System.out, System.err); local 70 boolean result = run(reporter); 72 reporter.printResult(result); 74 if(reporter.hasErrors()) { 82 * @param reporter result are recorded in the reporter 85 public static boolean run(Reporter reporter) { 86 runStandardTest(new ObjenesisStd(), reporter); 87 runSerializerTest(new ObjenesisSerializer(), reporter); [all...] |
/external/skia/tests/ |
GpuRectanizerTest.cpp | 21 static void test_rectanizer_basic(skiatest::Reporter* reporter, GrRectanizer* rectanizer) { 22 REPORTER_ASSERT(reporter, kWidth == rectanizer->width()); 23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height()); 27 REPORTER_ASSERT(reporter, rectanizer->addRect(50, 50, &loc)); 28 REPORTER_ASSERT(reporter, rectanizer->percentFull() > 0.0f); 30 REPORTER_ASSERT(reporter, rectanizer->percentFull() == 0.0f); 33 static void test_rectanizer_inserts(skiatest::Reporter*, 47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) [all...] |
Test.h | 40 class Reporter : SkNoncopyable { 42 virtual ~Reporter() {} 74 #define REPORT_FAILURE(reporter, cond, message) \ 75 reporter->reportFailedWithContext(skiatest::Failure(__FILE__, __LINE__, cond, message)) 79 ReporterContext(Reporter* reporter, const SkString& message) : fReporter(reporter) { 87 Reporter* fReporter; 90 typedef void (*TestProc)(skiatest::Reporter*, sk_gpu_test::GrContextFactory*); 106 DEF_TEST(TestName, reporter) { [all...] |
MemsetTest.cpp | 27 static void compare16(skiatest::Reporter* r, const uint16_t base[], 37 static void compare32(skiatest::Reporter* r, const uint32_t base[], 47 static void test_16(skiatest::Reporter* reporter) { 57 compare16(reporter, buffer, 0, PAD + alignment); 58 compare16(reporter, base, VALUE16, count); 59 compare16(reporter, base + count, 0, TOTAL - count - PAD - alignment); 64 static void test_32(skiatest::Reporter* reporter) { 74 compare32(reporter, buffer, 0, PAD + alignment) [all...] |
PathOpsThreadedCommon.h | 22 class Reporter; 33 skiatest::Reporter* fReporter; 42 PathOpsThreadedTestRunner(skiatest::Reporter* reporter) : fReporter(reporter) {} 50 skiatest::Reporter* fReporter;
|
PointTest.cpp | 13 static void test_casts(skiatest::Reporter* reporter) { 20 REPORTER_ASSERT(reporter, p.asScalars() == pPtr); 21 REPORTER_ASSERT(reporter, r.asScalars() == rPtr); 25 static void test_Normalize(skiatest::Reporter* reporter, 32 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength)); 33 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(newLength, SK_Scalar1)); 38 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y [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...] |
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);
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
BaseDexClassLoaderTest.java | 32 private static class Reporter implements BaseDexClassLoader.Reporter { 50 // Set the reporter. 51 Reporter reporter = new Reporter(); local 52 BaseDexClassLoader.setReporter(reporter); 56 // Verify the reporter files. 57 assertEquals(1, reporter.loadedDexPaths.size()); 58 assertEquals(jar.getPath(), reporter.loadedDexPaths.get(0)) [all...] |
/external/google-breakpad/src/common/mac/ |
macho_reader.h | 77 class Reporter { 79 // Create a reporter that attributes problems to |filename|. 80 explicit Reporter(const string &filename) : filename_(filename) { } 82 virtual ~Reporter() { } 102 // Create a fat binary file reader that uses |reporter| to report problems. 103 explicit FatReader(Reporter *reporter) : reporter_(reporter) { } 141 Reporter *reporter_; 235 class Reporter { [all...] |
/external/testng/src/test/java/test/hook/ |
HookSuccess599Test.java | 6 import org.testng.Reporter; 41 Reporter.log("output from hook test.verify");
|
HookSuccessTest.java | 6 import org.testng.Reporter; 41 Reporter.log("output from hook test.verify");
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
Timer.java | 7 import static org.mockito.internal.exceptions.Reporter.cannotCreateTimerWithNegativeDurationTime;
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
BaseJavadocNodeScanner.java | 21 import com.google.currysrc.api.process.Reporter; 40 Reporter reporter = context.reporter(); local 44 visit(reporter, javadoc, rewrite); 49 protected abstract void visit(Reporter reporter, Javadoc javadoc, ASTRewrite rewrite);
|
BaseModifyCommentScanner.java | 21 import com.google.currysrc.api.process.Reporter; 40 Reporter reporter = context.reporter(); local 45 String newCommentText = processComment(reporter, comment, commentText); 60 protected abstract String processComment(Reporter reporter, Comment commentNode,
|
/frameworks/base/cmds/incidentd/src/ |
Reporter.h | 72 class Reporter : public virtual RefBase 83 Reporter(); 84 virtual ~Reporter();
|
IncidentService.cpp | 21 #include "Reporter.h" 146 sp<Reporter> reporter = new Reporter(); local 155 reporter->batch.add(request); 156 reporter->args.merge(request->args); 162 Reporter::run_report_status_t reportStatus = reporter->runReport(); 163 if (reportStatus == Reporter::REPORT_NEEDS_DROPBOX) { 172 if (Reporter::upload_backlog() == Reporter::REPORT_NEEDS_DROPBOX) [all...] |
/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/main/java/org/mockito/internal/progress/ |
ArgumentMatcherStorageImpl.java | 15 import static org.mockito.internal.exceptions.Reporter.incorrectUseOfAdditionalMatchers; 16 import static org.mockito.internal.exceptions.Reporter.misplacedArgumentMatcher; 17 import static org.mockito.internal.exceptions.Reporter.reportNoSubMatchersFound;
|
/external/mockito/src/main/java/org/mockito/internal/verification/checkers/ |
MissingInvocationChecker.java | 8 import static org.mockito.internal.exceptions.Reporter.argumentsAreDifferent; 9 import static org.mockito.internal.exceptions.Reporter.wantedButNotInvoked; 10 import static org.mockito.internal.exceptions.Reporter.wantedButNotInvokedInOrder;
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
DefaultAnswerValidator.java | 10 import static org.mockito.internal.exceptions.Reporter.wrongTypeReturnedByDefaultAnswer;
|
DoesNothing.java | 13 import static org.mockito.internal.exceptions.Reporter.onlyVoidMethodsCanBeSetToDoNothing;
|
ReturnsArgumentAt.java | 9 import org.mockito.internal.exceptions.Reporter; 40 throw Reporter.invalidArgumentRangeAtIdentityAnswerCreationTime(); 74 throw Reporter.invalidArgumentPositionRangeAtInvocationTime(invocation, 84 throw Reporter.wrongTypeOfArgumentToReturn(invocation,
|
/libcore/dalvik/src/main/java/dalvik/system/ |
BaseDexClassLoader.java | 43 /* @NonNull */ private static volatile Reporter reporter = null; field in class:BaseDexClassLoader 67 if (reporter != null) { 68 reporter.report(this.pathList.getDexPaths()); 187 * Sets the reporter for dex load notifications. 191 * @param newReporter the new Reporter. Setting null will cancel reporting. 194 public static void setReporter(Reporter newReporter) { 195 reporter = newReporter; 201 public static Reporter getReporter() { 202 return reporter; [all...] |