-
Notifications
You must be signed in to change notification settings - Fork 392
Adding headers to test common header files #5903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| // Copyright (c) Microsoft Corporation and Contributors. | ||
| // Copyright (c) Microsoft Corporation and Contributors. | ||
| // Licensed under the MIT License. | ||
|
|
||
| #ifndef __WINDOWSAPPRUNTIME_TEST_APPMODEL_H | ||
| #define __WINDOWSAPPRUNTIME_TEST_APPMODEL_H | ||
|
|
||
| #include <windows.h> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? Is this currently a problem or is this a stylistic change? This is the most obvious example - why does this need to include I don't see the value including There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The current problem is that for some of these headers, you can't include them alone without including these dependencies before in your file. Creating a new test that uses one of these headers requires knowing what they depend on, and it is not possible to just include the header that you actually want to use alone, requiring the include of For this specific case, this header can be compile on its own because it includes Do you think there are any downsides on doing this change? We can close this PR if it is not desired. |
||
| #include <appmodel.h> | ||
|
|
||
| #include <Verify.h> | ||
|
|
||
| namespace Test::AppModel | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.