MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / test_SetStatus_MultiStep

Method test_SetStatus_MultiStep

tests/Task_test.cpp:47–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 void test_SetStatus_MultiStep(){
48 BasicTask_MultiStep t;
49 QString status {"test status"};
50
51 t.setStatus(status);
52
53 QCOMPARE(t.getStatus(), status);
54 // Even though it is multi step, it does not override the getStepStatus method,
55 // so it should remain the same.
56 QCOMPARE(t.getStepStatus(), status);
57 }
58
59 void test_SetProgress(){
60 BasicTask t;

Callers

nothing calls this directly

Calls 3

getStatusMethod · 0.80
setStatusMethod · 0.45
getStepStatusMethod · 0.45

Tested by

no test coverage detected