~ps-jenkins/indicator-transfer/ubuntu-vivid-proposed

« back to all changes in this revision

Viewing changes to src/transfer-mock.cpp

  • Committer: Charles Kerr
  • Date: 2014-03-31 02:21:02 UTC
  • mto: (1.2.1 draft-2)
  • mto: This revision was merged to the branch mainline in revision 2.
  • Revision ID: charles.kerr@canonical.com-20140331022102-aakhmppqos4w81i3
get the test coverage reports working

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
void
70
70
MockTransfer::open()
71
71
{
72
 
    g_warn_if_fail(state().get() != DONE);
 
72
    g_warn_if_fail(state().get() == DONE);
73
73
    m_history.push_back(Open);
74
74
}
75
75