0.1 update, make the stop container code more robust and fix some bugs, update the about screen for version 0.1

This commit is contained in:
mrkmntal 2026-08-14 14:28:03 -04:00
commit e8e93d7b21
17 changed files with 449 additions and 43 deletions

View file

@ -0,0 +1,19 @@
#include "operation_state.hpp"
#include <cassert>
#include <iostream>
int main() {
OperationState operation;
assert(!operation.busy());
operation.begin("Stopping container", "Please wait...");
assert(operation.busy());
assert(operation.title() == "Stopping container");
assert(operation.message() == "Please wait...");
operation.complete("Container stopped.");
assert(!operation.busy());
assert(operation.result() == "Container stopped.");
std::cout << "Operation state tests passed\n";
}