blob: 4098214c062e94f9d13b17cfae0f33872ec5719f [file] [log] [blame]
Colin Cross363441b2013-11-07 23:06:58 -08001/*
2 * Copyright (C) 2013 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 at
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 */
16
17#ifndef ION_TEST_FIXTURE_H_
18#define ION_TEST_FIXTURE_H_
19
20#include <gtest/gtest.h>
21
22using ::testing::Test;
23
24class IonTest : public virtual Test {
25 public:
26 IonTest();
27 virtual ~IonTest() {};
28 virtual void SetUp();
29 virtual void TearDown();
30 int m_ionFd;
31};
32
33class IonAllHeapsTest : public IonTest {
34 public:
35 IonAllHeapsTest();
36 virtual ~IonAllHeapsTest() {};
37 virtual void SetUp();
38 virtual void TearDown();
39
40 unsigned int m_firstHeap;
41 unsigned int m_lastHeap;
42
43 std::vector<unsigned int> m_allHeaps;
44};
45
46#endif /* ION_TEST_FIXTURE_H_ */