~phablet-team/ubuntu-settings-components/printer-components

« back to all changes in this revision

Viewing changes to tests/unittests/Printers/tst_printerjob.cpp

* Add Collate and Reverse options to PrinterJob

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
        QSKIP("Not implemented yet!");
66
66
    }
67
67
 
 
68
    void testCollate()
 
69
    {
 
70
        QCOMPARE(m_instance->collate(), true);
 
71
        m_instance->setCollate(false);
 
72
        QCOMPARE(m_instance->collate(), false);
 
73
    }
 
74
 
68
75
    void testColorModel()
69
76
    {
70
77
        QSKIP("Not implemented yet!");
152
159
        QSKIP("Not implemented yet!");
153
160
    }
154
161
 
 
162
    void testReverse()
 
163
    {
 
164
        QCOMPARE(m_instance->reverse(), false);
 
165
        m_instance->setReverse(true);
 
166
        QCOMPARE(m_instance->reverse(), true);
 
167
    }
 
168
 
155
169
    void testState()
156
170
    {
157
171
        QSKIP("Not implemented yet!");