HomeSort by relevance Sort by last modified time
    Searched refs:Reporter (Results 101 - 125 of 484) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/skia/tests/
PackedConfigsTextureTest.cpp 26 static void check_component(skiatest::Reporter* reporter, uint8_t control, uint8_t test) {
33 REPORTER_ASSERT(reporter, diff < TOL);
43 static void check_4444(skiatest::Reporter* reporter,
54 check_component(reporter, ctrlComp, testComp);
59 check_component(reporter, ctrlComp, testComp);
64 check_component(reporter, ctrlComp, testComp);
69 check_component(reporter, ctrlComp, testComp);
74 static void check_565(skiatest::Reporter* reporter
    [all...]
ResourceAllocatorTest.cpp 20 static void overlap_test(skiatest::Reporter* reporter, GrResourceProvider* resourceProvider) {
40 REPORTER_ASSERT(reporter, p1->priv().peekSurface());
41 REPORTER_ASSERT(reporter, p2->priv().peekSurface());
42 REPORTER_ASSERT(reporter, p1->underlyingUniqueID() != p2->underlyingUniqueID());
45 DEF_GPUTEST_FOR_ALL_CONTEXTS(ResourceAllocatorTest, reporter, ctxInfo) {
48 overlap_test(reporter, resourceProvider);
ScalarTest.cpp 15 static void test_roundtoint(skiatest::Reporter* reporter) {
20 REPORTER_ASSERT(reporter, 1 == ix);
25 REPORTER_ASSERT(reporter, 0 == ix);
34 static void test_isRectFinite(skiatest::Reporter* reporter) {
73 REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite);
112 static void test_floatclass(skiatest::Reporter* reporter, float value, FloatClass fc) {
115 REPORTER_ASSERT(reporter, !!sk_float_isfinite(value) == (fc == kFinite))
    [all...]
SkSLSPIRVTest.cpp 14 static void test_failure(skiatest::Reporter* r, const char* src, const char* error) {
TestUtils.cpp 16 void test_read_pixels(skiatest::Reporter* reporter,
27 ERRORF(reporter, "%s: Error reading from texture.", testName);
32 ERRORF(reporter, "%s: Error, pixel value %d should be 0x%08x, got 0x%08x.",
39 void test_write_pixels(skiatest::Reporter* reporter,
56 ERRORF(reporter, "%s: Error writing to texture.", testName);
62 ERRORF(reporter, "%s: writePixels succeeded when it wasn't supposed to.", testName);
66 test_read_pixels(reporter, dstContext, pixels.get(), testName);
69 void test_copy_from_surface(skiatest::Reporter* reporter, GrContext* context
    [all...]
BlitMaskClip.cpp 15 TestBlitter(SkIRect bounds, skiatest::Reporter* reporter)
17 , fReporter(reporter) { }
33 skiatest::Reporter* fReporter;
38 DEF_TEST(BlitAndClip, reporter) {
55 TestBlitter tb(mask.fBounds, reporter);
PictureBBHTest.cpp 31 void run(skiatest::Reporter* reporter) {
33 this->run(nullptr, reporter);
37 this->run(&RTreeFactory, reporter);
41 void run(SkBBHFactory* factory, skiatest::Reporter* reporter) {
51 REPORTER_ASSERT(reporter, SK_ColorGREEN == fResultBitmap.getColor(0, 0));
87 DEF_TEST(PictureBBH, reporter) {
90 emptyPictureTest.run(reporter);
93 emptyClipPictureTest.run(reporter);
    [all...]
RectTest.cpp 25 static void test_stroke_width_clipping(skiatest::Reporter* reporter) {
41 REPORTER_ASSERT(reporter, !has_green_pixels(bm));
46 REPORTER_ASSERT(reporter, has_green_pixels(bm));
49 static void test_skbug4406(skiatest::Reporter* reporter) {
70 REPORTER_ASSERT(reporter, !has_green_pixels(bm));
84 REPORTER_ASSERT(reporter, has_green_pixels(bm));
87 DEF_TEST(Rect, reporter) {
88 test_stroke_width_clipping(reporter);
    [all...]
CanvasTest.cpp 22 * skiatest::Reporter* reporter,
27 * REPORTER_ASSERT_MESSAGE(reporter, (...), \
71 DEF_TEST(canvas_clipbounds, reporter) {
77 REPORTER_ASSERT(reporter, irect == SkIRect::MakeWH(10, 10));
78 REPORTER_ASSERT(reporter, canvas.getDeviceClipBounds(&irect2));
79 REPORTER_ASSERT(reporter, irect == irect2);
83 REPORTER_ASSERT(reporter, rect.contains(SkRect::MakeWH(10, 10)));
84 REPORTER_ASSERT(reporter, canvas.getLocalClipBounds(&rect2));
85 REPORTER_ASSERT(reporter, rect == rect2)
    [all...]
MathTest.cpp 22 static void test_clz(skiatest::Reporter* reporter) {
23 REPORTER_ASSERT(reporter, 32 == SkCLZ(0));
24 REPORTER_ASSERT(reporter, 31 == SkCLZ(1));
25 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30));
26 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U));
36 REPORTER_ASSERT(reporter, intri == porta);
40 static void test_quick_div(skiatest::Reporter* reporter) {
51 REPORTER_ASSERT(reporter, table[i] == gFDot6INVERSE[i + kInverseTableSize])
    [all...]
RegionTest.cpp 18 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect))
19 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect))
20 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect))
24 static void test_fromchrome(skiatest::Reporter* reporter) {
81 static void test_empties(skiatest::Reporter* reporter) {
85 REPORTER_ASSERT(reporter, empty.isEmpty());
86 REPORTER_ASSERT(reporter, !valid.isEmpty());
89 REPORTER_ASSERT(reporter, !empty.intersects(empty2))
    [all...]
TArrayTest.cpp 16 static void TestTSet_basic(skiatest::Reporter* reporter) {
20 REPORTER_ASSERT(reporter, a.empty());
21 REPORTER_ASSERT(reporter, a.count() == 0);
25 REPORTER_ASSERT(reporter, !a.empty());
26 REPORTER_ASSERT(reporter, a.count() == 1);
30 REPORTER_ASSERT(reporter, a.empty());
31 REPORTER_ASSERT(reporter, a.count() == 0);
35 REPORTER_ASSERT(reporter, a.push_back() = 1);
37 REPORTER_ASSERT(reporter, !a.empty())
    [all...]
Writer32Test.cpp 14 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer,
17 REPORTER_ASSERT(reporter, writer.bytesWritten() == size);
19 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size));
23 static void test_reserve(skiatest::Reporter* reporter) {
31 static void test_string_null(skiatest::Reporter* reporter) {
38 check_contents(reporter, writer, expected, sizeof(expected));
41 static void test_rewind(skiatest::Reporter* reporter)
    [all...]
BitmapTest.cpp 14 static void test_peekpixels(skiatest::Reporter* reporter) {
21 REPORTER_ASSERT(reporter, !bm.peekPixels(nullptr));
22 REPORTER_ASSERT(reporter, !bm.peekPixels(&pmap));
26 REPORTER_ASSERT(reporter, !bm.peekPixels(nullptr));
27 REPORTER_ASSERT(reporter, !bm.peekPixels(&pmap));
31 REPORTER_ASSERT(reporter, bm.peekPixels(nullptr));
32 REPORTER_ASSERT(reporter, bm.peekPixels(&pmap));
33 REPORTER_ASSERT(reporter, pmap.info() == bm.info());
34 REPORTER_ASSERT(reporter, pmap.addr() == bm.getPixels())
    [all...]
PDFDocumentTest.cpp 19 static void test_empty(skiatest::Reporter* reporter) {
26 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0);
29 static void test_abort(skiatest::Reporter* reporter) {
40 REPORTER_ASSERT(reporter, stream.bytesWritten() < 256);
43 static void test_abortWithFile(skiatest::Reporter* reporter) {
68 REPORTER_ASSERT(reporter, fread(buffer, 1, sizeof(buffer), file) < sizeof(buffer));
72 static void test_file(skiatest::Reporter* reporter)
    [all...]
Point3Test.cpp 13 static void test_eq_ops(skiatest::Reporter* reporter) {
18 REPORTER_ASSERT(reporter, p0 != p1);
19 REPORTER_ASSERT(reporter, p1 == p2);
22 static void test_ops(skiatest::Reporter* reporter) {
25 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(v.length(), SK_Scalar1));
29 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(p.length(), 3.0f));
32 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(p.length(), SK_Scalar1));
39 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(p.x(), 0.0f))
    [all...]
  /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) {
73 * Reports the current class loader chain to the registered {@code reporter}.
100 reporter.report(classLoadersChain, classPaths);
219 * Sets the reporter for dex load notifications.
223 * @param newReporter the new Reporter. Setting null will cancel reporting.
226 public static void setReporter(Reporter newReporter) {
227 reporter = newReporter;
233 public static Reporter getReporter()
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-2812033/tools/scan-view/
Makefile 19 $(ShareDir)/scan-view/Reporter.py \
  /prebuilts/clang/host/linux-x86/clang-2812033/tools/scan-view/
Makefile 19 $(ShareDir)/scan-view/Reporter.py \
  /external/mockito/src/main/java/org/mockito/internal/verification/checkers/
AtLeastXNumberOfInvocationsChecker.java 14 import static org.mockito.internal.exceptions.Reporter.tooLittleActualInvocations;
15 import static org.mockito.internal.exceptions.Reporter.tooLittleActualInvocationsInOrder;
  /external/objenesis/tck/src/main/java/org/objenesis/tck/
TCK.java 31 * implementations, reporting the results to a {@link Reporter}.
45 * Reporter reporter = new TextReporter(System.out, System.err);
46 * tck.runTests(reporter);
51 * @see Reporter
85 * @param reporter Where to report the results of the test to.
87 public void runTests(Reporter reporter) {
88 reporter.startTests(describePlatform(), findAllDescriptions(candidates, descriptions),
97 reporter.startTest(candidateDescription, objenesisDescription)
    [all...]