~phablet-team/messaging-framework/trunk

« back to all changes in this revision

Viewing changes to tests/unit/messaging/connection_test.cpp

  • Committer: Tarmac
  • Author(s): Roberto Mier Escandon
  • Date: 2016-10-27 16:23:38 UTC
  • mfrom: (68.1.5 maintain-connection-state)
  • Revision ID: tarmac-20161027162338-aoi713fckmq5s4vf
Sets a reason when disconnecting, to differenciate if user requested disconnection or is it due to a network matter.

Approved by system-apps-ci-bot, Gustavo Pichorim Boiko.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    }
52
52
 
53
53
    void connect() {}
54
 
    void disconnect() {}
 
54
    void disconnect(StatusChangedReason) {}
55
55
    std::string normalize_identifier(const std::string& id) { return id; }
56
56
    bool is_valid_identifier(const std::string &id) { return !id.empty(); }
57
57