diff --git a/tests/cpp-tests/Classes/MotionStreakTest/MotionStreakTest.cpp b/tests/cpp-tests/Classes/MotionStreakTest/MotionStreakTest.cpp index 7c797561b4..7ef9e22794 100644 --- a/tests/cpp-tests/Classes/MotionStreakTest/MotionStreakTest.cpp +++ b/tests/cpp-tests/Classes/MotionStreakTest/MotionStreakTest.cpp @@ -134,6 +134,11 @@ std::string MotionStreakTest2::title() const return "MotionStreak test"; } +std::string MotionStreakTest2::subtitle() const +{ + return "Need Touch Movement"; +} + //------------------------------------------------------------------ // // Issue1358 diff --git a/tests/cpp-tests/Classes/MotionStreakTest/MotionStreakTest.h b/tests/cpp-tests/Classes/MotionStreakTest/MotionStreakTest.h index 95c7aaeb40..7133da783e 100644 --- a/tests/cpp-tests/Classes/MotionStreakTest/MotionStreakTest.h +++ b/tests/cpp-tests/Classes/MotionStreakTest/MotionStreakTest.h @@ -69,6 +69,7 @@ public: virtual void onEnter() override; void onTouchesMoved(const std::vector& touches, cocos2d::Event* event); virtual std::string title() const override; + virtual std::string subtitle() const override; }; class Issue1358 : public MotionStreakTest