GCC Code Coverage Report
Directory: . Exec Total Coverage
File: test/unit/test_context.h Lines: 2 2 100.0 %
Date: 2021-08-14 Branches: 1 2 50.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Aina Niemetz
4
 *
5
 * This file is part of the cvc5 project.
6
 *
7
 * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8
 * in the top-level source directory and their institutional affiliations.
9
 * All rights reserved.  See the file COPYING in the top-level source
10
 * directory for licensing information.
11
 * ****************************************************************************
12
 *
13
 * Header for context unit tests.
14
 */
15
16
#ifndef CVC5__TEST__UNIT__TEST_CONTEXT_H
17
#define CVC5__TEST__UNIT__TEST_CONTEXT_H
18
19
#include "context/context.h"
20
#include "test.h"
21
22
namespace cvc5 {
23
namespace test {
24
25
88
class TestContext : public TestInternal
26
{
27
 protected:
28
44
  void SetUp() override { d_context.reset(new cvc5::context::Context()); }
29
  std::unique_ptr<cvc5::context::Context> d_context;
30
};
31
32
}  // namespace test
33
}  // namespace cvc5
34
#endif