|
Blender V5.3
|
Inherits testing::Test.
Public Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| bool | has_warning_containing (const char *needle) |
| bool | has_any_report () |
| void | expect_sh_attributes (const PointCloud &point_cloud, const GsplatPlyDataBuilder &builder, const int expected_num_coefficients) |
Static Public Member Functions | |
| static void | SetUpTestSuite () |
| static void | TearDownTestSuite () |
| static int | count_sh_attributes (const PointCloud &point_cloud) |
Protected Attributes | |
| PLYImportParams | params_ |
| ReportList | reports_ |
Definition at line 125 of file io_ply_import_gsplat_test.cc.
|
inlinestatic |
Definition at line 163 of file io_ply_import_gsplat_test.cc.
References blender::bke::AttributeAccessor::contains().
Referenced by expect_sh_attributes().
|
inline |
Definition at line 173 of file io_ply_import_gsplat_test.cc.
References count_sh_attributes(), blender::EXPECT_EQ(), blender::io::ply::GsplatPlyDataBuilder::expected_sh(), blender::bke::AttributeAccessor::lookup(), blender::io::ply::GsplatPlyDataBuilder::num_points, blender::bke::Point, and blender::bke::AttributeReader< T >::varray.
|
inline |
Definition at line 158 of file io_ply_import_gsplat_test.cc.
References blender::BLI_listbase_is_empty(), blender::ReportList::list, and reports_.
|
inline |
Definition at line 147 of file io_ply_import_gsplat_test.cc.
References blender::BKE_reports_string(), reports_, and blender::RPT_WARNING.
|
inlineoverride |
Definition at line 136 of file io_ply_import_gsplat_test.cc.
References blender::BKE_reports_init(), params_, blender::PLYImportParams::reports, reports_, and blender::RPT_STORE.
|
inlinestatic |
Definition at line 127 of file io_ply_import_gsplat_test.cc.
References blender::bke::gtest_setup().
|
inlineoverride |
Definition at line 142 of file io_ply_import_gsplat_test.cc.
References blender::BKE_reports_free(), and reports_.
|
inlinestatic |
Definition at line 131 of file io_ply_import_gsplat_test.cc.
References blender::bke::gtest_teardown().
|
protected |
Definition at line 196 of file io_ply_import_gsplat_test.cc.
Referenced by SetUp().
|
protected |
Definition at line 197 of file io_ply_import_gsplat_test.cc.
Referenced by has_any_report(), has_warning_containing(), SetUp(), and TearDown().