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
c454b443
Commit
c454b443
authored
Sep 23, 2016
by
Feng Xiao
Committed by
GitHub
Sep 23, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2171 from xfxyjwf/fix_json
Reduce test length to avoid stack overflow on VS.
parents
18f336b9
73c87232
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
appveyor.yml
appveyor.yml
+3
-3
json_stream_parser_test.cc
src/google/protobuf/util/internal/json_stream_parser_test.cc
+3
-3
No files found.
appveyor.yml
View file @
c454b443
...
...
@@ -20,16 +20,16 @@ environment:
test
:
off
install
:
-
ps
:
Start-FileDownload
https://github.com/google/googlemock/archive/release-1.7.0.zip
-
curl -L -o release-1.7.0.zip
https://github.com/google/googlemock/archive/release-1.7.0.zip
-
7z x release-1.7.0.zip
-
del /Q release-1.7.0.zip
-
rename googlemock-release-1.7.0 gmock
-
ps
:
Start-FileDownload https://github.com/google/googletest/archive/release-1.7.0.zip
-
curl -L -o release-1.7.0.zip "https://github.com/google/googletest/archive/release-1.7.0.zip"
-
7z x release-1.7.0.zip
-
del /Q release-1.7.0.zip
-
rename googletest-release-1.7.0 gtest
-
move gtest gmock
-
ps
:
Start-FileDownload https://go.microsoft.com/fwlink/?LinkID=809122 -FileName dotnetsdk.exe
-
curl -L -o dotnetsdk.exe "https://go.microsoft.com/fwlink/?LinkID=809122"
-
dotnetsdk.exe /install /quiet /norestart
before_build
:
...
...
src/google/protobuf/util/internal/json_stream_parser_test.cc
View file @
c454b443
...
...
@@ -318,15 +318,15 @@ TEST_F(JsonStreamParserTest, ObjectKeyTypes) {
// - array containing array, object, values (true, false, null, num, string)
TEST_F
(
JsonStreamParserTest
,
ArrayValues
)
{
StringPiece
str
=
"[true, false, null, 'a
string',
\"
another string
\"
, [22, -127, 45.3, "
"[true, false, null, 'a
',
\"
an
\"
, [22, -127, 45.3, "
"-1056.4, 11779497823553162765], {'key': true}]"
;
for
(
int
i
=
0
;
i
<=
str
.
length
();
++
i
)
{
ow_
.
StartList
(
""
)
->
RenderBool
(
""
,
true
)
->
RenderBool
(
""
,
false
)
->
RenderNull
(
""
)
->
RenderString
(
""
,
"a
string
"
)
->
RenderString
(
""
,
"an
other string
"
)
->
RenderString
(
""
,
"a"
)
->
RenderString
(
""
,
"an"
)
->
StartList
(
""
)
->
RenderUint64
(
""
,
22
)
->
RenderInt64
(
""
,
-
127
)
...
...
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