#include <ConfigurationTest.h>
◆ CREATE_FUNC()
◆ onEnter()
| void ConfigurationSet::onEnter |
( |
| ) |
|
|
overridevirtual |
重载 TestCase .
在文件 ConfigurationTest.cpp 第 139 行定义.
143 Configuration *conf = Configuration::getInstance();
145 conf->setValue(
"this.is.an.int.value", Value(10) );
146 conf->setValue(
"this.is.a.bool.value", Value(
true) );
147 conf->setValue(
"this.is.a.string.value", Value(
"hello world") );
149 auto str = conf->getInfo();
150 log(
"%s\n", str.c_str());
virtual void onEnter() override
引用了 TestCase::onEnter().
◆ subtitle()
| std::string ConfigurationSet::subtitle |
( |
| ) |
const |
|
overridevirtual |
该类的文档由以下文件生成:
- /Users/yujizhu/Documents/Git/cocos2d-x-4.0/tests/cpp-tests/Classes/ConfigurationTest/ConfigurationTest.h
- /Users/yujizhu/Documents/Git/cocos2d-x-4.0/tests/cpp-tests/Classes/ConfigurationTest/ConfigurationTest.cpp