#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[] = …;
}
class Spake2AuthenticatorTest : public AuthenticatorTestBase { … };
TEST_F(Spake2AuthenticatorTest, SuccessfulAuth) { … }
TEST_F(Spake2AuthenticatorTest, InvalidSecret) { … }
}