| Index: blimp/net/client_auth_handler_unittest.cc
|
| diff --git a/blimp/net/client_auth_handler_unittest.cc b/blimp/net/client_auth_handler_unittest.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..75a9be850e7003e6ddda66777d631fd1c7807cce
|
| --- /dev/null
|
| +++ b/blimp/net/client_auth_handler_unittest.cc
|
| @@ -0,0 +1,44 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include <stddef.h>
|
| +#include <string>
|
| +
|
| +#include "base/callback_helpers.h"
|
| +#include "base/message_loop/message_loop.h"
|
| +#include "blimp/net/blimp_connection.h"
|
| +#include "blimp/net/client_auth_handler.h"
|
| +#include "blimp/net/common.h"
|
| +#include "blimp/net/test_common.h"
|
| +#include "net/base/completion_callback.h"
|
| +#include "net/base/net_errors.h"
|
| +#include "net/base/test_completion_callback.h"
|
| +#include "testing/gmock/include/gmock/gmock.h"
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +
|
| +using testing::_;
|
| +using testing::Eq;
|
| +using testing::Return;
|
| +using testing::SaveArg;
|
| +
|
| +namespace blimp {
|
| +
|
| +class ClientAuthHandlerTest : public testing::Test {
|
| + public:
|
| + ClientAuthHandlerTest()
|
| + : handler_(new ClientAuthHandler(&connection_handler_)) {}
|
| +
|
| + ~ClientAuthHandlerTest() override {}
|
| +
|
| + protected:
|
| + base::MessageLoop message_loop_;
|
| + testing::StrictMock<MockConnectionHandler> connection_handler_;
|
| + scoped_ptr<ClientAuthHandler> handler_;
|
| +};
|
| +
|
| +TEST_F(ClientAuthHandlerTest, AuthenticationSucceeds) {
|
| + ASSERT_FALSE(false);
|
| +}
|
| +
|
| +} // namespace blimp
|
|
|