Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
b26684a9
Commit
b26684a9
authored
Sep 02, 2009
by
kenton@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove test that had undefined behavior and thus did not pass on some platforms.
parent
3aa7a0da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
repeated_field_unittest.cc
src/google/protobuf/repeated_field_unittest.cc
+0
-4
No files found.
src/google/protobuf/repeated_field_unittest.cc
View file @
b26684a9
...
...
@@ -592,7 +592,6 @@ TEST_F(RepeatedPtrFieldIteratorTest, Comparable) {
}
// Uninitialized iterator does not point to any of the RepeatedPtrField.
// Dereferencing an uninitialized iterator crashes the process.
TEST_F
(
RepeatedPtrFieldIteratorTest
,
UninitializedIterator
)
{
RepeatedPtrField
<
string
>::
iterator
iter
;
EXPECT_TRUE
(
iter
!=
proto_array_
.
begin
());
...
...
@@ -600,9 +599,6 @@ TEST_F(RepeatedPtrFieldIteratorTest, UninitializedIterator) {
EXPECT_TRUE
(
iter
!=
proto_array_
.
begin
()
+
2
);
EXPECT_TRUE
(
iter
!=
proto_array_
.
begin
()
+
3
);
EXPECT_TRUE
(
iter
!=
proto_array_
.
end
());
#ifdef GTEST_HAS_DEATH_TEST
ASSERT_DEATH
(
GOOGLE_LOG
(
INFO
)
<<
*
iter
,
""
);
#endif
}
TEST_F
(
RepeatedPtrFieldIteratorTest
,
STLAlgorithms_lower_bound
)
{
...
...
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