2012-04-19 14:35:52 +08:00
|
|
|
#ifndef __NOTIFICATIONCENTERTEST_H__
|
|
|
|
#define __NOTIFICATIONCENTERTEST_H__
|
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
#include "BaseTest.h"
|
2012-02-10 11:46:18 +08:00
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
DEFINE_TEST_SUITE(NotificationCenterTests);
|
|
|
|
|
|
|
|
class NotificationCenterTest : public TestCase
|
2012-02-10 11:46:18 +08:00
|
|
|
{
|
|
|
|
public:
|
2015-04-03 14:31:03 +08:00
|
|
|
CREATE_FUNC(NotificationCenterTest);
|
|
|
|
|
2012-02-10 11:46:18 +08:00
|
|
|
NotificationCenterTest();
|
2015-04-03 14:31:03 +08:00
|
|
|
~NotificationCenterTest();
|
|
|
|
|
2014-02-20 10:53:49 +08:00
|
|
|
void toggleSwitch(cocos2d::Ref *sender);
|
|
|
|
void connectToSwitch(cocos2d::Ref *sender);
|
|
|
|
void doNothing(cocos2d::Ref *sender);
|
2012-02-10 11:46:18 +08:00
|
|
|
};
|
2012-04-19 14:35:52 +08:00
|
|
|
|
|
|
|
#endif /* __NOTIFICATIONCENTERTEST_H__ */
|