breaking change to add system values test
authorFred T. Hamster <fred@feistymeow.org>
Sun, 8 Feb 2026 19:25:42 +0000 (14:25 -0500)
committerFred T. Hamster <fred@feistymeow.org>
Sun, 8 Feb 2026 19:25:42 +0000 (14:25 -0500)
working on it now.

nucleus/library/tests_application/test_system_values.cpp [deleted file]
nucleus/library/tests_configuration/makefile
nucleus/library/tests_configuration/test_system_values.cpp [new file with mode: 0644]

diff --git a/nucleus/library/tests_application/test_system_values.cpp b/nucleus/library/tests_application/test_system_values.cpp
deleted file mode 100644 (file)
index 3afd8ab..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-/*****************************************************************************\
-*                                                                             *
-*  Name   : test_system_values                                                *
-*  Author : Chris Koeritz                                                     *
-*                                                                             *
-*******************************************************************************
-* Copyright (c) 2005-$now By Author.  This program is free software; you can  *
-* redistribute it and/or modify it under the terms of the GNU General Public  *
-* License as published by the Free Software Foundation; either version 2 of   *
-* the License or (at your option) any later version.  This is online at:      *
-*     http://www.fsf.org/copyleft/gpl.html                                    *
-* Please send any updates to: fred@gruntose.com                               *
-\*****************************************************************************/
-
-#include <basis/function.h>
-#include <basis/guards.h>
-#include <basis/istring.h>
-#include <basis/portable.h>
-#include <opsystem/application_shell.h>
-#include <loggers/console_logger.h>
-#include <data_struct/static_memory_gremlin.h>
-#include <opsystem/system_values.h>
-
-#define LOG(s) CLASS_EMERGENCY_LOG(program_wide_logger(), s)
-
-class test_system_values : public application_shell
-{
-public:
-  test_system_values()
-      : application_shell(class_name()),
-        events(system_values::EVENT_VALUES()),
-        filters(system_values::FILTER_VALUES()),
-        outcomes(system_values::OUTCOME_VALUES())
-  {}
-
-  IMPLEMENT_CLASS_NAME("test_system_values");
-  virtual int execute();
-
-private:
-  system_values events;
-  system_values filters;
-  system_values outcomes;
-};
-
-int test_system_values::execute()
-{
-  FUNCDEF("execute");
-
-  log("Outcome Values");
-  log("==============");
-  log(outcomes.text_form());
-
-  log("Filter Values");
-  log("=============");
-  log(filters.text_form());
-
-  log("Event Values");
-  log("============");
-  log(events.text_form());
-
-  return 0;
-}
-
-HOOPLE_MAIN(test_system_values, )
-
index 8cc39336c01dd8ea4b143c7e63466d448696f6bb..6d87acea9bdec6fb7932a030fa90602fee2145cd 100644 (file)
@@ -2,7 +2,7 @@ include cpp/variables.def
 
 PROJECT = tests_configuration
 TYPE = test
-TARGETS = test_ini_configurator.exe test_ini_parser.exe test_section_manager.exe test_tokenizer.exe 
+TARGETS = test_ini_configurator.exe test_ini_parser.exe test_section_manager.exe test_system_values.exe test_tokenizer.exe 
 LOCAL_LIBS_USED = unit_test application loggers geometric configuration textual timely filesystem \
   structures basis 
 RUN_TARGETS = $(ACTUAL_TARGETS)
diff --git a/nucleus/library/tests_configuration/test_system_values.cpp b/nucleus/library/tests_configuration/test_system_values.cpp
new file mode 100644 (file)
index 0000000..3afd8ab
--- /dev/null
@@ -0,0 +1,65 @@
+/*****************************************************************************\
+*                                                                             *
+*  Name   : test_system_values                                                *
+*  Author : Chris Koeritz                                                     *
+*                                                                             *
+*******************************************************************************
+* Copyright (c) 2005-$now By Author.  This program is free software; you can  *
+* redistribute it and/or modify it under the terms of the GNU General Public  *
+* License as published by the Free Software Foundation; either version 2 of   *
+* the License or (at your option) any later version.  This is online at:      *
+*     http://www.fsf.org/copyleft/gpl.html                                    *
+* Please send any updates to: fred@gruntose.com                               *
+\*****************************************************************************/
+
+#include <basis/function.h>
+#include <basis/guards.h>
+#include <basis/istring.h>
+#include <basis/portable.h>
+#include <opsystem/application_shell.h>
+#include <loggers/console_logger.h>
+#include <data_struct/static_memory_gremlin.h>
+#include <opsystem/system_values.h>
+
+#define LOG(s) CLASS_EMERGENCY_LOG(program_wide_logger(), s)
+
+class test_system_values : public application_shell
+{
+public:
+  test_system_values()
+      : application_shell(class_name()),
+        events(system_values::EVENT_VALUES()),
+        filters(system_values::FILTER_VALUES()),
+        outcomes(system_values::OUTCOME_VALUES())
+  {}
+
+  IMPLEMENT_CLASS_NAME("test_system_values");
+  virtual int execute();
+
+private:
+  system_values events;
+  system_values filters;
+  system_values outcomes;
+};
+
+int test_system_values::execute()
+{
+  FUNCDEF("execute");
+
+  log("Outcome Values");
+  log("==============");
+  log(outcomes.text_form());
+
+  log("Filter Values");
+  log("=============");
+  log(filters.text_form());
+
+  log("Event Values");
+  log("============");
+  log(events.text_form());
+
+  return 0;
+}
+
+HOOPLE_MAIN(test_system_values, )
+