| Flutter Impeller |

Public Member Functions | List of all members
impeller::testing::ArchivistFixture Class Reference

`#include <archivist_fixture.h>`

Inheritance diagram for impeller::testing::ArchivistFixture:

## Public Member Functions
| ArchivistFixture ()
| ~ArchivistFixture ()
void | SetUp () override
void | TearDown () override
const std::string | GetArchiveFileName () const

## Detailed Description

Definition at line 13 of file archivist_fixture.h.

## Constructor & Destructor Documentation

## ◆ ArchivistFixture()

impeller::testing::ArchivistFixture::ArchivistFixture | ( |  | ) |

Definition at line 12 of file archivist_fixture.cc.

12 {
13 std::stringstream stream;
14 stream << "Test" << flutter::testing::GetCurrentTestName() << ".db";
15 archive_file_name_ = stream.str();
16 }

## ◆ ~ArchivistFixture()

impeller::testing::ArchivistFixture::~ArchivistFixture | ( |  | ) |
| default

## Member Function Documentation

## ◆ GetArchiveFileName()

const std::string impeller::testing::ArchivistFixture::GetArchiveFileName | ( |  | ) | const

Definition at line 20 of file archivist_fixture.cc.

20 {
21 return fml::paths::JoinPaths(
22 {flutter::testing::GetFixturesPath(), archive_file_name_});
23 }

## ◆ SetUp()

void impeller::testing::ArchivistFixture::SetUp | ( |  | ) |
| override

Definition at line 25 of file archivist_fixture.cc.

25 {
26 DeleteArchiveFile();
27 }

## ◆ TearDown()

void impeller::testing::ArchivistFixture::TearDown | ( |  | ) |
| override

Definition at line 29 of file archivist_fixture.cc.

29 {
30 DeleteArchiveFile();
31 }

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

- impeller/archivist/archivist_fixture.h
- impeller/archivist/archivist_fixture.cc