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
1ea6b31d
Commit
1ea6b31d
authored
Mar 30, 2011
by
vladlosev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes Windows CE compatibility problem (issue…
Fixes Windows CE compatibility problem (issue
http://code.google.com/p/googletest/issues/detail?id=362
).
parent
03062e23
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
gtest-param-util.h
include/gtest/internal/gtest-param-util.h
+1
-1
gtest-death-test.cc
src/gtest-death-test.cc
+1
-1
gtest_environment_test.cc
test/gtest_environment_test.cc
+1
-1
gtest_repeat_test.cc
test/gtest_repeat_test.cc
+3
-3
No files found.
include/gtest/internal/gtest-param-util.h
View file @
1ea6b31d
...
...
@@ -579,7 +579,7 @@ class ParameterizedTestCaseRegistry {
// and terminate the program since we cannot guaranty correct
// test case setup and tear-down in this case.
ReportInvalidTestCaseType
(
test_case_name
,
file
,
line
);
a
bort
();
posix
::
A
bort
();
}
else
{
// At this point we are sure that the object we found is of the same
// type we are looking for, so we downcast it to that type
...
...
src/gtest-death-test.cc
View file @
1ea6b31d
...
...
@@ -225,7 +225,7 @@ void DeathTestAbort(const String& message) {
}
else
{
fprintf
(
stderr
,
"%s"
,
message
.
c_str
());
fflush
(
stderr
);
a
bort
();
posix
::
A
bort
();
}
}
...
...
test/gtest_environment_test.cc
View file @
1ea6b31d
...
...
@@ -115,7 +115,7 @@ TEST(FooTest, Bar) {
void
Check
(
bool
condition
,
const
char
*
msg
)
{
if
(
!
condition
)
{
printf
(
"FAILED: %s
\n
"
,
msg
);
a
bort
();
testing
::
internal
::
posix
::
A
bort
();
}
}
...
...
test/gtest_repeat_test.cc
View file @
1ea6b31d
...
...
@@ -69,7 +69,7 @@ namespace {
<< " Actual: " << actual_val << "\n"\
<< "Expected: " #expected "\n"\
<< "Which is: " << expected_val << "\n";\
a
bort();\
::testing::internal::posix::A
bort();\
}\
} while(::testing::internal::AlwaysFalse())
...
...
@@ -113,10 +113,10 @@ TEST(BarDeathTest, ThreadSafeAndFast) {
g_death_test_count
++
;
GTEST_FLAG
(
death_test_style
)
=
"threadsafe"
;
EXPECT_DEATH_IF_SUPPORTED
(
a
bort
(),
""
);
EXPECT_DEATH_IF_SUPPORTED
(
::
testing
::
internal
::
posix
::
A
bort
(),
""
);
GTEST_FLAG
(
death_test_style
)
=
"fast"
;
EXPECT_DEATH_IF_SUPPORTED
(
a
bort
(),
""
);
EXPECT_DEATH_IF_SUPPORTED
(
::
testing
::
internal
::
posix
::
A
bort
(),
""
);
}
#if GTEST_HAS_PARAM_TEST
...
...
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