| 113 | } |
| 114 | |
| 115 | void test_SetProgress() |
| 116 | { |
| 117 | BasicTask t; |
| 118 | int current = 42; |
| 119 | int total = 207; |
| 120 | |
| 121 | t.setProgress(current, total); |
| 122 | |
| 123 | QCOMPARE(t.getProgress(), current); |
| 124 | QCOMPARE(t.getTotalProgress(), total); |
| 125 | } |
| 126 | |
| 127 | void test_basicRun() |
| 128 | { |
nothing calls this directly
no test coverage detected