summaryrefslogtreecommitdiffhomepage
path: root/public/frameworks/KernelTest.fwrk/src
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-21 03:30:40 -0500
committerGitHub <noreply@github.com>2025-11-21 03:30:40 -0500
commite3fa27827e7647a0ecc466f4d92097fe48fbbb43 (patch)
tree33ba30655f555d37e3c970707b27413936e5a9ad /public/frameworks/KernelTest.fwrk/src
parentc739255b48b3a5b2e184ca1a637f9f1f95c978ff (diff)
parentefefa7221a3fea3636a64f2bf067e2af75626f34 (diff)
Merge pull request #79 from nekernel-org/devv0.0.61
Kernel: OpenHeFS fixes and new components.
Diffstat (limited to 'public/frameworks/KernelTest.fwrk/src')
-rw-r--r--public/frameworks/KernelTest.fwrk/src/CSymbols.cc21
-rw-r--r--public/frameworks/KernelTest.fwrk/src/UnitTests.cc17
2 files changed, 21 insertions, 17 deletions
diff --git a/public/frameworks/KernelTest.fwrk/src/CSymbols.cc b/public/frameworks/KernelTest.fwrk/src/CSymbols.cc
new file mode 100644
index 00000000..575525f0
--- /dev/null
+++ b/public/frameworks/KernelTest.fwrk/src/CSymbols.cc
@@ -0,0 +1,21 @@
+/* ========================================
+
+ Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
+
+======================================== */
+
+#include <public/frameworks/KernelTest.fwrk/headers/TestCase.h>
+
+/// ================================================================================
+/// @brief Function to run breaking test.
+/// ================================================================================
+EXTERN_C Kernel::Void KT_TestBreak() {
+ KT_RUN_TEST(AlwaysBreak);
+}
+
+/// ================================================================================
+/// @brief Function to run passing test.
+/// ================================================================================
+EXTERN_C Kernel::Void KT_TestPass() {
+ KT_RUN_TEST(AlwaysPass);
+} \ No newline at end of file
diff --git a/public/frameworks/KernelTest.fwrk/src/UnitTests.cc b/public/frameworks/KernelTest.fwrk/src/UnitTests.cc
deleted file mode 100644
index ab6effa9..00000000
--- a/public/frameworks/KernelTest.fwrk/src/UnitTests.cc
+++ /dev/null
@@ -1,17 +0,0 @@
-/* ========================================
-
- Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
-
-======================================== */
-
-#include <public/frameworks/KernelTest.fwrk/headers/KernelTest.h>
-
-EXTERN_C Kernel::Void KT_TestBreak() {
- KT_ALWAYS_BREAK brk;
- brk.Run();
-}
-
-EXTERN_C Kernel::Void KT_TestGood() {
- KT_ALWAYS_GOOD good;
- good.Run();
-} \ No newline at end of file