LONGBOW_TEST_CASE(Specialization, parcFutureTask_IsCancelled)
{
    PARCFutureTask *task = parcFutureTask_Create(_function, _function);

    bool actual = parcFutureTask_IsCancelled(task);
    assertFalse(actual, "Expected true.");
    
    parcFutureTask_Release(&task);
}
示例#2
0
bool
parcScheduledTask_IsCancelled(const PARCScheduledTask *task)
{
    return parcFutureTask_IsCancelled(task->task);
}