• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 the V8 project authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""
6Dummy test suite extension with some flaky fruity tests.
7"""
8
9from testrunner.local import testsuite
10from testrunner.objects import testcase
11
12
13class TestLoader(testsuite.TestLoader):
14  def _list_test_filenames(self):
15    return ['bananaflakes']
16
17
18class TestSuite(testsuite.TestSuite):
19  def _test_loader_class(self):
20    return TestLoader
21
22  def _test_class(self):
23    return TestCase
24
25
26class TestCase(testcase.TestCase):
27  def get_shell(self):
28    return 'd8_mocked.py'
29
30  def _get_files_params(self):
31    return [self.name]
32
33def GetSuite(*args, **kwargs):
34  return TestSuite(*args, **kwargs)
35