SinaWeiboSdk c++test
void WeiboTestCase::postStatusesUploadUrlText()
{
UNITTestIDBuilderPolicy policy(gWeiboHelper, RIT_STATUS);
CPPUNIT_ASSERT(gWeiboHelper->getWeiboMethod()->postStatusesUploadUrlText(policy.asWords(), gWeiboTestUploadURL, 1) == WRC_OK);
standardOptionForWaiting(WBOPT_POST_STATUSES_UPLOAD_URL_TEXT);
}
#include <IWeiboMethod.hxx>
weibo::IWeiboMethod* getWeiboMethod();
gWeiboHelper->getWeiboMethod()->postStatusesUploadUrlText(policy.asWords(), gWeiboTestUploadURL, 1) == WRC_OK
virtual eWeiboResultCode postStatusesUpdate(const char* statusText, VariableParams* var = NULL, UserTaskInfo* pTask = NULL) = 0;