背景和头像缺失

This commit is contained in:
2026-03-01 13:51:43 +08:00
parent eaaf7f8c9b
commit 7d2f6399af
5947 changed files with 1441367 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#ifndef _TEXTURECACHE_TEST_H_
#define _TEXTURECACHE_TEST_H_
#include "cocos2d.h"
#include "../BaseTest.h"
DEFINE_TEST_SUITE(TextureCacheTests);
class TextureCacheTest : public TestCase
{
public:
CREATE_FUNC(TextureCacheTest);
TextureCacheTest();
void addSprite();
void loadingCallBack(cocos2d::Texture2D *texture);
virtual float getDuration() const override { return 3.5f; }
private:
cocos2d::Label *_labelLoading;
cocos2d::Label *_labelPercent;
int _numberOfSprites;
int _numberOfLoadedSprites;
};
#endif // _TEXTURECACHE_TEST_H_