| Index: telemetry/telemetry/testdata/run_benchmark_integration_test_benchmarks.py
|
| diff --git a/telemetry/telemetry/testdata/run_benchmark_integration_test_benchmarks.py b/telemetry/telemetry/testdata/run_benchmark_integration_test_benchmarks.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a91a1d9a852807fd85f72b6272f0872553ac2556
|
| --- /dev/null
|
| +++ b/telemetry/telemetry/testdata/run_benchmark_integration_test_benchmarks.py
|
| @@ -0,0 +1,24 @@
|
| +# Copyright 2016 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.
|
| +
|
| +from telemetry import benchmark
|
| +
|
| +class IndependentBenchmark(benchmark.Benchmark):
|
| + @classmethod
|
| + def Name(cls):
|
| + return 'independent'
|
| +
|
| + @classmethod
|
| + def ShouldTearDownStateAfterEachStoryRun(cls):
|
| + return True
|
| +
|
| +
|
| +class DependentBenchmark(benchmark.Benchmark):
|
| + @classmethod
|
| + def Name(cls):
|
| + return 'dependent'
|
| +
|
| + @classmethod
|
| + def ShouldTearDownStateAfterEachStoryRun(cls):
|
| + return False
|
|
|