aboutsummaryrefslogtreecommitdiff
path: root/gtests/src/gtest_ion_fb.cpp
blob: 1956b2d00e932182521e4592df9dc2751f72b38b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <gtest/gtest.h>
#include <cstdlib>
#include <string>
#include "gtest_helper.h"

class IonFBTests : public ::testing::Test {
    public:
    const char* testBinaryName = "ion_fb";
    void SetUp() override { chdir(binary_path); }
    void TearDown() override { chdir("/"); }
};

TEST_F(IonFBTests, TestMakeFb) {
    runSubTest(testBinaryName, "make-fb");
}

TEST_F(IonFBTests, TestClone) {
    runSubTest(testBinaryName, "clone");
}

TEST_F(IonFBTests, TestMmap) {
    runSubTest(testBinaryName, "mmap");
}