• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2024 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5from tests.crossbench.base import CrossbenchFakeFsTestCase
6
7
8class ActionRunnerTestCase(CrossbenchFakeFsTestCase):
9
10  def tearDown(self):
11    expected_sh_cmds = self.platform.expected_sh_cmds
12    if expected_sh_cmds is not None:
13      self.assertListEqual(expected_sh_cmds, [],
14                           "Got additional unused shell cmds.")
15
16    expected_js = self.browser.expected_js
17    if expected_js is not None:
18      self.assertListEqual(expected_js, [],
19                           "Got additional unused expected JS.")
20