chromium/remoting/host/host_status_logger_unittest.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/host/host_status_logger.h"

#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "remoting/host/host_status_monitor.h"
#include "remoting/signaling/mock_signal_strategy.h"
#include "remoting/signaling/xmpp_log_to_server.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"

QName;
XmlElement;
_;
DeleteArg;
DoAll;
InSequence;
Return;

namespace remoting {

namespace {

ACTION_P(QuitRunLoop, run_loop) {}

const char kJabberClientNamespace[] =;
const char kChromotingNamespace[] =;
const char kTestBotJid[] =;
const char kClientJid1[] =;
const char kClientJid2[] =;
const char kHostJid[] =;

bool IsLogEntryForConnection(XmlElement* node, const char* connection_type) {}

MATCHER_P(IsClientConnected, connection_type, "") {}

MATCHER_P2(IsTwoClientsConnected, connection_type1, connection_type2, "") {}

bool IsLogEntryForDisconnection(XmlElement* node) {}

MATCHER(IsClientDisconnected, "") {}

}  // namespace

class HostStatusLoggerTest : public testing::Test {};

TEST_F(HostStatusLoggerTest, SendNow) {}

TEST_F(HostStatusLoggerTest, SendLater) {}

TEST_F(HostStatusLoggerTest, SendTwoEntriesLater) {}

TEST_F(HostStatusLoggerTest, HandleRouteChangeInUnusualOrder) {}

}  // namespace remoting