aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2011-01-18Changes: make sure we have a writable cache directoryArmin Berres
RevBy: Stanislav Ionascu, Holger Schröder Details: So far we were always trying to save our cache files in /var/cache/meegotouch. This had various side effects on non-linux platforms and also on linux platforms with missing access rights to this directory. We now fallback to the cache directory specified by QDesktopServices if needed.
2011-01-18Fixes: NB#219187 - Dynamic cast of MApplicationExtensionInterface to ↵Eetu Lehmusvuo
extension interface fails RevBy: Vesa Halttunen, Artem Egorkine
2011-01-18Fixes: NB#208270 - Status area is displayed in portrait orientation when ↵Jarosław Jaryszew
application is in landscape and vice-verse. RevBy: Dominik Details: Now when handling current app window change we are testing for its orientation (_MEEGOTOUCH_ORIENTATION_ANGLE) right away instead of waiting for PropertyChangeEvent. This is necessary because non-lmt windows will not set this property, and app will not get updated. Added unit test for case when non-lmt app is on top.
2011-01-17Changes: Add bottom docking test to Ut_MInputWidgetRelocatorJarno Malmari
RevBy: Daniel d'Andrada Details: Separated ScrollableWidget and Scroller classes from Ut_MScrollChain so they can be used in Ut_MInputWidgetRelocator as well.
2011-01-17Changes: Test for current widget offset in MScrollChain.Jarno Malmari
RevBy: Daniel d'Andrada Details: When scrolled multiple times the system used to get confused about the scrolling capabilities of the scroller widget.
2011-01-17New: MBanner has now the capability to set a pixmap through setPixmap();Adrian Yanes
RevBy:Juha Juutinen, Eetu Lehmusvuo, Armin Aberres. Details: MBanner::setPixmap(const QPixmap &pixmap) is now available. This pixmap will be located in the icon's place. If a pixmap and an icon are defined, pixmap will have priority over the icon. Test: added Ut_MBanner::testPixmap();
2011-01-17Changes: Dim the status bar when pressedMatti Vuorela
RevBy: Armin Aberres, Adrián Yanes
2011-01-14Revert: "Changes: replace strings by ids in style classes and style attributes"Armin Berres
This temporarily reverts commmit 007270faed92e3ca9d2631d490c0a757a1f668b4. MUniqueStringCache does not seem to be thread safe.
2011-01-13Fixes: NB#218452 - Ut_MAppletInstanceManager QFile stubbing has side effectsArtem Egorkine
RevBy: Armin Berres Details: Redone the QFile::exists() override so that it only simulates that known files exist, otherwise it does the same what the real QFile::exists() does.
2011-01-11Fixes: NB#213458, Clock; Wrong separator between hours and minutesMike FABIAN
RevBy: Holger Schröder Details: Use “:” instead of “.” for Danish time formats, it seems to be more common in computing environments.
2011-01-11Fixes: NB#199683, Date-time: time format shown incorrectlyMike FABIAN
RevBy: Holger Schröder Details: Use “a.m.”/“p.m.” instead of “дп”/“пп” for Ukrainian to make it the same as what is used in the translations in common_uk.qm.
2011-01-10New: API for disabling notification preview banners on a per window basisMatti Vuorela
RevBy: Dominik Kapusta, Sergiy Dubovik Details: Added MWindow::notificationPreviewsVisible property and its access functions.
2011-01-10Fixes: NB#213582 - Connection dialog shown in wrong orientationJarosław
RevBy: Dominik Details: - Partial revert of 56ae58cece20edf526036567129e5b09433c47de - Libmeegotouch will now use ContextProperty::waitForSubscription(true) - which is properly blocking version of method. Requires contextsubscriber >=0.5.25 to compile.
2011-01-07Fixes: NB#216528 - MSwipeRecognizer should use QElapsedTimer instead of QTimeMichal Guminiak
RevBy: to be done Details: changes the swipe recognizer so that it uses QElapsedTimer instead of QTime. Also updates unittest for it.
2011-01-06Changes: replace strings by ids in style classes and style attributesThomas Moenicke
RevBy: Armin Berres, Peter Penz Details: Strings for names, types and keywords are passed around as unique integers to reduce overhead with string operations. The strings and the mapping to ids are stored in a mmaped file. The memory of all strings will be shared between application. This part has been written by Armin Berres.
2011-01-05Changes: Disable panning while text magnifier is in use.Jarno Malmari
RevBy: Pekka Vuorela Details: MTextMagnifier, or rather its overlay parent, grabs the pan gesture and by consuming it the gesture never reaches pannable widgets.
2011-01-05Changes: MTextEdit unit test cleanupJarno Malmari
RevBy: Pekka Vuorela
2011-01-05Changes: Made MComponentData a "real" SingletonBernd Lamecker
RevBy: Stanislav Ionascu, Michael Hasselmann, Tomas Junnonen Merge-Request: 824
2011-01-04Changes: Tests.xml generating script: commented out statistics printoutMiroslav Safr
RevBy: TrustMe Details: testrunner-lite takes tests.xml from stdout
2011-01-03Changes: Tests.xml generating script: fixed filter for disabled testcasesMiroslav Safr
RevBy:TrustMe Details: 1. Testing condition for testcase executable existance was resolved wrong way so some tests (disabled from tests.pro file) were still added to tests.xml Later were failing for example: /bin/sh: /usr/lib/libmeegotouch-tests/ft_mvideowidget: No such file or directory 2. Added counter for tests and printout for skipped tests
2011-01-03Changes: Update to MSceneManager's unit test.Dominik Kapusta
RevBy: TrustMe Details: Regarding status bar geometry X property.
2011-01-03Fixes: NB#194018 - MPannableViewport::setMinimumSize resets panned widget ↵Michal Guminiak
position. RevBy: Dominik Details: setting position of the panned widget was working around pannable viewport layout. When the layout wanted to update geometry of the panned widget it was resetting paned widget position. This patch removes the workaround in the pannable viewport and moves handling of the position change to the pannable viewport layout.
2010-12-31Fixes: NB#207322 - Navigation bar appears briefly when it should be hiddenPaweł Łukaszewicz
RevBy: Marcin, Daniel, Dominik Details: Initially navigationbar is hidden and is displayed only when not empty. To make its inital appearance non animated, additional bool value has been added. Unit test included.
2010-12-30Fixes: NB#199035 - MObjectMenu doesn't work without a target widgetJanne Heikkilä
RevBy: Stanislav Ionascu Details: Passing target widget to objectmenu's constructor is now optional. Menu will also include/show actions that are added to the objectmenu itself.
2010-12-30Fixes: NB#192037, Multiline MTextedit doesn't expand to next line on word ↵Jarno Malmari
wrapping RevBy: Pekka Vuorela Details: Document text width and widget width were mixed up when calculating sizeHint.
2010-12-27Changes: Coverity (UNINIT_CTOR) fixes CID#1420, 1421, 1422, 1423, 1424, ↵Jukka Halonen
1425, 1426, 1431, 1432, 1433 RevBy: Stanislav Ionascu
2010-12-23Fixes: NB#213192, The clock shows a leading zero for en-GB localeMike FABIAN
RevBy: John Tapsell, James Cook Details: The data from http://unicode.org/cldr/trac/browser/trunk/common/main/en_GB.xml specifies a leading 0 for en_GB locale, but both John and James say this is not commonly used. Therefore, this commit adds an override to remove the leading 0.
2010-12-23Fixes: NB#208977, Time and date always in Hindi numbers and does not ↵Mike FABIAN
affected for the numeric system (Hindi-Latin) changing in Arabic language RevBy: Holger Schröder Details: - if the language part of lc_time is “ar”, “fa”, or “hi” *and* the language part of lc_numeric is *not* the same, this means that non-localized digits have been requested by setting lc_numeric to English. In this case, replace the localized digits in the date and time formats by non-localized digits - more unit tests for date and time formatting for and parsing with localized and non-localized digits
2010-12-23Changes: more tests for bucket sorting: ligatures, Russian, KoreanMike FABIAN
RevBy: John Tapsell Details: - there seems to be a problem with Russian, е Е ё Ё all sort into the Ё bucket, the Е always stays empty - add test for the last bucket hack for Korean
2010-12-23Changes: fix problem with Turkish i, make it go correctly to the İ bucketMike FABIAN
RevBy: John Tapsell Details: The locale aware toUpper() needs to use the collate locale here, not the message locale.
2010-12-23Changes: Fix the problem with the わ and ん bucketsMike FABIAN
RevBy: John Tapsell Details: ヷ, わ, ワ, ゐ, ヰ, ヸ, ヹ, を, ヲ, ヺ should go into the わ bucket and ん, ン should go into the ん bucket.
2010-12-23Changes: add MLocale::indexBucket()Mike FABIAN
RevBy: John Tapsell, Saki Uchiyama, Björn Schnabel Details: This is to make it possible to fix the sidebar problem in NB#211038 and other places where such sort buckets are used.
2010-12-23Changes: add Korean to locales to check in ft_localesMike FABIAN
RevBy: John Tapsell
2010-12-23Changes: add lists of index characters for the locales where they are missingMike FABIAN
RevBy: Adrián Yanes, John Tapsell Details: Adrián Yanes checked the gl_ES index characters.
2010-12-23Changes: add a function MLocale::exemplarCharactersIndex()Mike FABIAN
RevBy: Holger Schröder, John Tapsell Details: To get characters or strings to be used in indices. Useful for NB#211038 and other bugs.
2010-12-23Changes: add more samples to the collation testMike FABIAN
RevBy: John Tapsell To check sorting of ch for Czech and Han characters, for NB#211038.
2010-12-23Fixes: NB#212448 - MWindow constructor causes ↵Jaroslaw Jaryszew
ContextProperty::waitForSubscription() to be called, which may cause all kinds of side effects in an application RevBy: Dominik Details: Now waitForSubscription will not be called on context properties when constructing MWindow instance. It will be called either when: - show is called - user will request keyboard state before subscription. Few other minor corrections.
2010-12-23Changes: Fixes Ut_MAppletInstanceManager unit test.Stanislav Ionascu
RevBy: TrustMe. Details: The QDBusInterface with blocking introspection call was changed to MDBusInterface in commit 0b47d6ad1dd85fbcb2ef46161d82fd0b55cc0248.
2010-12-23Changes: Fixes Ut_MAppletInstantiator unit test.Stanislav Ionascu
RevBy: TrustMe. Details: Unit test was verifying if a dbus::call was made, which was changed to dbus::asyncCall in commit 0b47d6ad1dd85fbcb2ef46161d82fd0b55cc0248.
2010-12-23Changes: Fixes ut_mremoteaction unit test.Stanislav Ionascu
RevBy: TrustMe. Details: The unit test was using incorrect stubs (which were changed in commit 0b47d6ad1dd85fbcb2ef46161d82fd0b55cc0248)
2010-12-23Changes: Fixes unit test build break due interface type has changed from ↵Stanislav Ionascu
QString to char*. RevBy: TrustMe. Details: Introduced in 0b47d6ad1dd85fbcb2ef46161d82fd0b55cc0248.
2010-12-22Changes: Make use of metatypes, so no need to compare strings on parsing ↵Stanislav Ionascu
stylesheet attributes values. RevBy: Peter Penz, Kuisma Salonen, Dominik Kapusta Details: Removed the unrelevant #ifdefs as suggested. Also provided fixes for the unit tests.
2010-12-22Changes: Fix for ut_mscenemanagerDominik Kapusta
RevBy: Michał Details: Adjust windowGeometry() helper function to return visible rect of status bar. That's the real value recognized by the compositor.
2010-12-17Changes: just create one binary css cache file per app/libraryArmin Berres
RevBy: Stanislav Ionascu Details: So far we were creating one cache file for every existing CSS file in the theme. Because of this we had to do a lot of filesystem operations at startup. Now we collect all files and dump them into one big file. Additionally exessive QFileInfo usage has been removed. It seems as if simply using stat() instead of the Qt wrappers makes checking timestamps of files an almost instant operation.
2010-12-17Changes: toolbar attribute change not to emit unnecessary signalsPekka Vuorela
RevBy: Michael Hasselmann Details: no need to emit toolbarItemAttributeChanged if value was unchanged. Further fixes NB#208276.
2010-12-16Fixes: NB#210697, [REG] Text Input Field is moved up while focus is setJarno Malmari
RevBy: Michael Hasselmann, Michał Guminiak Details: Introduced a custom dynamic property which controls whether a scrollable widget can be docked to vkb.
2010-12-15Changes: fix build of ut_mpannableviewportHolger Schröder
RevBy: Mike Fabian
2010-12-14Fixes: NB#200329 - All windows are rotating when device rotatesJaroslaw Jaryszew
RevBy: Marcin, Dominik Details: Now orientation rules for windows will depend on few more parameters: - is on display - is window in iconic state (WM_STATE) - is _MEEGOTOUCH_ALWAYS_MAPPED x property set So now windows on display (top of the stack or in switcher) will behave like they did until now (following sensors) Windows not on display will not rotate. Windows not on display but with _MEEGOTOUCH_ALWAYS_MAPPED x property or not in iconic state will follow current app window. When no window is following sensors MOrientation tracker will disconnect from context framework.
2010-12-14Fixes: NB#210772, Hour digits are cut in alarm notification when region is ↵Mike FABIAN
set to Portugal RevBy: John Tapsell Details: Use AM/PM as the am/pm-markers for pt_PT instead of "Antes do meio-dia"/"Depois do meio-dia" (from CLDR/libicu). pt_BR has no am/pm-markers defined and falls back to the en_US markers AM/PM, now pt_PT uses the same am/pm-markers. It is probably OK if I change pt_PT to use AM/PM as well, just like pt_BR.
2010-12-14Fixes: NB#211240 - Impossible to show custom pixmap on MPopupListItem.Marcin Miklas
RevBy: Dominik Details: Now MPopupListView correctly handles QPixmaps in item model's decoration role. Also QStandardItem(QIcon, QString) constructor can be used to set pixmap in popuplist item (because QPixmap converts implicitly to QIcon) which simplifies code, for example: itemModel = new QStandardItemModel; itemModel->appendRow(new QStandardItem(QPixmap("icon0.png"), "Title0")); itemModel->appendRow(new QStandardItem(QPixmap("icon1.png"), "Title1")); popupList = new MPopupList; popupList->setItemModel(itemModel); popupList->appear();