Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: blimp/net/client_auth_handler_unittest.cc

Issue 1501463003: [Blimp Net] Client sends START_CONNECTION message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« blimp/net/client_auth_handler.h ('K') | « blimp/net/client_auth_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698