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

Line Exec Source
1
/*********************                                                        */
2
/*! \file test_context.h
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Aina Niemetz
6
 ** This file is part of the CVC4 project.
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.\endverbatim
11
 **
12
 ** \brief Header for context unit tests.
13
 **/
14
15
#ifndef CVC4__TEST__UNIT__TEST_CONTEXT_H
16
#define CVC4__TEST__UNIT__TEST_CONTEXT_H
17
18
#include "context/context.h"
19
#include "test.h"
20
21
namespace CVC4 {
22
namespace test {
23
24
76
class TestContext : public TestInternal
25
{
26
 protected:
27
38
  void SetUp() override { d_context.reset(new CVC4::context::Context()); }
28
  std::unique_ptr<CVC4::context::Context> d_context;
29
};
30
31
}  // namespace test
32
}  // namespace CVC4
33
#endif