-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test warnings and delayload linking (#2843)
- Loading branch information
1 parent
408e600
commit 45c5835
Showing
6 changed files
with
24 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -417,4 +417,4 @@ const LearningModelSesssionAPITestApi& getapi() { | |
CloseSession, | ||
}; | ||
return api; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
#pragma once | ||
|
||
using VoidTest = void (*)(); | ||
using SetupTest = VoidTest; | ||
|
||
constexpr bool alwaysTrue() { | ||
return true; | ||
} | ||
#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 | ||
#endif |