Commit 35550f3e authored by Anastasia Helfinstein's avatar Anastasia Helfinstein Committed by Commit Bot

Move assert_additions to shared test base

AX-Relnotes: n/a.
Bug: 1078119
Change-Id: I8a988d53dc62c7cd14ab6705acf115f286e555f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2209753Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: Anastasia Helfinstein <anastasi@google.com>
Cr-Commit-Position: refs/heads/master@{#770683}
parent 1c3ac44f
......@@ -3,9 +3,7 @@
// found in the LICENSE file.
// Include test fixture.
GEN_INCLUDE([
'../testing/chromevox_next_e2e_test_base.js', '../testing/assert_additions.js'
]);
GEN_INCLUDE(['../testing/chromevox_next_e2e_test_base.js']);
GEN_INCLUDE(['../testing/mock_feedback.js', '../testing/fake_objects.js']);
......
......@@ -5,8 +5,6 @@
// Include test fixture.
GEN_INCLUDE(['../testing/chromevox_next_e2e_test_base.js']);
GEN_INCLUDE(['../testing/assert_additions.js']);
/**
* Test fixture for braille_command_data.js.
*/
......
......@@ -5,7 +5,6 @@
// Include test fixture.
GEN_INCLUDE([
'//chrome/browser/resources/chromeos/accessibility/chromevox/testing/chromevox_next_e2e_test_base.js',
'//chrome/browser/resources/chromeos/accessibility/chromevox/testing/assert_additions.js'
]);
GEN_INCLUDE([
......
......@@ -3,9 +3,7 @@
// found in the LICENSE file.
// Include test fixture.
GEN_INCLUDE([
'../testing/chromevox_next_e2e_test_base.js', '../testing/assert_additions.js'
]);
GEN_INCLUDE(['../testing/chromevox_next_e2e_test_base.js']);
/**
* Test fixture for ChromeVox KeyboardHandler.
......
......@@ -5,7 +5,6 @@
// Include test fixture.
GEN_INCLUDE([
'//chrome/browser/resources/chromeos/accessibility/chromevox/testing/chromevox_next_e2e_test_base.js',
'//chrome/browser/resources/chromeos/accessibility/chromevox/testing/assert_additions.js'
]);
GEN_INCLUDE([
......
......@@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
GEN_INCLUDE([
'//chrome/browser/resources/chromeos/accessibility/chromevox/testing/assert_additions.js'
]);
GEN_INCLUDE([
'//chrome/browser/resources/chromeos/accessibility/chromevox/testing/chromevox_next_e2e_test_base.js'
]);
......
......@@ -5,7 +5,6 @@
// Include test fixture.
GEN_INCLUDE([
'//chrome/browser/resources/chromeos/accessibility/chromevox/testing/chromevox_next_e2e_test_base.js',
'//chrome/browser/resources/chromeos/accessibility/chromevox/testing/assert_additions.js'
]);
/**
......
......@@ -3,9 +3,7 @@
// found in the LICENSE file.
// Include test fixture.
GEN_INCLUDE([
'../testing/chromevox_next_e2e_test_base.js', '../testing/assert_additions.js'
]);
GEN_INCLUDE(['../testing/chromevox_next_e2e_test_base.js']);
/**
* Test fixture for SmartStickyMode.
......
......@@ -3,9 +3,7 @@
// found in the LICENSE file.
// Include test fixture.
GEN_INCLUDE([
'../testing/chromevox_e2e_test_base.js', '../testing/assert_additions.js'
]);
GEN_INCLUDE(['../testing/chromevox_e2e_test_base.js']);
/**
* Test fixture for BrailleTable tests.
......
......@@ -3,9 +3,7 @@
// found in the LICENSE file.
// Include test fixture.
GEN_INCLUDE([
'../testing/chromevox_e2e_test_base.js', '../testing/assert_additions.js'
]);
GEN_INCLUDE(['../testing/chromevox_e2e_test_base.js']);
/**
* Test fixture for BrailleTranslatorManager tests.
......
......@@ -3,9 +3,7 @@
// found in the LICENSE file.
// Include test fixture.
GEN_INCLUDE([
'../testing/chromevox_unittest_base.js', '../testing/assert_additions.js'
]);
GEN_INCLUDE(['../testing/chromevox_unittest_base.js']);
GEN('#include "content/public/test/browser_test.h"');
......
......@@ -8,9 +8,7 @@
*/
// Include test fixture.
GEN_INCLUDE([
'../testing/chromevox_e2e_test_base.js', '../testing/assert_additions.js'
]);
GEN_INCLUDE(['../testing/chromevox_e2e_test_base.js']);
ChromeVoxLibLouisTest = class extends ChromeVoxE2ETest {
createLiblouis() {
......
......@@ -3,9 +3,7 @@
// found in the LICENSE file.
// Include test fixture.
GEN_INCLUDE([
'../testing/chromevox_e2e_test_base.js', '../testing/assert_additions.js'
]);
GEN_INCLUDE(['../testing/chromevox_e2e_test_base.js']);
// E2E tests for TtsBackground.
......
......@@ -5,7 +5,6 @@
// Include test fixture.
GEN_INCLUDE([
'../testing/chromevox_next_e2e_test_base.js',
'//chrome/browser/resources/chromeos/accessibility/chromevox/testing/assert_additions.js',
'//chrome/browser/resources/chromeos/accessibility/chromevox/testing/mock_feedback.js'
]);
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
GEN_INCLUDE(['common.js', 'callback_helper.js']);
GEN_INCLUDE(['common.js', 'callback_helper.js', 'assert_additions.js']);
/**
* Base test fixture for ChromeVox end to end tests.
......
......@@ -112,6 +112,7 @@ js2gtest("switch_access_extjs_tests") {
"text_navigation_manager_test.js",
]
gen_include_files = [
"../chromevox/testing/assert_additions.js",
"../chromevox/testing/callback_helper.js",
"switch_access_e2e_test_base.js",
]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment