Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
62ba5d91
Unverified
Commit
62ba5d91
authored
Jan 19, 2018
by
Gennadiy Civil
Committed by
GitHub
Jan 19, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1401 from eidosmontreal/support_xboxone
Added support for WINAPI_PARTITION_TV_TITLE to support XboxOne applications
parents
05105305
1489dc8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
gtest-port-arch.h
googletest/include/gtest/internal/gtest-port-arch.h
+3
-0
gtest.cc
googletest/src/gtest.cc
+1
-1
No files found.
googletest/include/gtest/internal/gtest-port-arch.h
View file @
62ba5d91
...
@@ -54,6 +54,9 @@
...
@@ -54,6 +54,9 @@
# define GTEST_OS_WINDOWS_PHONE 1
# define GTEST_OS_WINDOWS_PHONE 1
# elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
# elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
# define GTEST_OS_WINDOWS_RT 1
# define GTEST_OS_WINDOWS_RT 1
# elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_TV_TITLE)
# define GTEST_OS_WINDOWS_PHONE 1
# define GTEST_OS_WINDOWS_TV_TITLE 1
# else
# else
// WINAPI_FAMILY defined but no known partition matched.
// WINAPI_FAMILY defined but no known partition matched.
// Default to desktop.
// Default to desktop.
...
...
googletest/src/gtest.cc
View file @
62ba5d91
...
@@ -1655,7 +1655,7 @@ namespace {
...
@@ -1655,7 +1655,7 @@ namespace {
AssertionResult
HRESULTFailureHelper
(
const
char
*
expr
,
AssertionResult
HRESULTFailureHelper
(
const
char
*
expr
,
const
char
*
expected
,
const
char
*
expected
,
long
hr
)
{
// NOLINT
long
hr
)
{
// NOLINT
# if GTEST_OS_WINDOWS_MOBILE
# if GTEST_OS_WINDOWS_MOBILE
|| GTEST_OS_WINDOWS_TV_TITLE
// Windows CE doesn't support FormatMessage.
// Windows CE doesn't support FormatMessage.
const
char
error_text
[]
=
""
;
const
char
error_text
[]
=
""
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment