HomeSort by relevance Sort by last modified time
    Searched refs:Reporter (Results 151 - 175 of 712) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/skqp/tests/
CanvasTest.cpp 22 * skiatest::Reporter* reporter,
27 * REPORTER_ASSERT(reporter, (...), \
72 DEF_TEST(canvas_clipbounds, reporter) {
78 REPORTER_ASSERT(reporter, irect == SkIRect::MakeWH(10, 10));
79 REPORTER_ASSERT(reporter, canvas.getDeviceClipBounds(&irect2));
80 REPORTER_ASSERT(reporter, irect == irect2);
84 REPORTER_ASSERT(reporter, rect.contains(SkRect::MakeWH(10, 10)));
85 REPORTER_ASSERT(reporter, canvas.getLocalClipBounds(&rect2));
86 REPORTER_ASSERT(reporter, rect == rect2)
    [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 18 static void test_empty(skiatest::Reporter* reporter) {
25 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0);
28 static void test_abort(skiatest::Reporter* reporter) {
39 REPORTER_ASSERT(reporter, stream.bytesWritten() < 256);
42 static void test_abortWithFile(skiatest::Reporter* reporter) {
46 ERRORF(reporter, "missing tmpDir.");
52 ERRORF(reporter, "unable to write to: %s", path.c_str())
    [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...]
ColorMatrixTest.cpp 18 static inline void assert_color(skiatest::Reporter* reporter,
20 REPORTER_ASSERT(reporter, abs((int)(SkColorGetA(expected) - SkColorGetA(actual))) <= tolerance);
21 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance);
22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance);
23 REPORTER_ASSERT(reporter, abs((int)(SkColorGetB(expected) - SkColorGetB(actual))) <= tolerance);
26 static inline void assert_color(skiatest::Reporter* reporter, SkColor expected, SkColor actual) {
28 assert_color(reporter, expected, actual, TOLERANCE);
35 static inline void test_colorMatrixCTS(skiatest::Reporter* reporter)
    [all...]
Reader32Test.cpp 11 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) {
12 REPORTER_ASSERT(reporter, reader.eof());
13 REPORTER_ASSERT(reporter, reader.size() == reader.offset());
14 REPORTER_ASSERT(reporter, (const char*)reader.peek() ==
18 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) {
19 REPORTER_ASSERT(reporter, 0 == reader.offset());
20 REPORTER_ASSERT(reporter, reader.size() == reader.available());
21 REPORTER_ASSERT(reporter, reader.isAvailable(reader.size()))
    [all...]
ShadowTest.cpp 16 void tessellate_shadow(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm,
23 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.",
28 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.",
33 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.",
38 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.",
43 DEF_TEST(ShadowUtils, reporter) {
48 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), true);
53 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), false);
60 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), false)
    [all...]
  /external/skia/tests/
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 18 static void test_empty(skiatest::Reporter* reporter) {
25 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0);
28 static void test_abort(skiatest::Reporter* reporter) {
39 REPORTER_ASSERT(reporter, stream.bytesWritten() < 256);
42 static void test_abortWithFile(skiatest::Reporter* reporter) {
46 ERRORF(reporter, "missing tmpDir.");
52 ERRORF(reporter, "unable to write to: %s", path.c_str())
    [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...]
ColorMatrixTest.cpp 18 static inline void assert_color(skiatest::Reporter* reporter,
20 REPORTER_ASSERT(reporter, abs((int)(SkColorGetA(expected) - SkColorGetA(actual))) <= tolerance);
21 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance);
22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance);
23 REPORTER_ASSERT(reporter, abs((int)(SkColorGetB(expected) - SkColorGetB(actual))) <= tolerance);
26 static inline void assert_color(skiatest::Reporter* reporter, SkColor expected, SkColor actual) {
28 assert_color(reporter, expected, actual, TOLERANCE);
35 static inline void test_colorMatrixCTS(skiatest::Reporter* reporter)
    [all...]
Reader32Test.cpp 11 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) {
12 REPORTER_ASSERT(reporter, reader.eof());
13 REPORTER_ASSERT(reporter, reader.size() == reader.offset());
14 REPORTER_ASSERT(reporter, (const char*)reader.peek() ==
18 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) {
19 REPORTER_ASSERT(reporter, 0 == reader.offset());
20 REPORTER_ASSERT(reporter, reader.size() == reader.available());
21 REPORTER_ASSERT(reporter, reader.isAvailable(reader.size()))
    [all...]
ShadowTest.cpp 16 void tessellate_shadow(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm,
23 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.",
28 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.",
33 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.",
38 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.",
43 DEF_TEST(ShadowUtils, reporter) {
48 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), true);
53 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), false);
60 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), false)
    [all...]
StreamBufferTest.cpp 19 static void test_get_data_at_position(skiatest::Reporter* r, SkStreamBuffer* buffer, size_t position,
29 static void test_buffer_from_beginning(skiatest::Reporter* r, std::unique_ptr<SkStream> stream,
50 static void test_flushing(skiatest::Reporter* r, std::unique_ptr<SkStream> stream, size_t length,
TemplatesTest.cpp 12 static void test_automalloc_realloc(skiatest::Reporter* reporter) {
17 REPORTER_ASSERT(reporter, array[0] == 1);
23 REPORTER_ASSERT(reporter, array[0] == 1);
27 REPORTER_ASSERT(reporter, array[0] == 1);
31 REPORTER_ASSERT(reporter, array[0] == 1);
43 REPORTER_ASSERT(reporter, array[i] == 10 - i);
47 REPORTER_ASSERT(reporter, array[i] == 10 - i);
51 REPORTER_ASSERT(reporter, array[0] = 10);
59 REPORTER_ASSERT(reporter, array[0] == 1)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
check.py 12 from docutils.utils import Reporter
18 class SilentReporter(Reporter):
23 Reporter.__init__(self, source, report_level, halt_level, stream,
127 reporter = SilentReporter(source_path,
135 document = nodes.document(settings, reporter, source=source_path)
140 reporter.messages.append((-1, 'Could not finish the parsing.',
143 return reporter.messages
  /external/google-breakpad/src/common/
dwarf_cfi_to_module.cc 269 void DwarfCFIToModule::Reporter::UnnamedRegister(size_t offset, int reg) {
276 void DwarfCFIToModule::Reporter::UndefinedNotSupported(size_t offset,
285 void DwarfCFIToModule::Reporter::ExpressionsNotSupported(size_t offset,
  /external/mockito/src/main/java/org/mockito/internal/stubbing/
StubberImpl.java 17 import static org.mockito.internal.exceptions.Reporter.notAMockPassedToWhenMethod;
18 import static org.mockito.internal.exceptions.Reporter.notAnException;
19 import static org.mockito.internal.exceptions.Reporter.nullPassedToWhenMethod;
  /external/python/cpython2/Lib/distutils/command/
check.py 13 from docutils.utils import Reporter
19 class SilentReporter(Reporter):
24 Reporter.__init__(self, source, report_level, halt_level, stream,
133 reporter = SilentReporter(source_path,
141 document = nodes.document(settings, reporter, source=source_path)
146 reporter.messages.append(
149 return reporter.messages
  /external/python/cpython3/Lib/distutils/command/
check.py 10 from docutils.utils import Reporter
16 class SilentReporter(Reporter):
21 Reporter.__init__(self, source, report_level, halt_level, stream,
129 reporter = SilentReporter(source_path,
137 document = nodes.document(settings, reporter, source=source_path)
142 reporter.messages.append(
145 return reporter.messages

Completed in 500 milliseconds

1 2 3 4 5 67 8 91011>>