mirror of https://github.com/axmolengine/axmol.git
Adds more info regarding bug 15776 (#16315)
Related to github issue #15776
This commit is contained in:
parent
a5f36e70a5
commit
a58323a388
|
@ -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()";
|
||||
}
|
||||
|
|
|
@ -17,6 +17,9 @@ public:
|
|||
CREATE_FUNC(Bug15776Layer);
|
||||
|
||||
virtual bool init() override;
|
||||
|
||||
virtual std::string title() const override;
|
||||
virtual std::string subtitle() const override;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue