Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
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
rapidjson
Commits
0163a53f
Commit
0163a53f
authored
Feb 06, 2017
by
Milo Yip
Committed by
GitHub
Feb 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #841 from StilesCrisis/improve-unit-test-reporting
Improved reporting
parents
738864c5
6769f3e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
jsoncheckertest.cpp
test/unittest/jsoncheckertest.cpp
+4
-4
No files found.
test/unittest/jsoncheckertest.cpp
View file @
0163a53f
...
...
@@ -69,10 +69,10 @@ TEST(JsonChecker, Reader) {
GenericDocument
<
UTF8
<>
,
CrtAllocator
>
document
;
// Use Crt allocator to check exception-safety (no memory leak)
document
.
Parse
(
json
);
EXPECT_TRUE
(
document
.
HasParseError
());
EXPECT_TRUE
(
document
.
HasParseError
())
<<
filename
;
document
.
Parse
<
kParseIterativeFlag
>
(
json
);
EXPECT_TRUE
(
document
.
HasParseError
());
EXPECT_TRUE
(
document
.
HasParseError
())
<<
filename
;
free
(
json
);
}
...
...
@@ -89,10 +89,10 @@ TEST(JsonChecker, Reader) {
GenericDocument
<
UTF8
<>
,
CrtAllocator
>
document
;
// Use Crt allocator to check exception-safety (no memory leak)
document
.
Parse
(
json
);
EXPECT_FALSE
(
document
.
HasParseError
());
EXPECT_FALSE
(
document
.
HasParseError
())
<<
filename
;
document
.
Parse
<
kParseIterativeFlag
>
(
json
);
EXPECT_FALSE
(
document
.
HasParseError
());
EXPECT_FALSE
(
document
.
HasParseError
())
<<
filename
;
free
(
json
);
}
...
...
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