chromium/components/navigation_metrics/navigation_metrics_unittest.cc

// Copyright 2017 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/navigation_metrics/navigation_metrics.h"

#include "base/test/metrics/histogram_tester.h"
#include "components/profile_metrics/browser_profile_type.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

namespace {
const char* const kTestUrl =;
// http://ab.גדהוזח.ij/kl/mn/op.html in A-label form.
constexpr char kRtlUrl[] =;
}  // namespace

namespace navigation_metrics {

TEST(NavigationMetrics, MainFrameSchemeDifferentDocument) {}

TEST(NavigationMetrics, MainFrameSchemeDifferentDocument_NonUniqueHostname) {}

TEST(NavigationMetrics, MainFrameSchemeSameDocument) {}

TEST(NavigationMetrics, MainFrameSchemeDifferentDocumentOTR) {}

TEST(NavigationMetrics, MainFrameSchemeSameDocumentOTR) {}

TEST(NavigationMetrics, MainFrameDifferentDocumentHasRTLDomainFalse) {}

TEST(NavigationMetrics, MainFrameDifferentDocumentHasRTLDomainTrue) {}

TEST(NavigationMetrics, MainFrameSameDocumentHasRTLDomainFalse) {}

TEST(NavigationMetrics, MainFrameSameDocumentHasRTLDomainTrue) {}

TEST(NavigationMetrics, RecordIDNA2008Metrics) {}

// Regression test for crbug.com/1362507. Tests that the IDNA2008 metrics code
// correctly handles hostnames with trailing dots.
TEST(NavigationMetrics, RecordIDNA2008MetricsTrailingDots) {}

}  // namespace navigation_metrics