2012-04-19 14:35:52 +08:00
|
|
|
#ifndef _USERDEFAULT_TEST_H_
|
|
|
|
#define _USERDEFAULT_TEST_H_
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
2015-04-03 14:31:03 +08:00
|
|
|
#include "../BaseTest.h"
|
2015-07-06 17:01:17 +08:00
|
|
|
#include "2d/CCLabel.h"
|
2012-04-19 14:35:52 +08:00
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
DEFINE_TEST_SUITE(UserDefaultTests);
|
|
|
|
|
|
|
|
class UserDefaultTest : public TestCase
|
2012-04-19 14:35:52 +08:00
|
|
|
{
|
|
|
|
public:
|
2015-04-03 14:31:03 +08:00
|
|
|
CREATE_FUNC(UserDefaultTest);
|
2012-04-19 14:35:52 +08:00
|
|
|
UserDefaultTest();
|
|
|
|
~UserDefaultTest();
|
|
|
|
|
|
|
|
private:
|
|
|
|
void doTest();
|
2015-07-06 17:01:17 +08:00
|
|
|
void printValue();
|
|
|
|
cocos2d::Label* _label;
|
2012-04-19 14:35:52 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _USERDEFAULT_TEST_H_
|