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();
|
|
|
|
|
|
|
|
void onTouchesEnded(const std::vector<Touch*>& touches, cocos2d::Event *event);
|
|
|
|
private:
|
|
|
|
cocos2d::Label* _label;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _OPEN_URL_TEST_H_
|