Blender V5.0
brush_test.cc File Reference
#include "testing/testing.h"
#include "BKE_brush.hh"
#include "BKE_idtype.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BLI_listbase.h"
#include "DNA_brush_types.h"
#include "DNA_material_types.h"
#include "DNA_node_types.h"

Go to the source code of this file.

Classes

class  BrushTest

Functions

static void check_id_and_name (const ID *a, const ID *b)
static void check_embedded_copy (const ID *a, const ID *b)
 TEST_F (BrushTest, deep_copy)
 TEST_F (BrushTest, deep_copy_grease_pencil_brush)

Function Documentation

◆ check_embedded_copy()

void check_embedded_copy ( const ID * a,
const ID * b )
static

Definition at line 45 of file brush_test.cc.

References b, EXPECT_EQ(), ID::flag, ID_FLAG_EMBEDDED_DATA, ID::name, and ID::us.

Referenced by TEST_F(), and TEST_F().

◆ check_id_and_name()

void check_id_and_name ( const ID * a,
const ID * b )
static

Definition at line 37 of file brush_test.cc.

References b, EXPECT_EQ(), ID::name, and ID::us.

Referenced by TEST_F(), and TEST_F().

◆ TEST_F() [1/2]

◆ TEST_F() [2/2]