// 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/breadcrumbs/core/application_breadcrumbs_not_user_action.inc" #include <algorithm> #include <string> #include <vector> #include "testing/platform_test.h" // Tests that kNotUserTriggeredActions array was correctly generated by // generate_not_user_triggered_actions.py ApplicationBreadcrumbsNotUserActions; // Tests that kNotUserTriggeredActions array is not too big. TEST_F(ApplicationBreadcrumbsNotUserActions, Size) { … } // Tests that each string in kNotUserTriggeredActions array is not too long but // longer than 0. TEST_F(ApplicationBreadcrumbsNotUserActions, StringLength) { … } // Tests that kNotUserTriggeredActions array is sorted to make the binary search // possible. TEST_F(ApplicationBreadcrumbsNotUserActions, Sorting) { … }