3 #include "testing/testing.h"
20 #include "RNA_prototypes.h"
26 TEST(view_layer, aov_unique_names)
60 EXPECT_TRUE(
STREQ(aov2->
name,
"AOV_001"));
69 EXPECT_TRUE(
STREQ(aov2->
name,
"AOV_001"));
92 const char *render_pass_name,
93 const char *rna_prop_name)
104 EXPECT_TRUE(
STREQ(aov->
name, render_pass_name));
111 EXPECT_TRUE(
STREQ(aov->
name, render_pass_name));
118 EXPECT_TRUE(
STREQ(aov->
name, render_pass_name));
void BKE_appdir_init(void)
void BKE_appdir_exit(void)
void BKE_idtype_init(void)
bool BKE_view_layer_has_valid_aov(struct ViewLayer *view_layer)
void BKE_view_layer_verify_aov(struct RenderEngine *engine, struct Scene *scene, struct ViewLayer *view_layer)
struct ViewLayerAOV * BKE_view_layer_add_aov(struct ViewLayer *view_layer)
void BKE_view_layer_remove_aov(struct ViewLayer *view_layer, struct ViewLayerAOV *aov)
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
GHOST_TSuccess GHOST_DisposeSystemPaths(void)
Read Guarded memory(de)allocation.
RenderEngine * RE_engine_create(RenderEngineType *type)
RenderEngineType * RE_engines_find(const char *idname)
void RE_engines_init(void)
void RE_engines_exit(void)
void RE_engine_free(RenderEngine *engine)
static void test_render_pass_conflict(Scene *scene, RenderEngine *engine, ViewLayer *view_layer, ViewLayerAOV *aov, const char *render_pass_name, const char *rna_prop_name)
TEST(action_groups, ReconstructGroupsWithReordering)
void RNA_pointer_create(ID *id, StructRNA *type, void *data, PointerRNA *r_ptr)
void RNA_boolean_set(PointerRNA *ptr, const char *name, bool value)
IDTypeInitDataFunction init_data
IDTypeFreeDataFunction free_data
ViewLayerAOV * active_aov