OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/protocol/v1_authenticator.h" | 5 #include "remoting/protocol/v1_authenticator.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "net/base/net_errors.h" | 8 #include "net/base/net_errors.h" |
9 #include "remoting/protocol/authenticator.h" | 9 #include "remoting/protocol/authenticator.h" |
10 #include "remoting/protocol/authenticator_test_base.h" | 10 #include "remoting/protocol/authenticator_test_base.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 { | 82 { |
83 SCOPED_TRACE("RunAuthExchange"); | 83 SCOPED_TRACE("RunAuthExchange"); |
84 InitAuthenticators(kTestSharedSecretBad, kTestSharedSecret); | 84 InitAuthenticators(kTestSharedSecretBad, kTestSharedSecret); |
85 RunAuthExchange(); | 85 RunAuthExchange(); |
86 } | 86 } |
87 ASSERT_EQ(Authenticator::REJECTED, host_->state()); | 87 ASSERT_EQ(Authenticator::REJECTED, host_->state()); |
88 } | 88 } |
89 | 89 |
90 } // namespace protocol | 90 } // namespace protocol |
91 } // namespace remoting | 91 } // namespace remoting |
OLD | NEW |