Blender V5.0
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 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 49 of file action_legacy_test.cc.

References 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 39 of file action_legacy_test.cc.

References BKE_main_new(), and bmain.

◆ SetUpTestSuite()

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

Definition at line 25 of file action_legacy_test.cc.

References BKE_idtype_init(), and CLG_init().

◆ TearDown()

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

Definition at line 44 of file action_legacy_test.cc.

References BKE_main_free(), and bmain.

◆ TearDownTestSuite()

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

Definition at line 34 of file action_legacy_test.cc.

References CLG_exit().

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: