mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-13 00:03:35 +00:00
adding command list Vulkan support
This commit is contained in:
26
Tests/Vulkan/Common.h
git.filemode.normal_file
26
Tests/Vulkan/Common.h
git.filemode.normal_file
@@ -0,0 +1,26 @@
|
||||
#ifndef TEST_COMMON_H_
|
||||
#define TEST_COMMON_H_
|
||||
|
||||
#define RUN_TEST_AT_LINE(fn, line) \
|
||||
{ \
|
||||
Unity.TestFile = __FILE__; \
|
||||
Unity.CurrentTestName = #fn; \
|
||||
Unity.CurrentTestLineNumber = line; \
|
||||
Unity.NumberOfTests++; \
|
||||
UNITY_CLR_DETAILS(); \
|
||||
UNITY_EXEC_TIME_START(); \
|
||||
if(TEST_PROTECT()) \
|
||||
fn(); \
|
||||
UNITY_EXEC_TIME_STOP(); \
|
||||
UnityConcludeTest(); \
|
||||
}
|
||||
|
||||
#define RUN_TEST(fn) RUN_TEST_AT_LINE(fn, __LINE__);
|
||||
|
||||
#include <Pulse.h>
|
||||
|
||||
void DebugCallBack(PulseDebugMessageSeverity severity, const char* message);
|
||||
void SetupPulse(PulseBackend* backend);
|
||||
void CleanupPulse(PulseBackend backend);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user