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

Inherits blender::bke::BlenderGTestBase.

Public Member Functions

void SetUp () override
void TearDown () override
bAction * create_empty_action ()
FCurve * fcurve_add_legacy (bAction *action, const StringRefNull rna_path, const int array_index)

Public Attributes

Main * bmain

Additional Inherited Members

Static Public Member Functions inherited from blender::bke::BlenderGTestBase
static void SetUpTestSuite ()
static void TearDownTestSuite ()

Detailed Description

Definition at line 21 of file action_legacy_test.cc.

Member Function Documentation

◆ create_empty_action()

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

Definition at line 35 of file action_legacy_test.cc.

References blender::BKE_id_new(), and bmain.

◆ 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 25 of file action_legacy_test.cc.

References blender::BKE_main_new(), and bmain.

◆ TearDown()

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

Definition at line 30 of file action_legacy_test.cc.

References blender::BKE_main_free(), and bmain.

Member Data Documentation

◆ bmain

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

Definition at line 23 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: