chromium/components/autofill/content/renderer/html_based_username_detector_browsertest.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/autofill/content/renderer/html_based_username_detector.h"

#include <array>

#include "base/strings/stringprintf.h"
#include "components/autofill/content/renderer/form_autofill_util.h"
#include "components/autofill/core/common/field_data_manager.h"
#include "content/public/test/render_view_test.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/web/web_document.h"
#include "third_party/blink/public/web/web_local_frame.h"

WebElement;
WebFormControlElement;
WebFormElement;
WebLocalFrame;
WebString;

namespace autofill {

namespace {

struct TextField {};

constexpr char kTestForm[] =;

std::string GetFormHTML(const TextField& first_field,
                        const TextField& second_field) {}

class HtmlBasedUsernameDetectorTest : public content::RenderViewTest {};

}  // namespace

TEST_F(HtmlBasedUsernameDetectorTest, DeveloperGroupAttributes) {}

TEST_F(HtmlBasedUsernameDetectorTest, UserGroupAttributes) {}

TEST_F(HtmlBasedUsernameDetectorTest, SeveralDetections) {}

TEST_F(HtmlBasedUsernameDetectorTest, HTMLDetectorCache) {}

}  // namespace autofill