Home
last modified time | relevance | path

Searched refs:assert_type (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/skia/tests/
DRecordOptsTest.cpp47 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST()
70 assert_type<SkRecords::NoOp>(r, record, index); in DEF_TEST()
87 assert_type<SkRecords::Save> (r, record, 0); in DEF_TEST()
88 assert_type<SkRecords::SaveLayer>(r, record, 1); in DEF_TEST()
89 assert_type<SkRecords::Restore> (r, record, 2); in DEF_TEST()
90 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST()
93 assert_type<SkRecords::SaveLayer>(r, record, 0); in DEF_TEST()
94 assert_type<SkRecords::Restore> (r, record, 1); in DEF_TEST()
110 assert_type<SkRecords::NoOp>(r, *record, i); in assert_savelayer_restore()
111 assert_type<SkRecords::NoOp>(r, *record, i+1); in assert_savelayer_restore()
[all …]
DRecordDrawTest.cpp47 assert_type<SkRecords::DrawPaint>(r, record, 0); in DEF_TEST()
48 assert_type<SkRecords::Save> (r, record, 1); in DEF_TEST()
49 assert_type<SkRecords::Concat> (r, record, 2); in DEF_TEST()
50 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST()
108 assert_type<SkRecords::SetMatrix>(r, translateRecord, 0); in DEF_TEST()
109 assert_type<SkRecords::Save> (r, translateRecord, 1); in DEF_TEST()
110 assert_type<SkRecords::SetMatrix>(r, translateRecord, 2); in DEF_TEST()
111 assert_type<SkRecords::Restore> (r, translateRecord, 3); in DEF_TEST()
116 setMatrix = assert_type<SkRecords::SetMatrix>(r, translateRecord, 0); in DEF_TEST()
119 setMatrix = assert_type<SkRecords::SetMatrix>(r, translateRecord, 2); in DEF_TEST()
[all …]
DRecordTest.cpp94 assert_type<SkRecords::Save >(r, record, 0); in DEF_TEST()
95 assert_type<SkRecords::ClipRect>(r, record, 1); in DEF_TEST()
96 assert_type<SkRecords::DrawRect>(r, record, 2); in DEF_TEST()
97 assert_type<SkRecords::Restore >(r, record, 3); in DEF_TEST()
DRecordTestUtils.h31 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, int index) { in assert_type() function
/third_party/skia/tests/
DRecordOptsTest.cpp47 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST()
70 assert_type<SkRecords::NoOp>(r, record, index); in DEF_TEST()
87 assert_type<SkRecords::Save> (r, record, 0); in DEF_TEST()
88 assert_type<SkRecords::SaveLayer>(r, record, 1); in DEF_TEST()
89 assert_type<SkRecords::Restore> (r, record, 2); in DEF_TEST()
90 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST()
93 assert_type<SkRecords::SaveLayer>(r, record, 0); in DEF_TEST()
94 assert_type<SkRecords::Restore> (r, record, 1); in DEF_TEST()
110 assert_type<SkRecords::NoOp>(r, *record, i); in assert_savelayer_restore()
111 assert_type<SkRecords::NoOp>(r, *record, i+1); in assert_savelayer_restore()
[all …]
DRecordDrawTest.cpp47 assert_type<SkRecords::DrawPaint>(r, record, 0); in DEF_TEST()
48 assert_type<SkRecords::Save> (r, record, 1); in DEF_TEST()
49 assert_type<SkRecords::Scale> (r, record, 2); in DEF_TEST()
50 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST()
108 assert_type<SkRecords::SetM44>(r, translateRecord, 0); in DEF_TEST()
109 assert_type<SkRecords::Save> (r, translateRecord, 1); in DEF_TEST()
110 assert_type<SkRecords::SetM44>(r, translateRecord, 2); in DEF_TEST()
111 assert_type<SkRecords::Restore> (r, translateRecord, 3); in DEF_TEST()
116 setMatrix = assert_type<SkRecords::SetM44>(r, translateRecord, 0); in DEF_TEST()
119 setMatrix = assert_type<SkRecords::SetM44>(r, translateRecord, 2); in DEF_TEST()
[all …]
DRecordTest.cpp94 assert_type<SkRecords::Save >(r, record, 0); in DEF_TEST()
95 assert_type<SkRecords::ClipRect>(r, record, 1); in DEF_TEST()
96 assert_type<SkRecords::DrawRect>(r, record, 2); in DEF_TEST()
97 assert_type<SkRecords::Restore >(r, record, 3); in DEF_TEST()
DRecordTestUtils.h31 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, int index) { in assert_type() function
/third_party/rust/crates/static-assertions-rs/src/
Dlib.rs96 mod assert_type; module
/third_party/json/test/thirdparty/doctest/
Ddoctest.h2074 #define DOCTEST_ASSERT_IMPLEMENT_2(assert_type, ...) \
2076 doctest::detail::ResultBuilder _DOCTEST_RB(doctest::assertType::assert_type, __FILE__, \
2079 doctest::detail::ExpressionDecomposer(doctest::assertType::assert_type) \
2084 #define DOCTEST_ASSERT_IMPLEMENT_1(assert_type, ...) \
2086 DOCTEST_ASSERT_IMPLEMENT_2(assert_type, __VA_ARGS__); \
2094 #define DOCTEST_ASSERT_IMPLEMENT_1(assert_type, ...) \
2097 doctest::assertType::assert_type, __FILE__, __LINE__, #__VA_ARGS__, \
2098 doctest::detail::ExpressionDecomposer(doctest::assertType::assert_type) \
2119 #define DOCTEST_ASSERT_THROWS_AS(expr, assert_type, message, ...) \
2122 doctest::detail::ResultBuilder _DOCTEST_RB(doctest::assertType::assert_type, __FILE__, \
[all …]