Blender V4.3
blender::animrig::tests::ActionLegacyTest Class Reference

Inherits testing::Test.

Public Member Functions

void SetUp () override
 
void TearDown () override
 
bActioncreate_empty_action ()
 
FCurvefcurve_add_legacy (bAction *action, const StringRefNull rna_path, const int array_index)
 

Static Public Member Functions

static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 

Public Attributes

Mainbmain
 

Detailed Description

Definition at line 22 of file action_legacy_test.cc.

Member Function Documentation

◆ create_empty_action()

bAction * blender::animrig::tests::ActionLegacyTest::create_empty_action ( )
inline

Definition at line 50 of file action_legacy_test.cc.

References BKE_id_new(), bmain, and ID_AC.

◆ fcurve_add_legacy()

FCurve * blender::animrig::tests::ActionLegacyTest::fcurve_add_legacy ( bAction * action,
const StringRefNull rna_path,
const int array_index )
inline

◆ SetUp()

void blender::animrig::tests::ActionLegacyTest::SetUp ( )
inlineoverride

Definition at line 40 of file action_legacy_test.cc.

References BKE_main_new(), and bmain.

◆ SetUpTestSuite()

static void blender::animrig::tests::ActionLegacyTest::SetUpTestSuite ( )
inlinestatic

Definition at line 26 of file action_legacy_test.cc.

References BKE_idtype_init(), and CLG_init().

◆ TearDown()

void blender::animrig::tests::ActionLegacyTest::TearDown ( )
inlineoverride

Definition at line 45 of file action_legacy_test.cc.

References BKE_main_free(), and bmain.

◆ TearDownTestSuite()

static void blender::animrig::tests::ActionLegacyTest::TearDownTestSuite ( )
inlinestatic

Definition at line 35 of file action_legacy_test.cc.

References CLG_exit().

Member Data Documentation

◆ bmain

Main* blender::animrig::tests::ActionLegacyTest::bmain

Definition at line 24 of file action_legacy_test.cc.

Referenced by create_empty_action(), SetUp(), and TearDown().


The documentation for this class was generated from the following file: