summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/test/data/webui/cr_elements/BUILD.gn
blob: 0ffea8858c67403e00e3758205be91395f4caf97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//ui/webui/resources/tools/js_modulizer.gni")

js_modulizer("modulize") {
  input_files = [
    "cr_button_tests.js",
    "cr_checkbox_test.js",
    "cr_dialog_test.js",
    "cr_drawer_tests.js",
    "cr_icon_button_tests.js",
    "cr_icon_button_focus_tests.js",
    "cr_input_test.js",
    "cr_radio_button_test.js",
    "cr_radio_group_test.js",
    "cr_search_field_tests.js",
    "cr_tabs_test.js",
    "cr_toast_test.js",
    "cr_toggle_test.js",
    "cr_view_manager_test.js",
  ]
  namespace_rewrites = [
    "MockInteractions.downAndUp|downAndUp",
    "MockInteractions.keyDownOn|keyDownOn",
    "MockInteractions.keyEventOn|keyEventOn",
    "MockInteractions.keyUpOn|keyUpOn",
    "MockInteractions.pressAndReleaseKeyOn|pressAndReleaseKeyOn",
    "MockInteractions.tap|tap",
    "Polymer.dom.flush|flush",
    "PolymerTest.importHtml|importHtml",
    "test_util.eventToPromise|eventToPromise",
    "test_util.flushTasks|flushTasks",
    "test_util.isVisible|isVisible",
    "test_util.whenAttributeIs|whenAttributeIs",
  ]
}