17 lines
415 B
C++
17 lines
415 B
C++
|
#include "modules/hyprland/backend.hpp"
|
||
|
|
||
|
namespace fs = std::filesystem;
|
||
|
namespace hyprland = waybar::modules::hyprland;
|
||
|
|
||
|
class IPCTestFixture : public hyprland::IPC {
|
||
|
public:
|
||
|
IPCTestFixture() : IPC() { IPC::socketFolder_ = ""; }
|
||
|
~IPCTestFixture() { fs::remove_all(tempDir); }
|
||
|
|
||
|
protected:
|
||
|
const char* instanceSig = "instance_sig";
|
||
|
fs::path tempDir = fs::temp_directory_path() / "hypr_test";
|
||
|
|
||
|
private:
|
||
|
};
|