diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp b/tests/cpp-tests/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp index b799b4cac0..a1fad7d854 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp @@ -1546,7 +1546,7 @@ void TestLoadFromBinary::onTouchesEnded(const std::vector& touches, Even // remove json created // remove sync resource - ArmatureDataManager::getInstance()->removeArmatureFileInfo("armature/Cowboy.ExportJson"); + ArmatureDataManager::getInstance()->removeArmatureFileInfo(m_binaryFilesNames[0]); ArmatureDataManager::getInstance()->removeArmatureFileInfo("armature/Cowboy.ExportJson"); ArmatureDataManager::getInstance()->removeArmatureFileInfo("armature/hero.ExportJson"); ArmatureDataManager::getInstance()->removeArmatureFileInfo("armature/horse.ExportJson"); @@ -1557,11 +1557,6 @@ void TestLoadFromBinary::onTouchesEnded(const std::vector& touches, Even ArmatureDataManager::getInstance()->removeArmatureFileInfo(m_binaryFilesNames[i]); } - for( int i = 0; i < BINARYFILECOUNT; i++) - { - ArmatureDataManager::getInstance()->removeArmatureFileInfo("armature/testEasing.csb"); - } - for( int i = 0; i < BINARYFILECOUNT; i++) { ArmatureDataManager::getInstance()->addArmatureFileInfoAsync(m_binaryFilesNames[i], this, schedule_selector(TestLoadFromBinary::dataLoaded));