# HG changeset patch # User cgandhi # Date 1286877232 -19800 # Node ID b3e1347ac96ab3564187b9c6b8d34b34b6bc21ab # Parent 83d6a149c755f2faed7f25b30ecb6dfdc1b64dd6 Updating the information for test applications and results. diff -r 83d6a149c755 -r b3e1347ac96a ReadMe.txt --- a/ReadMe.txt Mon Oct 11 21:59:54 2010 +0530 +++ b/ReadMe.txt Tue Oct 12 15:23:52 2010 +0530 @@ -1,6 +1,8 @@ Content: ============================================================================== -This is pre-beta version of Social Mobile Framework code. Folder organization is as follows - +This is beta version of Social Mobile Framework code. + +Folder organization is as follows - Doxyfile - Doxygen configuration file \doc - contains smfhelp.chm file, refer this for interface information @@ -35,7 +37,8 @@ \smf\smfsettingsui - this contains SMF settins UI [incomplete] - \Tests - contains test code for testing at smfclient level + \Tests - contains test cases and test code for testing at smfclient level + \Smf_functional_test_cases_v0.2.xls @@ -168,16 +171,35 @@ Observed Dependencies ============================================================================== The authentication applications are loading web pages through Qt Webkit and hence its performance depends -on your network speed and response from the service provider. So if the page taken time to load please be -patient enough till loading is completed. +on your network speed and response from the service provider. In a slow connection scenario please be +patient while the page loading is completed. Using Test Applications ============================================================================== -1) For testing individual interfaces, build the test applications provided (they are console bases applications). +For testing individual interfaces, build the test applications provided (they are console bases applications). Start the eshell and start individual application from eshell. -2) For using test applications used to test SMF from Multiple client application, use the CrossTest1 and CrossTest2 -applications. Build both and from the emulator start CrossTest1.exe (which in turn will send the request and -starts CrossTest2 immediately after sending the request to SMF. + + +Maturity Information +============================================================================== +This release has been tested with plug-ins written for Facebook, Flickr, Last.fm, Lyricsfly.com +However these plugins are far from complete in terms of full funtionality support. As a result +there are quite a few cases failing as shown in the summary below - +TOTAL 171 +PASSED 58 +FAILED 75 +NOT TESTED 19 +NOT IMPLEMENTED 19 +Please see detials of the test cases under socialmobilefw\Tests\Smf_functional_test_cases_v0.2.xls + +The failed cases which are not contributed only towards limitations of Plugins, are raised as bugs +Bug 3810 - +Bug 3811 - +Bug 3812 - +Bug 3813 - + + +The work is ongoing to bridge the gaps in test-plugins for full funtional tests. diff -r 83d6a149c755 -r b3e1347ac96a Tests/DemoGUI/main.cpp --- a/Tests/DemoGUI/main.cpp Mon Oct 11 21:59:54 2010 +0530 +++ b/Tests/DemoGUI/main.cpp Tue Oct 12 15:23:52 2010 +0530 @@ -46,12 +46,12 @@ QApplication a(argc, argv); MainWindow w; #ifdef Q_OS_SYMBIAN -CAknAppUi* appUi = dynamic_cast (CEikonEnv::Static()->AppUi()); -TRAPD(error, -if (appUi) { // Lock application orientation into landscape -appUi->SetOrientationL(CAknAppUi::EAppUiOrientationPortrait); -} -); + CAknAppUi* appUi = dynamic_cast (CEikonEnv::Static()->AppUi()); + if (appUi) { + // Lock application orientation into landscape + TRAPD(error,(appUi->SetOrientationL(CAknAppUi::EAppUiOrientationPortrait))); + Q_UNUSED(error); + } #endif diff -r 83d6a149c755 -r b3e1347ac96a Tests/SmfMusicEventsnService/SmfMusicEventsnService.cpp --- a/Tests/SmfMusicEventsnService/SmfMusicEventsnService.cpp Mon Oct 11 21:59:54 2010 +0530 +++ b/Tests/SmfMusicEventsnService/SmfMusicEventsnService.cpp Tue Oct 12 15:23:52 2010 +0530 @@ -104,7 +104,6 @@ } //display friends information - int count = 0; qDebug()<<"Number of friends retrieved = "<count(); if(0 == list->count()) { @@ -193,8 +192,7 @@ Article.append(SmfActivityObjTypeComment); // specify some dummy value for Article - int pageNum = 1,perPage=1; - SmfError err = p_smfActivityFetcher->filtered(Article); + SmfError err = p_smfActivityFetcher->filtered(Article); bool connected = QObject::connect(p_smfActivityFetcher,SIGNAL(resultsAvailable(SmfActivityEntryList*, SmfError, SmfResultPage)), this,SLOT(resultsAvailableSlot(SmfActivityEntryList*, SmfError, SmfResultPage))); qDebug() <<"SmfActivityFetcher::filter" ; diff -r 83d6a149c755 -r b3e1347ac96a Tests/SmfTestMusicnActivty/SmfTestMusicnActivity.cpp --- a/Tests/SmfTestMusicnActivty/SmfTestMusicnActivity.cpp Mon Oct 11 21:59:54 2010 +0530 +++ b/Tests/SmfTestMusicnActivty/SmfTestMusicnActivity.cpp Tue Oct 12 15:23:52 2010 +0530 @@ -473,7 +473,7 @@ } //display friends information - int count = 0; + qDebug()<<"Number of friends retrieved = "<count(); if(0 == list->count()) { @@ -544,7 +544,7 @@ } //display friends information - int count = 0; + qDebug()<<"Number of friends retrieved = "<count(); if(0 == list->count()) { @@ -615,7 +615,7 @@ } //display friends information - int count = 0; + qDebug()<<"Number of friends retrieved = "<count(); if(0 == list->count()) { diff -r 83d6a149c755 -r b3e1347ac96a Tests/Smf_functional_test_cases_v0.2.xls Binary file Tests/Smf_functional_test_cases_v0.2.xls has changed diff -r 83d6a149c755 -r b3e1347ac96a example/DemoGUI/main.cpp --- a/example/DemoGUI/main.cpp Mon Oct 11 21:59:54 2010 +0530 +++ b/example/DemoGUI/main.cpp Tue Oct 12 15:23:52 2010 +0530 @@ -46,12 +46,12 @@ QApplication a(argc, argv); MainWindow w; #ifdef Q_OS_SYMBIAN -CAknAppUi* appUi = dynamic_cast (CEikonEnv::Static()->AppUi()); -TRAPD(error, -if (appUi) { // Lock application orientation into landscape -appUi->SetOrientationL(CAknAppUi::EAppUiOrientationPortrait); -} -); + CAknAppUi* appUi = dynamic_cast (CEikonEnv::Static()->AppUi()); + if (appUi) { + // Lock application orientation into landscape + TRAPD(error,(appUi->SetOrientationL(CAknAppUi::EAppUiOrientationPortrait))); + Q_UNUSED(error); + } #endif