2 Commits

Author SHA1 Message Date
bae26cf80a Migrate jlog to latest. 2024-12-25 16:36:23 -05:00
76a384b892 Fix for latest jlog
Also remove having to include event directly as it gets passed up from jlog.
2024-10-10 12:08:25 -04:00
3 changed files with 2 additions and 9 deletions

View File

@@ -24,15 +24,9 @@ include(cmake/CPM.cmake)
file(GLOB_RECURSE jtest_HEADERS "include/jtest/*.h" "include/jtest/*.hpp")
file(GLOB_RECURSE jtest_SRC "src/jtest/*.c" "src/jtest/*.cpp")
# TODO: Fix Event needing to be included too, it should be an automatically-managed depencency of jlog!!!
CPMAddPackage(
NAME Event
URL https://git.redacted.cc/josh/Event/archive/Release-10.zip
)
CPMAddPackage(
NAME jlog
URL https://git.redacted.cc/josh/jlog/archive/Prerelease-16.zip
URL https://git.redacted.cc/josh/jlog/archive/Prerelease-17.zip
)

View File

@@ -1,7 +1,6 @@
#pragma once
#include <Event.h>
#include <EventConnection.h>
#include <jtest/Test.hpp>
#include <jtest/UnitLogger.hpp>

View File

@@ -21,7 +21,7 @@ namespace jtest {
// TODO: output "Running Test Unit <name> with <N> tests.
Log(std::format("Running test unit with {} tests...", tests_total));
for (event_ptr &connection_ptr: this->listeners) {
for (EventPtr &connection_ptr: this->listeners) {
//ulog(std::format("Running Test <{}> [{}/{}]", connection_ptr->callback.Name(), tcnt, this->listeners.size()));
bool this_test_passed = false;