chromium/remoting/protocol/spake2_authenticator_unittest.cc

// Copyright 2016 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/protocol/spake2_authenticator.h"

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"
#include "remoting/base/rsa_key_pair.h"
#include "remoting/protocol/authenticator_test_base.h"
#include "remoting/protocol/channel_authenticator.h"
#include "remoting/protocol/connection_tester.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"

_;
DeleteArg;
SaveArg;

namespace remoting::protocol {

namespace {

const int kMessageSize =;
const int kMessages =;

const char kTestSharedSecret[] =;
const char kTestSharedSecretBad[] =;

}  // namespace

class Spake2AuthenticatorTest : public AuthenticatorTestBase {};

TEST_F(Spake2AuthenticatorTest, SuccessfulAuth) {}

// Verify that connection is rejected when secrets don't match.
TEST_F(Spake2AuthenticatorTest, InvalidSecret) {}

}  // namespace remoting::protocol