LOCAL_C void ViewL() { test.Start(_L("Client side")); TestView(KClientHeap,KClient); TestSQLL(KClient); test.Next(_L("Client-Server")); Connect(); TestView(KClientHeap,KServer); TestView(KServerHeap,KServer); TestSQLL(KServer); TestUpdateSQL(KClientHeap,KClient); TestUpdateSQL(KServerHeap,KClient); Disconnect(); test.End(); }
static void CheckCpp() { TestPoint(); TestView(); TestFrame(); TestPyramid(); }
shared_ptr<BaseGameLogic> TestApp::VCreateLogicAndViews() { RegisterGameSpecificEvents(); shared_ptr<BaseGameLogic> logicPtr(GCC_NEW TestLogic(m_optionsPtr , m_loggerPtr , m_mvProjStackManager)); shared_ptr<TestView> viewPtr(GCC_NEW TestView(m_optionsPtr , m_loggerPtr , m_windowManagerPtr , m_mvProjStackManager)); boost::optional<GameViewId> gameViewId = logicPtr->VAddView(viewPtr); m_gameId = *gameViewId; return (logicPtr); }