PuzzleSDK
ActionsProgressTest.h
浏览该文件的文档.
1/****************************************************************************
2 Copyright (c) 2012 cocos2d-x.org
3 Copyright (c) 2013-2016 Chukong Technologies Inc.
4 Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
5
6 http://www.cocos2d-x.org
7
8 Permission is hereby granted, free of charge, to any person obtaining a copy
9 of this software and associated documentation files (the "Software"), to deal
10 in the Software without restriction, including without limitation the rights
11 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 copies of the Software, and to permit persons to whom the Software is
13 furnished to do so, subject to the following conditions:
14
15 The above copyright notice and this permission notice shall be included in
16 all copies or substantial portions of the Software.
17
18 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 THE SOFTWARE.
25 ****************************************************************************/
26
27#ifndef _ACTIONS__PROGRESS_TEST_H_
28#define _ACTIONS__PROGRESS_TEST_H_
29
30#include "../BaseTest.h"
31
32DEFINE_TEST_SUITE(ActionsProgressTests);
33
34class SpriteDemo : public TestCase
35{
36public:
37 SpriteDemo();
39
40 virtual std::string title() const override;
41 virtual void onEnter() override;
42};
43
45{
46public:
48
49 virtual void onEnter() override;
50 virtual std::string subtitle() const override;
51};
52
54{
55public:
57
58 virtual void onEnter() override;
59 virtual std::string subtitle() const override;
60};
61
63{
64public:
66
67 virtual void onEnter() override;
68 virtual std::string subtitle() const override;
69};
70
72{
73public:
75
76 virtual void onEnter() override;
77 virtual std::string subtitle() const override;
78};
79
81{
82public:
84
85 virtual void onEnter() override;
86 virtual std::string subtitle() const override;
87};
88
90{
91public:
93
94 virtual void onEnter() override;
95 virtual std::string subtitle() const override;
96};
97
99{
100public:
102
103 virtual void onEnter() override;
104 virtual std::string subtitle() const override;
105};
106
107#endif // _ACTIONS__PROGRESS_TEST_H_
DEFINE_TEST_SUITE(ActionsProgressTests)
virtual void onEnter() override
virtual std::string title() const override
virtual std::string subtitle() const override
CREATE_FUNC(SpriteProgressBarTintAndFade)
virtual void onEnter() override
virtual std::string subtitle() const override
virtual void onEnter() override
CREATE_FUNC(SpriteProgressBarVarious)
virtual void onEnter() override
CREATE_FUNC(SpriteProgressToHorizontal)
virtual std::string subtitle() const override
virtual std::string subtitle() const override
CREATE_FUNC(SpriteProgressToRadial)
virtual void onEnter() override
virtual std::string subtitle() const override
CREATE_FUNC(SpriteProgressToRadialMidpointChanged)
virtual void onEnter() override
CREATE_FUNC(SpriteProgressToVertical)
virtual std::string subtitle() const override
CREATE_FUNC(SpriteProgressWithSpriteFrame)
virtual std::string subtitle() const override