|
PuzzleSDK
|
#include <BaseTest.h>
类 TestList 继承关系图:
TestList 的协作图:Public 成员函数 | |
| TestList () | |
| void | addTest (const std::string &testName, std::function< TestBase *()> callback) |
| virtual void | runThisTest () override |
| virtual void | tableCellTouched (cocos2d::extension::TableView *table, cocos2d::extension::TableViewCell *cell) override |
| virtual cocos2d::extension::TableViewCell * | tableCellAtIndex (cocos2d::extension::TableView *table, ssize_t idx) override |
| virtual cocos2d::Size | tableCellSizeForIndex (cocos2d::extension::TableView *table, ssize_t idx) override |
| virtual ssize_t | numberOfCellsInTableView (cocos2d::extension::TableView *table) override |
| virtual void | scrollViewDidScroll (cocos2d::extension::ScrollView *view) override |
| virtual void | scrollViewDidZoom (cocos2d::extension::ScrollView *view) override |
Public 成员函数 继承自 TestBase | |
| virtual | ~TestBase () |
| void | backsUpOneLevel () |
| bool | isTestList () |
| ssize_t | getChildTestCount () |
| void | setTestParent (TestBase *parent) |
| TestBase * | getTestParent () |
| void | setTestName (const std::string &testName) |
| std::string | getTestName () const |
Private 属性 | |
| std::vector< std::function< TestBase *()> > | _testCallbacks |
| bool | _cellTouchEnabled |
| bool | _shouldRestoreTableOffset |
| cocos2d::Vec2 | _tableOffset |
友元 | |
| class | TestController |
额外继承的成员函数 | |
Protected 成员函数 继承自 TestBase | |
| TestBase () | |
Protected 属性 继承自 TestBase | |
| std::string | _testName |
| TestBase * | _parentTest |
| bool | _isTestList |
| std::vector< std::string > | _childTestNames |
An instance of TestList is a means for displaying hierarchical lists of TestSuite.
在文件 BaseTest.h 第 182 行定义.
| TestList::TestList | ( | ) |
在文件 BaseTest.cpp 第 129 行定义.
| void TestList::addTest | ( | const std::string & | testName, |
| std::function< TestBase *()> | callback | ||
| ) |
在文件 BaseTest.cpp 第 135 行定义.
引用了 TestBase::_childTestNames , 以及 _testCallbacks.
被这些函数引用 RootTests::RootTests() , 以及 UITests::UITests().
这是这个函数的调用关系图:
|
overridevirtual |
在文件 BaseTest.cpp 第 253 行定义.
|
overridevirtual |
重载 TestBase .
在文件 BaseTest.cpp 第 144 行定义.
引用了 _cellTouchEnabled, TestBase::_parentTest, _shouldRestoreTableOffset, _tableOffset, TestBase::backsUpOneLevel(), VisibleRect::bottom(), TestCustomTableView::create(), TestController::destroyInstance(), TestController::getInstance(), VisibleRect::left(), VisibleRect::right(), s_pathClose, TestController::startAutoTest(), TestController::stopAutoTest() , 以及 VisibleRect::top().
被这些函数引用 TestController::TestController().
函数调用图:
这是这个函数的调用关系图:
|
inlineoverridevirtual |
在文件 BaseTest.h 第 197 行定义.
|
inlineoverridevirtual |
在文件 BaseTest.h 第 198 行定义.
|
overridevirtual |
|
overridevirtual |
在文件 BaseTest.cpp 第 248 行定义.
|
overridevirtual |
在文件 BaseTest.cpp 第 204 行定义.
引用了 _cellTouchEnabled, _shouldRestoreTableOffset, _tableOffset , 以及 _testCallbacks.
|
friend |
在文件 BaseTest.h 第 205 行定义.
|
private |
在文件 BaseTest.h 第 202 行定义.
被这些函数引用 runThisTest() , 以及 tableCellTouched().
|
private |
在文件 BaseTest.h 第 203 行定义.
被这些函数引用 runThisTest(), tableCellTouched() , 以及 TestList().
|
private |
在文件 BaseTest.h 第 204 行定义.
被这些函数引用 runThisTest() , 以及 tableCellTouched().
|
private |
在文件 BaseTest.h 第 201 行定义.
被这些函数引用 addTest(), tableCellTouched() , 以及 TestController::traverseTestList().