2014-09-22 20:48:15 +08:00
|
|
|
#ifndef _OPEN_URL_TEST_H_
|
|
|
|
#define _OPEN_URL_TEST_H_
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
2015-04-03 14:31:03 +08:00
|
|
|
#include "../BaseTest.h"
|
2014-09-22 20:48:15 +08:00
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
DEFINE_TEST_SUITE(OpenURLTests);
|
|
|
|
|
|
|
|
class OpenURLTest : public TestCase
|
2014-09-22 20:48:15 +08:00
|
|
|
{
|
|
|
|
public:
|
2015-04-03 14:31:03 +08:00
|
|
|
CREATE_FUNC(OpenURLTest);
|
2014-09-22 20:48:15 +08:00
|
|
|
OpenURLTest();
|
|
|
|
~OpenURLTest();
|
|
|
|
|
2015-04-09 08:37:30 +08:00
|
|
|
void onTouchesEnded(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event *event);
|
2014-09-22 20:48:15 +08:00
|
|
|
private:
|
|
|
|
cocos2d::Label* _label;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _OPEN_URL_TEST_H_
|