PuzzleSDK
ActionManagerTest类 参考

#include <ActionManagerTest.h>

+ 类 ActionManagerTest 继承关系图:
+ ActionManagerTest 的协作图:

Public 成员函数

 ActionManagerTest ()
 
 ~ActionManagerTest ()
 
virtual std::string title () const override
 
virtual std::string subtitle () const override
 
- Public 成员函数 继承自 TestCase
 TestCase ()
 
 ~TestCase ()
 
virtual Type getTestType () const
 
virtual float getDuration () const
 
virtual std::string getExpectedOutput () const
 
virtual std::string getActualOutput () const
 
virtual void restartTestCallback (cocos2d::Ref *sender)
 
virtual void nextTestCallback (cocos2d::Ref *sender)
 
virtual void priorTestCallback (cocos2d::Ref *sender)
 
virtual void onBackCallback (cocos2d::Ref *sender)
 
void setTestSuite (TestSuite *testSuite)
 
TestSuitegetTestSuite () const
 
float getRunTime () const
 
void setTestCaseName (const std::string &name)
 
std::string getTestCaseName () const
 
const cocos2d::Label * getSubtitleLable () const
 
const cocos2d::MenuItemImage * getRestartTestItem () const
 
virtual void onEnter () override
 

Protected 属性

cocos2d::TextureAtlas * _atlas
 
std::string _title
 
- Protected 属性 继承自 TestCase
cocos2d::MenuItemImage * _priorTestItem
 
cocos2d::MenuItemImage * _restartTestItem
 
cocos2d::MenuItemImage * _nextTestItem
 
cocos2d::Label * _titleLabel
 
cocos2d::Label * _subtitleLabel
 

额外继承的成员函数

- Public 类型 继承自 TestCase
enum class  Type { ROBUSTNESS , UNIT , GRAPHICAL_STATIC , MANUAL }
 
- Public 属性 继承自 TestCase
CC_CONSTRUCTOR_ACCESS __pad0__: virtual bool init() override
 

详细描述

在文件 ActionManagerTest.h32 行定义.

构造及析构函数说明

◆ ActionManagerTest()

ActionManagerTest::ActionManagerTest ( )

在文件 ActionManagerTest.cpp56 行定义.

57{
58}

◆ ~ActionManagerTest()

ActionManagerTest::~ActionManagerTest ( )

在文件 ActionManagerTest.cpp60 行定义.

61{
62}

成员函数说明

◆ subtitle()

std::string ActionManagerTest::subtitle ( ) const
overridevirtual

重载 TestCase .

CrashTest, LogicTest, PauseTest, StopActionTest, StopAllActionsTest, ResumeTest, StopActionsByFlagsTest , 以及 Issue14050Test 重载.

在文件 ActionManagerTest.cpp68 行定义.

69{
70 return "No title";
71}

◆ title()

std::string ActionManagerTest::title ( ) const
overridevirtual

重载 TestCase .

在文件 ActionManagerTest.cpp64 行定义.

65{
66 return "ActionManager Test";
67}

类成员变量说明

◆ _atlas

cocos2d::TextureAtlas* ActionManagerTest::_atlas
protected

在文件 ActionManagerTest.h35 行定义.

◆ _title

std::string ActionManagerTest::_title
protected

在文件 ActionManagerTest.h37 行定义.


该类的文档由以下文件生成: