axmol/tests/cpp-tests/Classes/OpenURLTest/OpenURLTest.h

22 lines
413 B
C
Raw Normal View History

2014-09-22 20:48:15 +08:00
#ifndef _OPEN_URL_TEST_H_
#define _OPEN_URL_TEST_H_
#include "cocos2d.h"
#include "../BaseTest.h"
2014-09-22 20:48:15 +08:00
DEFINE_TEST_SUITE(OpenURLTests);
class OpenURLTest : public TestCase
2014-09-22 20:48:15 +08:00
{
public:
CREATE_FUNC(OpenURLTest);
2014-09-22 20:48:15 +08:00
OpenURLTest();
~OpenURLTest();
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_