~aacid/unity8/add_override_warning

« back to all changes in this revision

Viewing changes to tests/plugins/Dash/listviewwithpageheadersectiontest.cpp

  • Committer: Albert Astals Cid
  • Date: 2016-05-05 07:30:08 UTC
  • mfrom: (2341.1.42 unity8)
  • Revision ID: albert.astals@canonical.com-20160505073008-d8u2rkkh0sg1te0l
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
2180
2180
        verifyItem(2, 480., 390., false, "Agressive", false);
2181
2181
    }
2182
2182
 
 
2183
    void firstItemSectionHeightChange()
 
2184
    {
 
2185
        QMetaObject::invokeMethod(model, "removeItems", Q_ARG(QVariant, 1), Q_ARG(QVariant, 5));
 
2186
        model->setProperty(0, "type", "halfheight");
 
2187
        verifyItem(0, 50., 170., false, "halfheight", false);
 
2188
    }
 
2189
 
 
2190
    void secondItemSectionHeightChange()
 
2191
    {
 
2192
        QMetaObject::invokeMethod(model, "removeItems", Q_ARG(QVariant, 2), Q_ARG(QVariant, 4));
 
2193
        model->setProperty(1, "type", "halfheight");
 
2194
        verifyItem(0, 50., 190., false, "Agressive", false);
 
2195
        verifyItem(1, 240., 220., false, "halfheight", false);
 
2196
    }
 
2197
 
2183
2198
private:
2184
2199
    QQuickView *view;
2185
2200
    ListViewWithPageHeader *lvwph;