aboutsummaryrefslogtreecommitdiff
path: root/external/Unity/extras/fixture/src/unity_fixture_internals.h
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2017-06-16 01:20:02 -0700
committerbenj <benj@rse8.com>2017-06-16 01:20:02 -0700
commit14adc6a1d769e22958496d570b7f25b68cc86969 (patch)
tree6754de138c6d59bbfce8d5a3b732891d5a5e220b /external/Unity/extras/fixture/src/unity_fixture_internals.h
parentdee453b6473354786871a9b0b123d676ef1eb5cc (diff)
downloadworkbench-14adc6a1d769e22958496d570b7f25b68cc86969.tar
workbench-14adc6a1d769e22958496d570b7f25b68cc86969.tar.gz
workbench-14adc6a1d769e22958496d570b7f25b68cc86969.tar.bz2
workbench-14adc6a1d769e22958496d570b7f25b68cc86969.tar.lz
workbench-14adc6a1d769e22958496d570b7f25b68cc86969.tar.xz
workbench-14adc6a1d769e22958496d570b7f25b68cc86969.tar.zst
workbench-14adc6a1d769e22958496d570b7f25b68cc86969.zip
add unity testing fmwk and simple hash fn demonstrationHEADmaster
Diffstat (limited to 'external/Unity/extras/fixture/src/unity_fixture_internals.h')
-rw-r--r--external/Unity/extras/fixture/src/unity_fixture_internals.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/external/Unity/extras/fixture/src/unity_fixture_internals.h b/external/Unity/extras/fixture/src/unity_fixture_internals.h
new file mode 100644
index 0000000..aa0d9e7
--- /dev/null
+++ b/external/Unity/extras/fixture/src/unity_fixture_internals.h
@@ -0,0 +1,51 @@
+/* Copyright (c) 2010 James Grenning and Contributed to Unity Project
+ * ==========================================
+ * Unity Project - A Test Framework for C
+ * Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
+ * [Released under MIT License. Please refer to license.txt for details]
+ * ========================================== */
+
+#ifndef UNITY_FIXTURE_INTERNALS_H_
+#define UNITY_FIXTURE_INTERNALS_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct UNITY_FIXTURE_T
+{
+ int Verbose;
+ unsigned int RepeatCount;
+ const char* NameFilter;
+ const char* GroupFilter;
+};
+extern struct UNITY_FIXTURE_T UnityFixture;
+
+typedef void unityfunction(void);
+void UnityTestRunner(unityfunction* setup,
+ unityfunction* body,
+ unityfunction* teardown,
+ const char* printableName,
+ const char* group,
+ const char* name,
+ const char* file, unsigned int line);
+
+void UnityIgnoreTest(const char* printableName, const char* group, const char* name);
+void UnityMalloc_StartTest(void);
+void UnityMalloc_EndTest(void);
+int UnityGetCommandLineOptions(int argc, const char* argv[]);
+void UnityConcludeFixtureTest(void);
+
+void UnityPointer_Set(void** ptr, void* newValue, UNITY_LINE_TYPE line);
+void UnityPointer_UndoAllSets(void);
+void UnityPointer_Init(void);
+#ifndef UNITY_MAX_POINTERS
+#define UNITY_MAX_POINTERS 5
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* UNITY_FIXTURE_INTERNALS_H_ */