diff --git a/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.cpp b/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.cpp index b03c01f318..15e7504a92 100644 --- a/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.cpp +++ b/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.cpp @@ -260,7 +260,7 @@ private: bool _useNodePriority; }; -void FixedPriorityChangedTest::onEnter() +void FixedPriorityTest::onEnter() { EventDispatcherTestDemo::onEnter(); @@ -290,12 +290,12 @@ void FixedPriorityChangedTest::onEnter() } -std::string FixedPriorityChangedTest::title() +std::string FixedPriorityTest::title() { - return "Fixed priority changed test"; + return "Fixed priority test"; } -std::string FixedPriorityChangedTest::subtitle() +std::string FixedPriorityTest::subtitle() { return "Fixed Priority, Blue: 30, Red: 20, Yellow: 10\n The lower value the higher priority will be."; } diff --git a/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.h b/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.h index 54324a112b..a0a702215c 100644 --- a/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.h +++ b/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.h @@ -39,7 +39,7 @@ public: virtual std::string subtitle(); }; -class FixedPriorityChangedTest : public EventDispatcherTestDemo +class FixedPriorityTest : public EventDispatcherTestDemo { public: virtual void onEnter();