adds more info for bug #15776 (#16316)

related to github issue #15776

This is a PR for v3.13 branch
This commit is contained in:
Ricardo Quesada 2016-08-04 23:04:26 -07:00 committed by minggo
parent 1cb506a5c5
commit 59a646341c
2 changed files with 20 additions and 0 deletions

View File

@ -11,6 +11,13 @@
USING_NS_CC;
//
// IMPORTANT:
// THIS TEST WILL CRASH ON TextureCache::addImage()
// THIS IS NOT A BUG
// It is expected to crash there
//
bool Bug15776Layer::init()
{
if (BugsTestBase::init())
@ -24,3 +31,13 @@ bool Bug15776Layer::init()
return false;
}
std::string Bug15776Layer::title() const
{
return "Testing Issue #15776";
}
std::string Bug15776Layer::subtitle() const
{
return "It should crash on TextureCache::addImage()";
}

View File

@ -17,6 +17,9 @@ public:
CREATE_FUNC(Bug15776Layer);
virtual bool init() override;
virtual std::string title() const override;
virtual std::string subtitle() const override;
};