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

1 2 3 45 6 7 8 91011>>

  /external/chromium_org/third_party/skia/tests/
RefCntTest.cpp 30 static void test_refarray(skiatest::Reporter* reporter) {
31 REPORTER_ASSERT(reporter, 0 == InstCounterClass::gInstCounter);
36 REPORTER_ASSERT(reporter, 1 == array->getRefCnt());
37 REPORTER_ASSERT(reporter, N == array->count());
39 REPORTER_ASSERT(reporter, N == InstCounterClass::gInstCounter);
41 REPORTER_ASSERT(reporter, 0 == InstCounterClass::gInstCounter);
47 REPORTER_ASSERT(reporter, N == InstCounterClass::gInstCounter);
49 REPORTER_ASSERT(reporter, i == src[i].fCount);
53 REPORTER_ASSERT(reporter, 1 == array->getRefCnt())
    [all...]
MatrixTest.cpp 29 static bool are_equal(skiatest::Reporter* reporter,
45 REPORTER_ASSERT(reporter, aVal == bVal && aValI == aValI);
48 REPORTER_ASSERT(reporter, foundZeroSignDiff);
59 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI);
62 REPORTER_ASSERT(reporter, foundNaN);
74 static void test_matrix_recttorect(skiatest::Reporter* reporter) {
81 REPORTER_ASSERT(reporter, SkMatrix::kIdentity_Mask == matrix.getType());
82 REPORTER_ASSERT(reporter, matrix.rectStaysRect())
    [all...]
PathMeasureTest.cpp 76 DEF_TEST(PathMeasure, reporter) {
93 REPORTER_ASSERT(reporter, length == SK_Scalar1*5);
110 REPORTER_ASSERT(reporter, length == SK_Scalar1 * 4);
113 REPORTER_ASSERT(reporter, length == SK_Scalar1);
116 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent));
117 REPORTER_ASSERT(reporter,
121 REPORTER_ASSERT(reporter, position.fY == 0);
122 REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1);
123 REPORTER_ASSERT(reporter, tangent.fY == 0);
140 REPORTER_ASSERT(reporter, length == SK_Scalar1 * 6)
    [all...]
BitmapHeapTest.cpp 33 DEF_TEST(BitmapHeap, reporter) {
52 REPORTER_ASSERT(reporter, heap.count() == 0);
53 REPORTER_ASSERT(reporter, dictionary.count() == 0);
60 REPORTER_ASSERT(reporter, 1 == index);
61 REPORTER_ASSERT(reporter, heap.count() == 1);
62 REPORTER_ASSERT(reporter, dictionary.count() == 1);
66 REPORTER_ASSERT(reporter, SkBitmapHeapTester::GetRefCount(entry) == 1);
69 REPORTER_ASSERT(reporter, SkBitmapHeapTester::GetRefCount(entry) == 0);
73 REPORTER_ASSERT(reporter, heap.count() == 0);
82 REPORTER_ASSERT(reporter, 1 == index)
    [all...]
ColorTest.cpp 19 static inline void test_premul(skiatest::Reporter* reporter) {
30 REPORTER_ASSERT(reporter, p0 == p1);
34 REPORTER_ASSERT(reporter, ax <= a);
46 static void test_interp(skiatest::Reporter* reporter) {
57 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a0) == dst);
58 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a255) == src);
63 static inline void test_fast_interp(skiatest::Reporter* reporter) {
    [all...]
GLInterfaceValidationTest.cpp 15 DEF_GPUTEST(GLInterfaceValidation, reporter, factory) {
27 REPORTER_ASSERT(reporter, NULL == glCtxHelper);
31 REPORTER_ASSERT(reporter, glCtxHelper);
34 REPORTER_ASSERT(reporter, interface->validate());
MipMapTest.cpp 22 DEF_TEST(MipMap, reporter) {
30 REPORTER_ASSERT(reporter, !mm->extractLevel(SK_Scalar1, NULL));
31 REPORTER_ASSERT(reporter, !mm->extractLevel(SK_Scalar1 * 2, NULL));
42 REPORTER_ASSERT(reporter, level.fPixels);
43 REPORTER_ASSERT(reporter, level.fWidth > 0);
44 REPORTER_ASSERT(reporter, level.fHeight > 0);
45 REPORTER_ASSERT(reporter, level.fRowBytes >= level.fWidth * 4);
48 REPORTER_ASSERT(reporter, level.fWidth <= prevLevel.fWidth);
49 REPORTER_ASSERT(reporter, level.fHeight <= prevLevel.fHeight);
PathOpsDVectorTest.cpp 23 DEF_TEST(PathOpsDVector, reporter) {
30 REPORTER_ASSERT(reporter, v1.fX == 0 && v1.fY == 0);
32 REPORTER_ASSERT(reporter, p == tests[index]);
34 REPORTER_ASSERT(reporter, v2.fX == 0 && v2.fY == 0);
39 REPORTER_ASSERT(reporter, v1.fX == 0 && v1.fY == 0);
41 REPORTER_ASSERT(reporter, sv.fX == 0 && sv.fY == 0);
45 REPORTER_ASSERT(reporter, lenSq == v1Dot);
46 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length()));
48 REPORTER_ASSERT(reporter, v1Cross == 0);
RandomTest.cpp 59 static void test_random_byte(skiatest::Reporter* reporter, int shift) {
68 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000));
71 static void test_random_float(skiatest::Reporter* reporter) {
78 REPORTER_ASSERT(reporter, 0.0f <= f && f < 1.0f);
81 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000));
86 REPORTER_ASSERT(reporter, 0.0f <= f && f < 1.0f);
89 REPORTER_ASSERT(reporter, anderson_darling_test(p));
102 static double test_single_gorilla(skiatest::Reporter* reporter, int shift)
    [all...]
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...]
PathTest.cpp 71 static void make_path_crbugskia2820(SkPath* path, skiatest::Reporter* reporter) {
84 static void test_path_crbugskia2820(skiatest::Reporter* reporter) {//GrContext* context) {
86 make_path_crbugskia2820(&path, reporter);
117 static void test_path_to_region(skiatest::Reporter* reporter) {
143 static void test_path_close_issue1474(skiatest::Reporter* reporter) {
156 REPORTER_ASSERT(reporter, 50 == last.fX)
    [all...]
RoundRectTest.cpp 15 static void test_inset(skiatest::Reporter* reporter) {
21 REPORTER_ASSERT(reporter, rr2.isRect());
24 REPORTER_ASSERT(reporter, rr2.isRect());
27 REPORTER_ASSERT(reporter, rr2.isEmpty());
31 REPORTER_ASSERT(reporter, rr2.isSimple());
33 REPORTER_ASSERT(reporter, rr2.isRect());
37 static void test_round_rect_basic(skiatest::Reporter* reporter) {
44 REPORTER_ASSERT(reporter, SkRRect::kEmpty_Type == empty.type())
    [all...]
GradientTest.cpp 23 void gradCheck(skiatest::Reporter* reporter, SkShader* shader,
32 REPORTER_ASSERT(reporter, shader->asAGradient(info) == gt);
34 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount);
35 REPORTER_ASSERT(reporter,
37 REPORTER_ASSERT(reporter,
39 REPORTER_ASSERT(reporter, fTileMode == info->fTileMode);
44 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&) {
46 REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(NULL))
    [all...]
  /external/skia/tests/
RefCntTest.cpp 30 static void test_refarray(skiatest::Reporter* reporter) {
31 REPORTER_ASSERT(reporter, 0 == InstCounterClass::gInstCounter);
36 REPORTER_ASSERT(reporter, 1 == array->getRefCnt());
37 REPORTER_ASSERT(reporter, N == array->count());
39 REPORTER_ASSERT(reporter, N == InstCounterClass::gInstCounter);
41 REPORTER_ASSERT(reporter, 0 == InstCounterClass::gInstCounter);
47 REPORTER_ASSERT(reporter, N == InstCounterClass::gInstCounter);
49 REPORTER_ASSERT(reporter, i == src[i].fCount);
53 REPORTER_ASSERT(reporter, 1 == array->getRefCnt())
    [all...]
PathMeasureTest.cpp 76 DEF_TEST(PathMeasure, reporter) {
93 REPORTER_ASSERT(reporter, length == SK_Scalar1*5);
110 REPORTER_ASSERT(reporter, length == SK_Scalar1 * 4);
113 REPORTER_ASSERT(reporter, length == SK_Scalar1);
116 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent));
117 REPORTER_ASSERT(reporter,
121 REPORTER_ASSERT(reporter, position.fY == 0);
122 REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1);
123 REPORTER_ASSERT(reporter, tangent.fY == 0);
140 REPORTER_ASSERT(reporter, length == SK_Scalar1 * 6)
    [all...]
BitmapHeapTest.cpp 33 DEF_TEST(BitmapHeap, reporter) {
52 REPORTER_ASSERT(reporter, heap.count() == 0);
53 REPORTER_ASSERT(reporter, dictionary.count() == 0);
60 REPORTER_ASSERT(reporter, 1 == index);
61 REPORTER_ASSERT(reporter, heap.count() == 1);
62 REPORTER_ASSERT(reporter, dictionary.count() == 1);
66 REPORTER_ASSERT(reporter, SkBitmapHeapTester::GetRefCount(entry) == 1);
69 REPORTER_ASSERT(reporter, SkBitmapHeapTester::GetRefCount(entry) == 0);
73 REPORTER_ASSERT(reporter, heap.count() == 0);
82 REPORTER_ASSERT(reporter, 1 == index)
    [all...]
PictureShaderTest.cpp 15 DEF_TEST(PictureShader_empty, reporter) {
18 REPORTER_ASSERT(reporter, NULL == shader);
25 REPORTER_ASSERT(reporter, NULL == shader);
ColorTest.cpp 19 static inline void test_premul(skiatest::Reporter* reporter) {
30 REPORTER_ASSERT(reporter, p0 == p1);
34 REPORTER_ASSERT(reporter, ax <= a);
46 static void test_interp(skiatest::Reporter* reporter) {
57 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a0) == dst);
58 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a255) == src);
63 static inline void test_fast_interp(skiatest::Reporter* reporter) {
    [all...]
GLInterfaceValidationTest.cpp 15 DEF_GPUTEST(GLInterfaceValidation, reporter, factory) {
27 REPORTER_ASSERT(reporter, NULL == glCtxHelper);
31 REPORTER_ASSERT(reporter, NULL != glCtxHelper);
34 REPORTER_ASSERT(reporter, interface->validate());
MipMapTest.cpp 22 DEF_TEST(MipMap, reporter) {
30 REPORTER_ASSERT(reporter, !mm->extractLevel(SK_Scalar1, NULL));
31 REPORTER_ASSERT(reporter, !mm->extractLevel(SK_Scalar1 * 2, NULL));
42 REPORTER_ASSERT(reporter, level.fPixels);
43 REPORTER_ASSERT(reporter, level.fWidth > 0);
44 REPORTER_ASSERT(reporter, level.fHeight > 0);
45 REPORTER_ASSERT(reporter, level.fRowBytes >= level.fWidth * 4);
48 REPORTER_ASSERT(reporter, level.fWidth <= prevLevel.fWidth);
49 REPORTER_ASSERT(reporter, level.fHeight <= prevLevel.fHeight);
PathOpsDVectorTest.cpp 23 DEF_TEST(PathOpsDVector, reporter) {
30 REPORTER_ASSERT(reporter, v1.fX == 0 && v1.fY == 0);
32 REPORTER_ASSERT(reporter, p == tests[index]);
34 REPORTER_ASSERT(reporter, v2.fX == 0 && v2.fY == 0);
39 REPORTER_ASSERT(reporter, v1.fX == 0 && v1.fY == 0);
41 REPORTER_ASSERT(reporter, sv.fX == 0 && sv.fY == 0);
45 REPORTER_ASSERT(reporter, lenSq == v1Dot);
46 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length()));
48 REPORTER_ASSERT(reporter, v1Cross == 0);
MallocPixelRefTest.cpp 23 DEF_TEST(MallocPixelRef, reporter) {
24 REPORTER_ASSERT(reporter, true);
30 REPORTER_ASSERT(reporter, NULL == pr.get());
41 REPORTER_ASSERT(reporter, NULL == pr.get());
52 REPORTER_ASSERT(reporter, NULL == pr.get());
60 REPORTER_ASSERT(reporter, pr.get() != NULL);
61 REPORTER_ASSERT(reporter, memory.get() == pr->pixels());
66 REPORTER_ASSERT(reporter, pr.get() != NULL);
67 REPORTER_ASSERT(reporter, NULL != pr->pixels());
74 REPORTER_ASSERT(reporter, pr.get() != NULL)
    [all...]
RandomTest.cpp 59 static void test_random_byte(skiatest::Reporter* reporter, int shift) {
68 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000));
71 static void test_random_float(skiatest::Reporter* reporter) {
78 REPORTER_ASSERT(reporter, 0.0f <= f && f < 1.0f);
81 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000));
86 REPORTER_ASSERT(reporter, 0.0f <= f && f < 1.0f);
89 REPORTER_ASSERT(reporter, anderson_darling_test(p));
102 static double test_single_gorilla(skiatest::Reporter* reporter, int shift)
    [all...]
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...]
GradientTest.cpp 24 void gradCheck(skiatest::Reporter* reporter, SkShader* shader,
33 REPORTER_ASSERT(reporter, shader->asAGradient(info) == gt);
35 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount);
36 REPORTER_ASSERT(reporter,
38 REPORTER_ASSERT(reporter,
40 REPORTER_ASSERT(reporter, fTileMode == info->fTileMode);
45 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&) {
47 REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(NULL))
    [all...]

Completed in 867 milliseconds

1 2 3 45 6 7 8 91011>>