summaryrefslogtreecommitdiff
path: root/include/SDL_test_harness.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2016-11-13 23:09:42 -0800
committerSam Lantinga <slouken@libsdl.org>2016-11-13 23:09:42 -0800
commit663f5c8763fbe6ad48fbdeec14d8b36bc11195a8 (patch)
treefb2a47ed3e76c635940054cdc0de9ce952ac5b8c /include/SDL_test_harness.h
parent18e0ea1988271681cec0367deb2e3aa718deedd6 (diff)
Fixed build error with missing function prototype in the SDL_test_harness.h header
Diffstat (limited to 'include/SDL_test_harness.h')
-rw-r--r--include/SDL_test_harness.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/SDL_test_harness.h b/include/SDL_test_harness.h
index 74c0950cda..f3ee5b4f0e 100644
--- a/include/SDL_test_harness.h
+++ b/include/SDL_test_harness.h
@@ -99,6 +99,17 @@ typedef struct SDLTest_TestSuiteReference {
/**
+ * \brief Generates a random run seed string for the harness. The generated seed will contain alphanumeric characters (0-9A-Z).
+ *
+ * Note: The returned string needs to be deallocated by the caller.
+ *
+ * \param length The length of the seed string to generate
+ *
+ * \returns The generated seed string
+ */
+char *SDLTest_GenerateRunSeed(const int length);
+
+/**
* \brief Execute a test suite using the given run seed and execution key.
*
* \param testSuites Suites containing the test case.