void SceneEditorTestLayer::toExtensionsMainLayer(cocos2d::CCObject *sender)
{

	ExtensionsTestScene *pScene = new ExtensionsTestScene();
	pScene->runThisTest();
	pScene->release();
}
Example #2
0
void CocosGUITestScene::MainMenuCallback(Object* pSender)
{
    ul->removeFromParent();
    ExtensionsTestScene *pScene = new ExtensionsTestScene();
	pScene->runThisTest();
	pScene->release();    
}
Example #3
0
void SceneEditorTestLayer::toExtensionsMainLayer(cocos2d::Object *sender)
{
    ComAudio *pBackMusic = (ComAudio*)(_curNode->getComponent("CCBackgroundAudio"));
    pBackMusic->stopBackgroundMusic();
	ExtensionsTestScene *pScene = new ExtensionsTestScene();
	pScene->runThisTest();
	pScene->release();
}  
Example #4
0
void SocketIOTestLayer::toExtensionsMainLayer(cocos2d::Ref *sender)
{
	ExtensionsTestScene *scene = new ExtensionsTestScene();
    scene->runThisTest();
    scene->release();

	if(_sioEndpoint) _sioEndpoint->disconnect();
	if(_sioClient) _sioClient->disconnect();

}
void NotificationCenterTest::toExtensionsMainLayer(cocos2d::CCObject* sender)
{
    /* for testing removeAllObservers */
    int CC_UNUSED numObserversRemoved = CCNotificationCenter::sharedNotificationCenter()->removeAllObservers(this);
    CCAssert(numObserversRemoved >= 3, "All observers were not removed!");

    ExtensionsTestScene* pScene = new ExtensionsTestScene();
    pScene->runThisTest();
    pScene->release();
}
Example #6
0
void CCControlScene::toExtensionsMainLayer(CCObject* sender)
{
    ExtensionsTestScene* pScene = new ExtensionsTestScene();
    pScene->runThisTest();
    pScene->release();
}
void CocoStudioGUITestScene::BackCallback(Ref* pSender)
{
    ExtensionsTestScene* pScene = new ExtensionsTestScene();
    pScene->runThisTest();
    pScene->release();
}
Example #8
0
void HttpClientTest::toExtensionsMainLayer(cocos2d::CCObject *sender)
{
    ExtensionsTestScene *pScene = new ExtensionsTestScene();
    pScene->runThisTest();
    pScene->release();
}
Example #9
0
void TableViewTestLayer::toExtensionsMainLayer(cocos2d::Object *sender)
{
	ExtensionsTestScene *scene = new ExtensionsTestScene();
	scene->runThisTest();
	scene->release();
}
void NotificationCenterTest::toExtensionsMainLayer(cocos2d::CCObject* sender)
{
    ExtensionsTestScene* pScene = new ExtensionsTestScene();
    pScene->runThisTest();
    pScene->release();
}