/external/skqp/tests/ |
D | PathOpsExtendedTest.h | 19 void (*fun)(skiatest::Reporter*, const char* filename); 24 extern int comparePaths(skiatest::Reporter* reporter, const char* filename, 27 inline int comparePaths(skiatest::Reporter* reporter, const char* filename, in comparePaths() 36 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 38 extern bool testPathOpCheck(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 40 extern bool testPathOpFail(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 42 extern bool testPathOpFuzz(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 46 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename); 47 extern bool testSimplifyCheck(skiatest::Reporter* reporter, const SkPath& path, 49 extern bool testSimplifyFail(skiatest::Reporter* reporter, const SkPath& path, [all …]
|
D | Test.h | 31 class Reporter : SkNoncopyable { 33 virtual ~Reporter() {} in ~Reporter() 70 ReporterContext(Reporter* reporter, const SkString& message) : fReporter(reporter) { in ReporterContext() 78 Reporter* fReporter; 81 typedef void (*TestProc)(skiatest::Reporter*, const GrContextOptions&); 98 void run(skiatest::Reporter* r, const GrContextOptions& options) const { in run() 127 typedef void GrContextTestFn(Reporter*, const sk_gpu_test::ContextInfo&); 135 void RunWithGPUTestContexts(GrContextTestFn*, GrContextTypeFilterFn*, Reporter*, 180 static void test_##name(skiatest::Reporter*, const GrContextOptions&); \ 182 void test_##name(skiatest::Reporter* reporter, const GrContextOptions&) [all …]
|
D | PathOpsSimplifyTest.cpp | 11 static void testLine1(skiatest::Reporter* reporter, const char* filename) { in testLine1() 20 static void testLine1x(skiatest::Reporter* reporter, const char* filename) { in testLine1x() 58 static void testLine2(skiatest::Reporter* reporter, const char* filename) { in testLine2() 65 static void testLine2x(skiatest::Reporter* reporter, const char* filename) { in testLine2x() 73 static void testLine3(skiatest::Reporter* reporter, const char* filename) { in testLine3() 80 static void testLine3x(skiatest::Reporter* reporter, const char* filename) { in testLine3x() 88 static void testLine3a(skiatest::Reporter* reporter, const char* filename) { in testLine3a() 95 static void testLine3ax(skiatest::Reporter* reporter, const char* filename) { in testLine3ax() 103 static void testLine3b(skiatest::Reporter* reporter, const char* filename) { in testLine3b() 110 static void testLine3bx(skiatest::Reporter* reporter, const char* filename) { in testLine3bx() [all …]
|
D | VkHardwareBufferTest.cpp | 46 virtual bool init(skiatest::Reporter* reporter) = 0; 51 virtual sk_sp<SkImage> importHardwareBufferForRead(skiatest::Reporter* reporter, 53 virtual sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter, 57 virtual bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) = 0; 58 virtual bool importAndWaitOnSemaphore(skiatest::Reporter* reporter, int fdHandle, 98 bool init(skiatest::Reporter* reporter) override; 100 sk_sp<SkImage> importHardwareBufferForRead(skiatest::Reporter* reporter, 102 sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter, 106 bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) override; 107 bool importAndWaitOnSemaphore(skiatest::Reporter* reporter, int fdHandle, [all …]
|
D | GradientTest.cpp | 21 static void test_big_grad(skiatest::Reporter* reporter) { in test_big_grad() 50 void gradCheck(skiatest::Reporter* reporter, const sk_sp<SkShader>& shader, in gradCheck() 71 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&, const GradRec&) { in none_gradproc() 76 static void color_gradproc(skiatest::Reporter* reporter, const GradRec& rec, const GradRec&) { in color_gradproc() 87 static void linear_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, in linear_gradproc() 97 static void radial_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, in radial_gradproc() 109 static void sweep_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, in sweep_gradproc() 120 static void conical_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, in conical_gradproc() 138 static void TestConstantGradient(skiatest::Reporter*) { in TestConstantGradient() argument 159 typedef void (*GradProc)(skiatest::Reporter* reporter, const GradRec&, const GradRec&); [all …]
|
D | PathOpsOpTest.cpp | 33 static void cubicOp1d(skiatest::Reporter* reporter, const char* filename) { in cubicOp1d() 46 static void cubicOp2d(skiatest::Reporter* reporter, const char* filename) { in cubicOp2d() 59 static void cubicOp3d(skiatest::Reporter* reporter, const char* filename) { in cubicOp3d() 72 static void cubicOp5d(skiatest::Reporter* reporter, const char* filename) { in cubicOp5d() 85 static void cubicOp6d(skiatest::Reporter* reporter, const char* filename) { in cubicOp6d() 98 static void cubicOp7d(skiatest::Reporter* reporter, const char* filename) { in cubicOp7d() 111 static void cubicOp8d(skiatest::Reporter* reporter, const char* filename) { in cubicOp8d() 124 static void cubicOp9d(skiatest::Reporter* reporter, const char* filename) { in cubicOp9d() 137 static void quadOp9d(skiatest::Reporter* reporter, const char* filename) { in quadOp9d() 152 static void lineOp9d(skiatest::Reporter* reporter, const char* filename) { in lineOp9d() [all …]
|
D | RRectInPathTest.cpp | 14 static SkRRect path_contains_rrect(skiatest::Reporter* reporter, const SkPath& path, in path_contains_rrect() 43 static SkRRect inner_path_contains_rrect(skiatest::Reporter* reporter, const SkRRect& in, in inner_path_contains_rrect() 62 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRRect& in, in path_contains_rrect_check() 71 static void path_contains_rrect_nocheck(skiatest::Reporter* reporter, const SkRRect& in, in path_contains_rrect_nocheck() 79 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRect& r, in path_contains_rrect_check() 93 static void force_path_contains_rrect(skiatest::Reporter* reporter, SkPath& path, in force_path_contains_rrect() 102 static void test_undetected_paths(skiatest::Reporter* reporter) { in test_undetected_paths() 172 static void test_tricky_radii(skiatest::Reporter* reporter) { in test_tricky_radii() 199 static void test_empty_crbug_458524(skiatest::Reporter* reporter) { in test_empty_crbug_458524() 217 static void test_inset(skiatest::Reporter* reporter) { in test_inset() [all …]
|
D | PointTest.cpp | 13 static void test_casts(skiatest::Reporter* reporter) { in test_casts() 25 static void test_Normalize(skiatest::Reporter* reporter, in test_Normalize() 36 static void test_normalize_cannormalize_consistent(skiatest::Reporter* reporter) { in test_normalize_cannormalize_consistent() 56 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y, in test_length() 77 template <typename T> T get_value(skiatest::Reporter* reporter, T value) { in get_value() 88 static float force_as_float(skiatest::Reporter* reporter, float value) { in force_as_float() 103 static void test_overflow(skiatest::Reporter* reporter) { in test_overflow() 126 static void test_underflow(skiatest::Reporter* reporter) { in test_underflow()
|
D | FrontBufferedStreamTest.cpp | 16 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, in test_read() 26 static void test_rewind(skiatest::Reporter* reporter, in test_rewind() 36 static void test_hasLength(skiatest::Reporter* reporter, in test_hasLength() 53 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { in test_incremental_buffering() 85 static void test_perfectly_sized_buffer(skiatest::Reporter* reporter, size_t bufferSize) { in test_perfectly_sized_buffer() 105 static void test_skipping(skiatest::Reporter* reporter, size_t bufferSize) { in test_skipping() 156 static void test_read_beyond_buffer(skiatest::Reporter* reporter, size_t bufferSize) { in test_read_beyond_buffer() 205 static void test_length_combos(skiatest::Reporter* reporter, size_t bufferSize) { in test_length_combos() 218 static void test_initial_offset(skiatest::Reporter* reporter, size_t bufferSize) { in test_initial_offset() 249 static void test_buffers(skiatest::Reporter* reporter, size_t bufferSize) { in test_buffers()
|
/external/skia/tests/ |
D | PathOpsExtendedTest.h | 19 void (*fun)(skiatest::Reporter*, const char* filename); 24 extern int comparePaths(skiatest::Reporter* reporter, const char* filename, 27 inline int comparePaths(skiatest::Reporter* reporter, const char* filename, in comparePaths() 36 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 38 extern bool testPathOpCheck(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 40 extern bool testPathOpFail(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 42 extern bool testPathOpFuzz(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 46 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename); 47 extern bool testSimplifyCheck(skiatest::Reporter* reporter, const SkPath& path, 49 extern bool testSimplifyFail(skiatest::Reporter* reporter, const SkPath& path, [all …]
|
D | Test.h | 31 class Reporter : SkNoncopyable { 33 virtual ~Reporter() {} in ~Reporter() 58 ReporterContext(Reporter* reporter, const SkString& message) : fReporter(reporter) { in ReporterContext() 66 Reporter* fReporter; 69 typedef void (*TestProc)(skiatest::Reporter*, const GrContextOptions&); 86 void run(skiatest::Reporter* r, const GrContextOptions& options) const { in run() 115 typedef void GrContextTestFn(Reporter*, const sk_gpu_test::ContextInfo&); 123 void RunWithGPUTestContexts(GrContextTestFn*, GrContextTypeFilterFn*, Reporter*, 168 static void test_##name(skiatest::Reporter*, const GrContextOptions&); \ 170 void test_##name(skiatest::Reporter* reporter, const GrContextOptions&) [all …]
|
D | PathOpsSimplifyTest.cpp | 11 static void testLine1(skiatest::Reporter* reporter, const char* filename) { in testLine1() 20 static void testLine1x(skiatest::Reporter* reporter, const char* filename) { in testLine1x() 58 static void testLine2(skiatest::Reporter* reporter, const char* filename) { in testLine2() 65 static void testLine2x(skiatest::Reporter* reporter, const char* filename) { in testLine2x() 73 static void testLine3(skiatest::Reporter* reporter, const char* filename) { in testLine3() 80 static void testLine3x(skiatest::Reporter* reporter, const char* filename) { in testLine3x() 88 static void testLine3a(skiatest::Reporter* reporter, const char* filename) { in testLine3a() 95 static void testLine3ax(skiatest::Reporter* reporter, const char* filename) { in testLine3ax() 103 static void testLine3b(skiatest::Reporter* reporter, const char* filename) { in testLine3b() 110 static void testLine3bx(skiatest::Reporter* reporter, const char* filename) { in testLine3bx() [all …]
|
D | VkHardwareBufferTest.cpp | 46 virtual bool init(skiatest::Reporter* reporter) = 0; 51 virtual sk_sp<SkImage> importHardwareBufferForRead(skiatest::Reporter* reporter, 53 virtual sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter, 57 virtual bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) = 0; 58 virtual bool importAndWaitOnSemaphore(skiatest::Reporter* reporter, int fdHandle, 98 bool init(skiatest::Reporter* reporter) override; 100 sk_sp<SkImage> importHardwareBufferForRead(skiatest::Reporter* reporter, 102 sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter, 106 bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) override; 107 bool importAndWaitOnSemaphore(skiatest::Reporter* reporter, int fdHandle, [all …]
|
D | GradientTest.cpp | 21 static void test_big_grad(skiatest::Reporter* reporter) { in test_big_grad() 50 void gradCheck(skiatest::Reporter* reporter, const sk_sp<SkShader>& shader, in gradCheck() 71 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&, const GradRec&) { in none_gradproc() 76 static void color_gradproc(skiatest::Reporter* reporter, const GradRec& rec, const GradRec&) { in color_gradproc() 87 static void linear_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, in linear_gradproc() 97 static void radial_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, in radial_gradproc() 109 static void sweep_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, in sweep_gradproc() 120 static void conical_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, in conical_gradproc() 138 static void TestConstantGradient(skiatest::Reporter*) { in TestConstantGradient() argument 159 typedef void (*GradProc)(skiatest::Reporter* reporter, const GradRec&, const GradRec&); [all …]
|
D | PathOpsOpTest.cpp | 33 static void cubicOp1d(skiatest::Reporter* reporter, const char* filename) { in cubicOp1d() 46 static void cubicOp2d(skiatest::Reporter* reporter, const char* filename) { in cubicOp2d() 59 static void cubicOp3d(skiatest::Reporter* reporter, const char* filename) { in cubicOp3d() 72 static void cubicOp5d(skiatest::Reporter* reporter, const char* filename) { in cubicOp5d() 85 static void cubicOp6d(skiatest::Reporter* reporter, const char* filename) { in cubicOp6d() 98 static void cubicOp7d(skiatest::Reporter* reporter, const char* filename) { in cubicOp7d() 111 static void cubicOp8d(skiatest::Reporter* reporter, const char* filename) { in cubicOp8d() 124 static void cubicOp9d(skiatest::Reporter* reporter, const char* filename) { in cubicOp9d() 137 static void quadOp9d(skiatest::Reporter* reporter, const char* filename) { in quadOp9d() 152 static void lineOp9d(skiatest::Reporter* reporter, const char* filename) { in lineOp9d() [all …]
|
D | RRectInPathTest.cpp | 14 static SkRRect path_contains_rrect(skiatest::Reporter* reporter, const SkPath& path, in path_contains_rrect() 43 static SkRRect inner_path_contains_rrect(skiatest::Reporter* reporter, const SkRRect& in, in inner_path_contains_rrect() 62 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRRect& in, in path_contains_rrect_check() 71 static void path_contains_rrect_nocheck(skiatest::Reporter* reporter, const SkRRect& in, in path_contains_rrect_nocheck() 79 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRect& r, in path_contains_rrect_check() 93 static void force_path_contains_rrect(skiatest::Reporter* reporter, SkPath& path, in force_path_contains_rrect() 102 static void test_undetected_paths(skiatest::Reporter* reporter) { in test_undetected_paths() 172 static void test_tricky_radii(skiatest::Reporter* reporter) { in test_tricky_radii() 199 static void test_empty_crbug_458524(skiatest::Reporter* reporter) { in test_empty_crbug_458524() 217 static void test_inset(skiatest::Reporter* reporter) { in test_inset() [all …]
|
D | FrontBufferedStreamTest.cpp | 16 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, in test_read() 26 static void test_rewind(skiatest::Reporter* reporter, in test_rewind() 36 static void test_hasLength(skiatest::Reporter* reporter, in test_hasLength() 53 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { in test_incremental_buffering() 85 static void test_perfectly_sized_buffer(skiatest::Reporter* reporter, size_t bufferSize) { in test_perfectly_sized_buffer() 105 static void test_skipping(skiatest::Reporter* reporter, size_t bufferSize) { in test_skipping() 156 static void test_read_beyond_buffer(skiatest::Reporter* reporter, size_t bufferSize) { in test_read_beyond_buffer() 205 static void test_length_combos(skiatest::Reporter* reporter, size_t bufferSize) { in test_length_combos() 218 static void test_initial_offset(skiatest::Reporter* reporter, size_t bufferSize) { in test_initial_offset() 249 static void test_buffers(skiatest::Reporter* reporter, size_t bufferSize) { in test_buffers()
|
/external/grpc-grpc/test/cpp/qps/ |
D | report.h | 37 class Reporter { 40 Reporter(const string& name) : name_(name) {} in Reporter() function 42 virtual ~Reporter() {} in ~Reporter() 75 class CompositeReporter : public Reporter { 77 CompositeReporter() : Reporter("CompositeReporter") {} in CompositeReporter() 80 void add(std::unique_ptr<Reporter> reporter); 91 std::vector<std::unique_ptr<Reporter> > reporters_; 95 class GprLogReporter : public Reporter { 97 GprLogReporter(const string& name) : Reporter(name) {} in GprLogReporter() 113 class JsonReporter : public Reporter { [all …]
|
D | benchmark_config.cc | 63 static std::shared_ptr<Reporter> InitBenchmarkReporters() { in InitBenchmarkReporters() 67 std::unique_ptr<Reporter>(new GprLogReporter("LogReporter"))); in InitBenchmarkReporters() 70 composite_reporter->add(std::unique_ptr<Reporter>( in InitBenchmarkReporters() 79 composite_reporter->add(std::unique_ptr<Reporter>(new RpcReporter( in InitBenchmarkReporters() 84 return std::shared_ptr<Reporter>(composite_reporter); in InitBenchmarkReporters() 87 std::shared_ptr<Reporter> GetReporter() { in GetReporter() 88 static std::shared_ptr<Reporter> reporter(InitBenchmarkReporters()); in GetReporter()
|
/external/testng/src/test/java/test/simple/ |
D | IncludedExcludedSampleTest.java | 3 import org.testng.Reporter; 14 Reporter.log("beforeSuite"); in beforeSuite() 19 Reporter.log("beforeTest"); in beforeTest() 24 Reporter.log("beforeTestClass"); in beforeTestClass() 29 Reporter.log("beforeTestMethod"); in beforeTestMethod() 34 Reporter.log("Child.test1"); in test1() 39 Reporter.log("Child.test2"); in test2() 44 Reporter.log("Child.test3"); in test3()
|
/external/mockito/src/test/java/org/mockito/internal/exceptions/ |
D | ReporterTest.java | 29 …throw Reporter.tooLittleActualInvocations(new org.mockito.internal.reporting.Discrepancy(1, 2), ne… in should_let_passing_null_last_actual_stack_trace() 34 throw Reporter.methodDoesNotAcceptParameter("invocationListeners", "null vararg array"); in should_throw_correct_exception_for_null_invocation_listener() 40 …throw Reporter.noMoreInteractionsWanted(invocation_with_bogus_default_answer, Collections.<Verific… in can_use_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_no_more_interaction_wanted() 46 throw Reporter.noMoreInteractionsWantedInOrder(invocation_with_bogus_default_answer); in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_no_more_interaction_wanted_in_order() 52 …throw Reporter.invalidArgumentPositionRangeAtInvocationTime(invocation_with_bogus_default_answer, … in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_invalid_argument_position() 58 …throw Reporter.wrongTypeOfArgumentToReturn(invocation_with_bogus_default_answer, "", String.class,… in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_wrong_argument_to_return() 65 …throw Reporter.delegatedMethodDoesNotExistOnDelegate(dumb_invocation.getMethod(), mock_with_bogus_… in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_delegate_method_dont_exists() 72 …throw Reporter.delegatedMethodHasWrongReturnType(dumb_invocation.getMethod(), dumb_invocation.getM… in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_delegate_method_has_wrong_return_type() 78 …throw Reporter.cannotInjectDependency(someField(), mock_with_bogus_default_answer, new Exception()… in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_injection_failure()
|
/external/google-breakpad/src/common/mac/ |
D | macho_reader.h | 77 class Reporter { 80 explicit Reporter(const string &filename) : filename_(filename) { } in Reporter() function 82 virtual ~Reporter() { } in ~Reporter() 103 explicit FatReader(Reporter *reporter) : reporter_(reporter) { } in FatReader() 141 Reporter *reporter_; 235 class Reporter { 238 explicit Reporter(const string &filename) : filename_(filename) { } in Reporter() function 239 virtual ~Reporter() { } in ~Reporter() 360 explicit Reader(Reporter *reporter) in Reader() 427 Reporter *reporter_;
|
D | macho_reader.cc | 67 void FatReader::Reporter::BadHeader() { in BadHeader() 72 void FatReader::Reporter::TooShort() { in TooShort() 77 void FatReader::Reporter::MisplacedObjectFile() { in MisplacedObjectFile() 156 void Reader::Reporter::BadHeader() { in BadHeader() 160 void Reader::Reporter::CPUTypeMismatch(cpu_type_t cpu_type, in CPUTypeMismatch() 170 void Reader::Reporter::HeaderTruncated() { in HeaderTruncated() 175 void Reader::Reporter::LoadCommandRegionTruncated() { in LoadCommandRegionTruncated() 180 void Reader::Reporter::LoadCommandsOverrun(size_t claimed, size_t i, in LoadCommandsOverrun() 189 void Reader::Reporter::LoadCommandTooShort(size_t i, LoadCommandType type) { in LoadCommandTooShort() 195 void Reader::Reporter::SectionsMissing(const string &name) { in SectionsMissing() [all …]
|
/external/testng/src/test/java/test/ |
D | ReporterApiTest.java | 3 import org.testng.Reporter; 15 Reporter.log("foo"); in testApi() 16 Reporter.log("foo", false); in testApi() 17 Reporter.log("foo", 2); in testApi() 18 Reporter.log("foo", 2, false); in testApi()
|
/external/testng/src/test/java/test/tmp/ |
D | TestNGBug.java | 3 import org.testng.Reporter; 14 Reporter.log("Child.test1"); in test1() 19 Reporter.log("Child.test2"); in test2() 24 Reporter.log("Child.test3"); in test3()
|