mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-19 22:13:49 -07:00
Adds a test suite for testing hyprland's features with a runtime tester --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
18 lines
747 B
C++
18 lines
747 B
C++
#pragma once
|
|
|
|
#include <hyprutils/os/Process.hpp>
|
|
#include <hyprutils/memory/WeakPtr.hpp>
|
|
#include <sys/types.h>
|
|
|
|
#include "../Log.hpp"
|
|
|
|
//NOLINTNEXTLINE
|
|
namespace Tests {
|
|
Hyprutils::Memory::CUniquePointer<Hyprutils::OS::CProcess> spawnKitty(const std::string& class_ = "");
|
|
bool processAlive(pid_t pid);
|
|
int windowCount();
|
|
int countOccurrences(const std::string& in, const std::string& what);
|
|
bool killAllWindows();
|
|
void waitUntilWindowsN(int n);
|
|
};
|