system values test is online
authorFred T. Hamster <fred@feistymeow.org>
Sun, 8 Feb 2026 19:39:44 +0000 (14:39 -0500)
committerFred T. Hamster <fred@feistymeow.org>
Sun, 8 Feb 2026 19:39:44 +0000 (14:39 -0500)
and the code is building again...

nucleus/library/tests_configuration/test_ini_parser.cpp
nucleus/library/tests_configuration/test_system_values.cpp
scripts/buildor/upgrade_hoople_to_feistymeow.sh

index 32175447ee6042586234989ebd7979227cd8238c..d5576e6ceb8600ccf9d21e690cfdf04a0c6f8c0a 100644 (file)
@@ -125,6 +125,7 @@ int test_ini_parser::execute()
 #endif
 
   critical_events::alert_message(astring(class_name()) + ": works for those functions tested.");
+
   return 0;
 }
 
index 3afd8abd3e034ab9dead6cc89ea85591ec72e7f4..8d5d6d06fc60acaaa9c927b49b25c234aafe7c15 100644 (file)
 * Please send any updates to: fred@gruntose.com                               *
 \*****************************************************************************/
 
-#include <basis/function.h>
+#include <basis/functions.h>
 #include <basis/guards.h>
-#include <basis/istring.h>
-#include <basis/portable.h>
-#include <opsystem/application_shell.h>
+#include <basis/astring.h>
+
+#include <application/application_shell.h>
+#include <application/hoople_main.h>
 #include <loggers/console_logger.h>
-#include <data_struct/static_memory_gremlin.h>
-#include <opsystem/system_values.h>
+#include <structures/static_memory_gremlin.h>
+#include <configuration/system_values.h>
+#include <unit_test/unit_base.h>
+
+using namespace application;
+using namespace basis;
+using namespace configuration;
+using namespace loggers;
+using namespace textual;
+using namespace unit_test;
 
-#define LOG(s) CLASS_EMERGENCY_LOG(program_wide_logger(), s)
+#define LOG(s) EMERGENCY_LOG(program_wide_logger::get(), astring(s))
 
-class test_system_values : public application_shell
+class test_system_values : virtual public unit_base, virtual public application_shell
 {
 public:
   test_system_values()
-      : application_shell(class_name()),
+      : application_shell(),
         events(system_values::EVENT_VALUES()),
         filters(system_values::FILTER_VALUES()),
         outcomes(system_values::OUTCOME_VALUES())
   {}
 
-  IMPLEMENT_CLASS_NAME("test_system_values");
+  DEFINE_CLASS_NAME("test_system_values");
   virtual int execute();
 
 private:
@@ -46,17 +55,19 @@ int test_system_values::execute()
 {
   FUNCDEF("execute");
 
-  log("Outcome Values");
-  log("==============");
-  log(outcomes.text_form());
+  LOG("Outcome Values");
+  LOG("==============");
+  LOG(outcomes.text_form());
+
+  LOG("Filter Values");
+  LOG("=============");
+  LOG(filters.text_form());
 
-  log("Filter Values");
-  log("=============");
-  log(filters.text_form());
+  LOG("Event Values");
+  LOG("============");
+  LOG(events.text_form());
 
-  log("Event Values");
-  log("============");
-  log(events.text_form());
+  critical_events::alert_message(astring(class_name()) + ": works for those functions tested.");
 
   return 0;
 }
index e3465a8ffc31669b83ec4fda06d3a5ecf4f1e88d..61802fe402dc5fec9843346f0bf3c61586f9f5e0 100644 (file)
@@ -155,6 +155,7 @@ standards and usages."
     | sed -e 's/guards::alert_message/critical_events::alert_message/g' \
     | sed -e 's/^#include <mathematics\/float_plus.h> *$/#include <mathematics\/double_plus.h>/g' \
     | sed -e 's/^#include <opsystem\/ini_parser.h> *$/#include <configuration\/ini_parser.h>/g' \
+    | sed -e 's/^#include <opsystem\/system_values.h> *$/#include <configuration\/system_values.h>/g' \
     | sed -e 's/^#include <opsystem\/registry_config.h> *$/#include <application\/registry_config.h>/g' \
     | sed -e 's/log_base::NO_ENDING/parser_bits::NO_ENDING/g' \
     | sed -e 's/log_base::CRLF_AT_END/parser_bits::CRLF_AT_END/g' \