OpenTTD Source: MockEnvironment Class Reference

OpenTTD Source 15.0-RC2

Public Member Functions | Static Public Member Functions
MockEnvironment Class Reference

Singleton class to set up the mock environment once. More...

`#include <mock_environment.h>`

## Public Member Functions
| MockEnvironment (MockEnvironment const &)=delete
void | operator= (MockEnvironment const &)=delete

## Static Public Member Functions
static MockEnvironment & | Instance ()

## Detailed Description

Singleton class to set up the mock environment once.

Definition at line 17 of file mock_environment.h.

## Constructor & Destructor Documentation

## ◆ MockEnvironment()

MockEnvironment::MockEnvironment | ( |  | ) |
| inlineprivate

Definition at line 29 of file mock_environment.h.

## Member Function Documentation

## ◆ Instance()

static MockEnvironment & MockEnvironment::Instance | ( |  | ) |
| inlinestatic

Definition at line 19 of file mock_environment.h.

The documentation for this class was generated from the following file:

- src/tests/mock_environment.h