Initial Commit

Initial Commit [v1.32PRC8]
This commit is contained in:
Jaysyn904
2025-04-03 13:38:45 -04:00
parent 1213977d8c
commit b464d8da05
6922 changed files with 6176025 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
/// @ingroup nwnx
/// @addtogroup tests NWNX Tests
/// @brief Helper functions when running the test scripts
/// @{
/// @file nwnx_tests.nss
/// @brief Reports the test results
/// @param sPlugin The plugin calling the test.
/// @param sTestName The name of the test.
/// @param bSuccess TRUE if the test passed.
void NWNX_Tests_Report(string sPlugin, string sTestName, int bSuccess);
void NWNX_Tests_Report(string sPlugin, string sTestName, int bSuccess)
{
if (bSuccess)
WriteTimestampedLogEntry(sPlugin + ": " + sTestName + "() success");
else
WriteTimestampedLogEntry(sPlugin + ": " + sTestName + "() failed");
}
/// @} // End of tests