• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python3
2# Copyright (C) 2023 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License a
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16from python.generators.diff_tests.testing import Csv, Path, DataPath
17from python.generators.diff_tests.testing import DiffTestBlueprint
18from python.generators.diff_tests.testing import TestSuite
19
20
21class Zip(TestSuite):
22
23  def test_perf_proto_sym(self):
24    return DiffTestBlueprint(
25        trace=DataPath('zip/perf_track_sym.zip'),
26        query=Path('stacks_test.sql'),
27        out=Csv('''
28        "name"
29        "main,A"
30        "main,A,B"
31        "main,A,B,C"
32        "main,A,B,C,D"
33        "main,A,B,C,D,E"
34        "main,A,B,C,E"
35        "main,A,B,D"
36        "main,A,B,D,E"
37        "main,A,B,E"
38        "main,A,C"
39        "main,A,C,D"
40        "main,A,C,D,E"
41        "main,A,C,E"
42        "main,A,D"
43        "main,A,D,E"
44        "main,A,E"
45        "main,B"
46        "main,B,C"
47        "main,B,C,D"
48        "main,B,C,D,E"
49        "main,B,C,E"
50        "main,B,D"
51        "main,B,D,E"
52        "main,B,E"
53        "main,C"
54        "main,C,D"
55        "main,C,D,E"
56        "main,C,E"
57        "main,D"
58        "main,D,E"
59        "main,E"
60        '''))
61