/external/opencv3/modules/core/test/ |
D | test_ptr.cpp | 48 struct Reporter { struct 49 Reporter(bool* deleted) : deleted_(deleted) in Reporter() function 53 virtual ~Reporter() in ~Reporter() argument 59 Reporter(const Reporter&); 60 Reporter& operator = (const Reporter&); 89 Reporter* r = new Reporter(&deleted); in TEST() 116 Ptr<Reporter> p1(new Reporter(&deleted)); in TEST() 117 Ptr<Reporter> p2(p1); in TEST() 126 Ptr<Reporter> p1(new Reporter(&deleted)); in TEST() 136 Ptr<Reporter> p1(new Reporter(&deleted)); in TEST() [all …]
|
/external/skia/tests/ |
D | PathOpsExtendedTest.h | 23 void (*fun)(skiatest::Reporter*, const char* filename); 28 extern int comparePaths(skiatest::Reporter* reporter, const char* filename, 31 inline int comparePaths(skiatest::Reporter* reporter, const char* filename, in comparePaths() 39 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 41 extern bool testPathOpCheck(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 43 extern bool testPathOpFailCheck(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 45 extern bool testPathFailOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 49 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename); 50 extern bool testSimplifyCheck(skiatest::Reporter* reporter, const SkPath& path, 53 void initializeTests(skiatest::Reporter* reporter, const char* testName); [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 | PathOpsOpTest.cpp | 32 static void cubicOp1d(skiatest::Reporter* reporter, const char* filename) { in cubicOp1d() 45 static void cubicOp2d(skiatest::Reporter* reporter, const char* filename) { in cubicOp2d() 58 static void cubicOp3d(skiatest::Reporter* reporter, const char* filename) { in cubicOp3d() 71 static void cubicOp5d(skiatest::Reporter* reporter, const char* filename) { in cubicOp5d() 84 static void cubicOp6d(skiatest::Reporter* reporter, const char* filename) { in cubicOp6d() 97 static void cubicOp7d(skiatest::Reporter* reporter, const char* filename) { in cubicOp7d() 110 static void cubicOp8d(skiatest::Reporter* reporter, const char* filename) { in cubicOp8d() 123 static void cubicOp9d(skiatest::Reporter* reporter, const char* filename) { in cubicOp9d() 136 static void quadOp9d(skiatest::Reporter* reporter, const char* filename) { in quadOp9d() 151 static void lineOp9d(skiatest::Reporter* reporter, const char* filename) { in lineOp9d() [all …]
|
D | Test.h | 33 class Reporter : SkNoncopyable { 35 virtual ~Reporter() {} in ~Reporter() 45 typedef void (*TestProc)(skiatest::Reporter*, GrContextFactory*); 86 void RunWithGPUTestContexts(T testFunction, GPUTestContexts contexts, Reporter* reporter, 117 static void test_##name(skiatest::Reporter*, GrContextFactory*); \ 120 void test_##name(skiatest::Reporter* reporter, GrContextFactory*) 133 static void test_##name(skiatest::Reporter*, GrContextFactory*); \ 136 void test_##name(skiatest::Reporter* reporter, GrContextFactory* factory) 139 static void test_##name(skiatest::Reporter*, GPUTEST_CONTEXT_ARGS(__VA_ARGS__)); \ 140 static void test_gpu_contexts_##name(skiatest::Reporter* reporter, \ [all …]
|
D | RRectInPathTest.cpp | 15 static SkRRect path_contains_rrect(skiatest::Reporter* reporter, const SkPath& path) { in path_contains_rrect() 28 static SkRRect inner_path_contains_rrect(skiatest::Reporter* reporter, const SkRRect& in) { in inner_path_contains_rrect() 42 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRRect& in) { in path_contains_rrect_check() 50 static void path_contains_rrect_nocheck(skiatest::Reporter* reporter, const SkRRect& in) { in path_contains_rrect_nocheck() 57 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRect& r, in path_contains_rrect_check() 71 static void force_path_contains_rrect(skiatest::Reporter* reporter, SkPath& path) { in force_path_contains_rrect() 76 static void test_undetected_paths(skiatest::Reporter* reporter) { in test_undetected_paths() 133 static void test_tricky_radii(skiatest::Reporter* reporter) { in test_tricky_radii() 156 static void test_empty_crbug_458524(skiatest::Reporter* reporter) { in test_empty_crbug_458524() 170 static void test_inset(skiatest::Reporter* reporter) { in test_inset() [all …]
|
D | GradientTest.cpp | 19 static void test_big_grad(skiatest::Reporter* reporter) { in test_big_grad() 48 void gradCheck(skiatest::Reporter* reporter, SkShader* shader, in gradCheck() 69 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&) { in none_gradproc() 74 static void color_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { in color_gradproc() 85 static void linear_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { in linear_gradproc() 97 static void radial_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { in radial_gradproc() 111 static void sweep_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { in sweep_gradproc() 123 static void conical_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { in conical_gradproc() 140 static void TestConstantGradient(skiatest::Reporter*) { in TestConstantGradient() argument 167 typedef void (*GradProc)(skiatest::Reporter* reporter, const GradRec&); [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() 84 static void test_perfectly_sized_buffer(skiatest::Reporter* reporter, size_t bufferSize) { in test_perfectly_sized_buffer() 103 static void test_skipping(skiatest::Reporter* reporter, size_t bufferSize) { in test_skipping() 153 static void test_read_beyond_buffer(skiatest::Reporter* reporter, size_t bufferSize) { in test_read_beyond_buffer() 201 static void test_length_combos(skiatest::Reporter* reporter, size_t bufferSize) { in test_length_combos() 213 static void test_initial_offset(skiatest::Reporter* reporter, size_t bufferSize) { in test_initial_offset() 243 static void test_buffers(skiatest::Reporter* reporter, size_t bufferSize) { in test_buffers()
|
D | CanvasTest.cpp | 203 static void test_clipVisitor(skiatest::Reporter* reporter, SkCanvas* canvas) { in test_clipVisitor() 216 static void test_clipstack(skiatest::Reporter* reporter) { in test_clipstack() 262 virtual void draw(SkCanvas*, const TestData&, skiatest::Reporter*) = 0; 289 skiatest::Reporter* reporter) { \ 301 skiatest::Reporter* reporter) { \ 310 skiatest::Reporter*, CanvasTestStep*) { \ 317 skiatest::Reporter*, CanvasTestStep* testStep) { \ 343 skiatest::Reporter* reporter, CanvasTestStep* testStep) { in SaveMatrixClipStep() 358 skiatest::Reporter* reporter, CanvasTestStep* testStep) { in SaveLayerStep() 368 skiatest::Reporter* reporter, CanvasTestStep* testStep) { in BoundedSaveLayerStep() [all …]
|
D | MathTest.cpp | 18 static void test_clz(skiatest::Reporter* reporter) { in test_clz() 52 static void test_floor_value(skiatest::Reporter* reporter, float value) { in test_floor_value() 61 static void test_floor(skiatest::Reporter* reporter) { in test_floor() 75 static void test_muldivround(skiatest::Reporter* reporter) { in test_muldivround() 168 static void test_blend(skiatest::Reporter* reporter) { in test_blend() 189 static void check_length(skiatest::Reporter* reporter, in check_length() 223 static void assert_float_equal(skiatest::Reporter* reporter, const char op[], in assert_float_equal() 231 static void test_float_cast(skiatest::Reporter* reporter, float x) { in test_float_cast() 237 static void test_float_floor(skiatest::Reporter* reporter, float x) { in test_float_floor() 243 static void test_float_round(skiatest::Reporter* reporter, float x) { in test_float_round() [all …]
|
D | DataRefTest.cpp | 16 static void test_is_equal(skiatest::Reporter* reporter, in test_is_equal() 28 static void test_datatable_is_empty(skiatest::Reporter* reporter, in test_datatable_is_empty() 34 static void test_emptytable(skiatest::Reporter* reporter) { in test_emptytable() 51 static void test_simpletable(skiatest::Reporter* reporter) { in test_simpletable() 66 static void test_vartable(skiatest::Reporter* reporter) { in test_vartable() 92 static void test_tablebuilder(skiatest::Reporter* reporter) { in test_tablebuilder() 118 static void test_globaltable(skiatest::Reporter* reporter) { in test_globaltable() 152 static void assert_len(skiatest::Reporter* reporter, SkData* ref, size_t len) { in assert_len() 156 static void assert_data(skiatest::Reporter* reporter, SkData* ref, in assert_data() 162 static void test_cstring(skiatest::Reporter* reporter) { in test_cstring() [all …]
|
D | PointTest.cpp | 14 static void test_casts(skiatest::Reporter* reporter) { in test_casts() 26 static void test_Normalize(skiatest::Reporter* reporter, in test_Normalize() 39 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y, in test_length() 60 template <typename T> T get_value(skiatest::Reporter* reporter, T value) { in get_value() 71 static float force_as_float(skiatest::Reporter* reporter, float value) { in force_as_float() 86 static void test_overflow(skiatest::Reporter* reporter) { in test_overflow() 109 static void test_underflow(skiatest::Reporter* reporter) { in test_underflow()
|
D | GrTRecorderTest.cpp | 30 static void test_empty_back_and_pop(skiatest::Reporter* reporter) { in test_empty_back_and_pop() 88 static void test_extra_data(skiatest::Reporter* reporter) { in test_extra_data() 141 virtual void validate(skiatest::Reporter* reporter) const { in validate() 155 virtual void validate(skiatest::Reporter* reporter) const { in validate() 170 virtual void validate(skiatest::Reporter* reporter) const { in validate() 192 virtual void validate(skiatest::Reporter* reporter) const { in validate() 221 static void test_subclasses_iters(skiatest::Reporter*, Order&, Base::Recorder::Iter&, 223 static void test_subclasses(skiatest::Reporter* reporter) { in test_subclasses() 266 static void test_subclasses_iters(skiatest::Reporter* reporter, Order& order, in test_subclasses_iters()
|
D | MemsetTest.cpp | 12 static void check_alloc(skiatest::Reporter* reporter, const SkChunkAlloc& alloc, in check_alloc() 19 static void* simple_alloc(skiatest::Reporter* reporter, SkChunkAlloc* alloc, size_t size) { in simple_alloc() 26 static void test_chunkalloc(skiatest::Reporter* reporter) { in test_chunkalloc() 98 static void compare16(skiatest::Reporter* r, const uint16_t base[], in compare16() 108 static void compare32(skiatest::Reporter* r, const uint32_t base[], in compare32() 118 static void test_16(skiatest::Reporter* reporter) { in test_16() 135 static void test_32(skiatest::Reporter* reporter) { in test_32()
|
D | PathOpsSkpTest.cpp | 11 static void skpcheeseandburger_com225(skiatest::Reporter* reporter, const char* filename) { in skpcheeseandburger_com225() 372 static void skpeverytechpro_blogspot_com100(skiatest::Reporter* reporter, const char* filename) { in skpeverytechpro_blogspot_com100() 406 static void skpflite_com41(skiatest::Reporter* reporter, const char* filename) { in skpflite_com41() 429 static void skpilkoora_com37(skiatest::Reporter* reporter, const char* filename) { in skpilkoora_com37() 461 static void skpmm4everfriends_com43(skiatest::Reporter* reporter, const char* filename) { in skpmm4everfriends_com43() 484 static void skpmtrk_uz27(skiatest::Reporter* reporter, const char* filename) { in skpmtrk_uz27() 511 static void skpfrauen_magazin_com83(skiatest::Reporter* reporter, const char* filename) { in skpfrauen_magazin_com83() 535 static void skpi_gino_com16(skiatest::Reporter* reporter, const char* filename) { in skpi_gino_com16() 560 static void skppchappy_com_au102(skiatest::Reporter* reporter, const char* filename) { in skppchappy_com_au102() 588 static void skpsciality_com161(skiatest::Reporter* reporter, const char* filename) { in skpsciality_com161() [all …]
|
/external/autotest/server/cros/dynamic_suite/ |
D | reporting_unittest.py | 77 self._orig_project_name = reporting.Reporter._project_name 81 reporting.Reporter._project_name = 'project' 85 reporting.Reporter._project_name = self._orig_project_name 95 self.mox.StubOutWithMock(reporting.Reporter, 'find_issue_by_marker') 102 reporting.Reporter.find_issue_by_marker(mox.IgnoreArg()).AndReturn( 107 bug_id, bug_count = reporting.Reporter().report(self._get_failure()) 119 self.mox.StubOutWithMock(reporting.Reporter, 'find_issue_by_marker') 130 reporting.Reporter.find_issue_by_marker(mox.IgnoreArg()).AndReturn( 136 bug_id, bug_count = reporting.Reporter().report(self._get_failure()) 162 self.mox.StubOutWithMock(reporting.Reporter, 'find_issue_by_marker') [all …]
|
/external/autotest/site_utils/ |
D | test_push_unittest.py | 19 AUTOFILED_COUNT_2 = '%s2' % reporting.Reporter.AUTOFILED_COUNT 132 self.mox.StubOutWithMock(reporting.Reporter, 'find_issue_by_marker') 133 reporting.Reporter.find_issue_by_marker(mox.IgnoreArg()).AndReturn( 135 reporting.Reporter.find_issue_by_marker(mox.IgnoreArg()).AndReturn( 137 self.mox.StubOutWithMock(reporting.Reporter, 'modify_bug_report') 138 reporting.Reporter.modify_bug_report(mox.IgnoreArg(), 151 self.mox.StubOutWithMock(reporting.Reporter, 'find_issue_by_marker') 152 reporting.Reporter.find_issue_by_marker(mox.IgnoreArg()).AndReturn( 179 self.mox.StubOutWithMock(reporting.Reporter, 'find_issue_by_marker') 180 reporting.Reporter.find_issue_by_marker(mox.IgnoreArg()).AndReturn( [all …]
|
/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/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/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/mockito/src/org/mockito/internal/util/ |
D | MockCreationValidator.java | 7 import org.mockito.exceptions.Reporter; 20 new Reporter().cannotMockFinalClass(classToMock); in validateType() 31 new Reporter().extraInterfacesCannotContainMockedType(classToMock); in validateExtraInterfaces() 41 … new Reporter().mockedTypeIsInconsistentWithSpiedInstanceType(classToMock, spiedInstance); in validateMockedType() 50 … new Reporter().mockedTypeIsInconsistentWithDelegatedInstanceType(classToMock, delegatedInstance); in validateDelegatedInstance() 63 new Reporter().serializableWontWorkForObjectsThatDontImplementSerializable(classToMock); in validateSerializable()
|
/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()
|
/external/testng/src/test/java/test/reports/ |
D | EmailableReportDriver.java | 4 import org.testng.Reporter; 24 Reporter.log("Preparing to fail"); in doFailureWithLog() 29 Reporter.log("step 1"); in doExpectedExceptionSansLog() 30 Reporter.log("step 2"); in doExpectedExceptionSansLog()
|
/external/mockito/src/org/mockito/internal/creation/ |
D | MockSettingsImpl.java | 8 import org.mockito.exceptions.Reporter; 39 new Reporter().extraInterfacesRequiresAtLeastOneInterface(); in extraInterfaces() 44 new Reporter().extraInterfacesDoesNotAcceptNullParameters(); in extraInterfaces() 46 new Reporter().extraInterfacesAcceptsOnlyInterfaces(i); in extraInterfaces() 78 new Reporter().defaultAnswerDoesNotAcceptNullParameter(); in defaultAnswer() 109 new Reporter().invocationListenersRequiresAtLeastOneListener(); in invocationListeners() 113 new Reporter().invocationListenerDoesNotAcceptNullParameters(); in invocationListeners()
|