mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-04 23:59:56 +00:00
* Add ConcurrencyTests * Make ConcurrencyTests compatible with TAEF * Use test PCH in concurrency tests * Fix include header * Ignore unused code warnings on WINML_SKIP_TEST * Remove BOM * Remove conflicting namespace in older SDK * Refactor duplicate code * Fix unused DELAYLOAD * Fix unused DELAYLOAD * Remove link to internal bug * Address code style fixes * Add new concurrency tests
24 lines
489 B
C++
24 lines
489 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#pragma once
|
|
|
|
using VoidTest = void (*)();
|
|
using SetupTest = VoidTest;
|
|
|
|
constexpr bool alwaysTrue() {
|
|
return true;
|
|
}
|
|
constexpr bool alwaysFalse() {
|
|
return false;
|
|
}
|
|
#define WINML_SUPRESS_UNREACHABLE_BELOW(statement) \
|
|
if (alwaysTrue()) { statement; }
|
|
|
|
#ifdef BUILD_GOOGLE_TEST
|
|
#include "googleTestMacros.h"
|
|
#else
|
|
#ifdef BUILD_TAEF_TEST
|
|
#include "taefTestMacros.h"
|
|
#endif
|
|
#endif
|