2018-01-29 16:25:32 +08:00
|
|
|
/****************************************************************************
|
|
|
|
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
|
2021-12-28 16:06:23 +08:00
|
|
|
|
2018-01-29 16:25:32 +08:00
|
|
|
http://www.cocos2d-x.org
|
2021-12-28 16:06:23 +08:00
|
|
|
|
2018-01-29 16:25:32 +08:00
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
2021-12-28 16:06:23 +08:00
|
|
|
|
2018-01-29 16:25:32 +08:00
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
2021-12-28 16:06:23 +08:00
|
|
|
|
2018-01-29 16:25:32 +08:00
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|
|
|
|
****************************************************************************/
|
|
|
|
|
2012-04-19 14:35:52 +08:00
|
|
|
#include "BugsTest.h"
|
|
|
|
#include "Bug-350.h"
|
|
|
|
#include "Bug-422.h"
|
|
|
|
#include "Bug-458/Bug-458.h"
|
|
|
|
#include "Bug-624.h"
|
|
|
|
#include "Bug-886.h"
|
|
|
|
#include "Bug-899.h"
|
|
|
|
#include "Bug-914.h"
|
|
|
|
#include "Bug-1159.h"
|
|
|
|
#include "Bug-1174.h"
|
2015-07-22 13:42:10 +08:00
|
|
|
#include "Bug-12847.h"
|
2014-05-13 14:28:20 +08:00
|
|
|
#include "Bug-Child.h"
|
2015-07-07 09:54:42 +08:00
|
|
|
#include "Bug-CCDrawNode.h"
|
2016-05-25 04:05:08 +08:00
|
|
|
#include "Bug-15594.h"
|
2016-06-18 07:07:33 +08:00
|
|
|
#include "Bug-15776.h"
|
2012-04-19 14:35:52 +08:00
|
|
|
|
2015-11-18 22:52:47 +08:00
|
|
|
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
|
2021-12-28 16:06:23 +08:00
|
|
|
# include "Bug-14327.h"
|
2015-11-18 22:52:47 +08:00
|
|
|
#endif
|
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
BugsTests::BugsTests()
|
2012-04-19 14:35:52 +08:00
|
|
|
{
|
2015-04-03 14:31:03 +08:00
|
|
|
ADD_TEST_CASE(Bug350Layer);
|
|
|
|
ADD_TEST_CASE(Bug422Layer);
|
|
|
|
ADD_TEST_CASE(Bug458Layer);
|
|
|
|
ADD_TEST_CASE(Bug624Layer);
|
|
|
|
ADD_TEST_CASE(Bug886Layer);
|
|
|
|
ADD_TEST_CASE(Bug899Layer);
|
|
|
|
ADD_TEST_CASE(Bug914Layer);
|
|
|
|
ADD_TEST_CASE(Bug1159Layer);
|
|
|
|
ADD_TEST_CASE(Bug1174Layer);
|
|
|
|
ADD_TEST_CASE(BugChild);
|
2015-05-21 16:57:13 +08:00
|
|
|
ADD_TEST_CASE(BugCameraMask);
|
2015-07-07 09:54:42 +08:00
|
|
|
ADD_TEST_CASE(BugDrawNodeLayer);
|
2015-07-22 13:42:10 +08:00
|
|
|
ADD_TEST_CASE(Bug12847Layer);
|
2016-05-25 04:05:08 +08:00
|
|
|
ADD_TEST_CASE(Bug15594Layer);
|
2021-12-28 16:06:23 +08:00
|
|
|
|
2017-01-09 09:36:00 +08:00
|
|
|
// NOTE: comment this out because it currently crashes during autotest
|
2021-12-28 16:06:23 +08:00
|
|
|
// ADD_TEST_CASE(Bug15776Layer);
|
2015-11-18 22:52:47 +08:00
|
|
|
|
|
|
|
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
|
|
|
|
ADD_TEST_CASE(Bug14327Layer);
|
|
|
|
#endif
|
2012-04-19 14:35:52 +08:00
|
|
|
}
|