Updates to API
commit66e690e19b7899ef52cc774f5149cb6f7f84dcc1
authorAndrea Cimitan <andrea.cimitan@gmail.com>
dateFri 4 Mar 2016, 12:12 (11 years ago)
parentce3abbb
debian/control+1−1
@@ -29,7 +29,7 @@ Build-Depends: cmake,
2929 libqt5xmlpatterns5-dev,
3030 libsystemsettings-dev,
3131 libudev-dev,
32− libunity-api-dev (>= 7.105),
32+ libunity-api-dev (>= 7.107),
3333 libusermetricsoutput1-dev,
3434# Need those X11 libs touch emulation from mouse events in manual QML tests on a X11 desktop
3535 libx11-dev[!armhf],
tests/mocks/Unity/CMakeLists.txt+1−1
@@ -8,7 +8,7 @@ add_subdirectory(DashCommunicator)
88add_subdirectory(Screens)
99
1010pkg_search_module(GOBJECT gobject-2.0 REQUIRED)
11−pkg_check_modules(SCOPES_API REQUIRED unity-shell-scopes=9)
11+pkg_check_modules(SCOPES_API REQUIRED unity-shell-scopes=10)
1212
1313include_directories(
1414 ${CMAKE_CURRENT_BINARY_DIR}
tests/mocks/Unity/fake_resultsmodel.cpp+2
@@ -72,6 +72,8 @@ ResultsModel::data(const QModelIndex& index, int role) const
7272 case RoleUri:
7373 case RoleCategoryId:
7474 case RoleDndUri:
75+ case RoleAttributes:
76+ case RoleSocialActions:
7577 return QString();
7678 case RoleResult:
7779 return QString("Result.%1.%2").arg(m_categoryId).arg(index.row());
tests/plugins/Dash/cardcreator/7.res−1
@@ -14,7 +14,6 @@ AbstractButton {
1414 implicitWidth: childrenRect.width;
1515 enabled: true;
1616signal action(var actionId);
17−
1817Loader {
1918 id: backgroundLoader;
2019 objectName: "backgroundLoader";
tests/qmltests/Dash/tst_Card.qml+1−1
@@ -635,7 +635,7 @@ Rectangle {
635635 }
636636 }
637637
638− function test_clicked() {
638+ function test_action() {
639639 selector.selectedIndex = 0;
640640 waitForRendering(card);
641641