#include <algorithm>
#include <memory>
#include <string>
#include <string_view>
#include "base/base64.h"
#include "base/containers/span.h"
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "net/base/network_anonymization_key.h"
#include "net/base/test_completion_callback.h"
#include "net/dns/mock_host_resolver.h"
#include "net/http/http_auth_challenge_tokenizer.h"
#include "net/http/http_auth_handler_ntlm.h"
#include "net/http/http_auth_ntlm_mechanism.h"
#include "net/http/http_request_info.h"
#include "net/http/mock_allow_http_auth_preferences.h"
#include "net/log/net_log_with_source.h"
#include "net/ntlm/ntlm.h"
#include "net/ntlm/ntlm_buffer_reader.h"
#include "net/ntlm/ntlm_buffer_writer.h"
#include "net/ntlm/ntlm_test_data.h"
#include "net/ssl/ssl_info.h"
#include "net/test/gtest_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
#include "url/gurl.h"
#include "url/scheme_host_port.h"
namespace net {
class HttpAuthHandlerNtlmPortableTest : public PlatformTest { … };
TEST_F(HttpAuthHandlerNtlmPortableTest, SimpleConstruction) { … }
TEST_F(HttpAuthHandlerNtlmPortableTest, DoNotAllowDefaultCreds) { … }
TEST_F(HttpAuthHandlerNtlmPortableTest, AllowsExplicitCredentials) { … }
TEST_F(HttpAuthHandlerNtlmPortableTest, VerifyType1Message) { … }
TEST_F(HttpAuthHandlerNtlmPortableTest, EmptyTokenFails) { … }
TEST_F(HttpAuthHandlerNtlmPortableTest, InvalidBase64Encoding) { … }
TEST_F(HttpAuthHandlerNtlmPortableTest, CantChangeSchemeMidway) { … }
TEST_F(HttpAuthHandlerNtlmPortableTest, NtlmV1AuthenticationSuccess) { … }
}