| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include <stddef.h> |
| 6 #include <string> |
| 7 |
| 8 #include "base/callback_helpers.h" |
| 9 #include "base/message_loop/message_loop.h" |
| 10 #include "blimp/net/blimp_connection.h" |
| 11 #include "blimp/net/client_auth_handler.h" |
| 12 #include "blimp/net/common.h" |
| 13 #include "blimp/net/test_common.h" |
| 14 #include "net/base/completion_callback.h" |
| 15 #include "net/base/net_errors.h" |
| 16 #include "net/base/test_completion_callback.h" |
| 17 #include "testing/gmock/include/gmock/gmock.h" |
| 18 #include "testing/gtest/include/gtest/gtest.h" |
| 19 |
| 20 using testing::_; |
| 21 using testing::Eq; |
| 22 using testing::Return; |
| 23 using testing::SaveArg; |
| 24 |
| 25 namespace blimp { |
| 26 |
| 27 class ClientAuthHandlerTest : public testing::Test { |
| 28 public: |
| 29 ClientAuthHandlerTest() |
| 30 : handler_(new ClientAuthHandler(&connection_handler_)) {} |
| 31 |
| 32 ~ClientAuthHandlerTest() override {} |
| 33 |
| 34 protected: |
| 35 base::MessageLoop message_loop_; |
| 36 testing::StrictMock<MockConnectionHandler> connection_handler_; |
| 37 scoped_ptr<ClientAuthHandler> handler_; |
| 38 }; |
| 39 |
| 40 TEST_F(ClientAuthHandlerTest, AuthenticationSucceeds) { |
| 41 ASSERT_FALSE(false); |
| 42 } |
| 43 |
| 44 } // namespace blimp |
| OLD | NEW |