Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
82c1888d
Commit
82c1888d
authored
Apr 03, 2020
by
LEFEBVREJP email
Browse files
Adding json parser failure/pass and benchmark tests.
parent
83f614eb
Pipeline
#96067
failed with stages
in 77 minutes and 29 seconds
Changes
68
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
radixbug/bug.hh
View file @
82c1888d
...
...
@@ -214,7 +214,10 @@ class Timer
return
seconds
(
mDuration
).
count
();
}
};
// class Timer
bool
running
()
const
{
return
mRunning
;
};
};
// class Timer
}
// namespace radix
#if RADIX_TIMING > 0
...
...
radixcore/tests/testfiles/benchmark_canada.json
0 → 100644
View file @
82c1888d
This diff is collapsed.
Click to expand it.
radixcore/tests/testfiles/benchmark_citm_catalog.json
0 → 100644
View file @
82c1888d
This diff is collapsed.
Click to expand it.
radixcore/tests/testfiles/benchmark_twitter.json
0 → 100644
View file @
82c1888d
This diff is collapsed.
Click to expand it.
radixcore/tests/testfiles/fail01_EXCLUDE.json
0 → 100644
View file @
82c1888d
"A JSON payload should be an object or array, not a string."
\ No newline at end of file
radixcore/tests/testfiles/fail02.json
0 → 100644
View file @
82c1888d
[
"Unclosed array"
\ No newline at end of file
radixcore/tests/testfiles/fail03.json
0 → 100644
View file @
82c1888d
{
unquoted_key:
"keys must be quoted"
}
\ No newline at end of file
radixcore/tests/testfiles/fail04.json
0 → 100644
View file @
82c1888d
[
"extra comma"
,]
\ No newline at end of file
radixcore/tests/testfiles/fail05.json
0 → 100644
View file @
82c1888d
[
"double extra comma"
,,]
\ No newline at end of file
radixcore/tests/testfiles/fail06.json
0 → 100644
View file @
82c1888d
[
,
"<-- missing value"
]
\ No newline at end of file
radixcore/tests/testfiles/fail07.json
0 → 100644
View file @
82c1888d
[
"Comma after the close"
]
,
\ No newline at end of file
radixcore/tests/testfiles/fail08.json
0 → 100644
View file @
82c1888d
[
"Extra close"
]]
\ No newline at end of file
radixcore/tests/testfiles/fail09.json
0 → 100644
View file @
82c1888d
{
"Extra comma"
:
true
,}
\ No newline at end of file
radixcore/tests/testfiles/fail10.json
0 → 100644
View file @
82c1888d
{
"Extra value after close"
:
true
}
"misplaced quoted value"
\ No newline at end of file
radixcore/tests/testfiles/fail11.json
0 → 100644
View file @
82c1888d
{
"Illegal expression"
:
1
+
2
}
\ No newline at end of file
radixcore/tests/testfiles/fail12.json
0 → 100644
View file @
82c1888d
{
"Illegal invocation"
:
alert()
}
\ No newline at end of file
radixcore/tests/testfiles/fail13.json
0 → 100644
View file @
82c1888d
{
"Numbers cannot have leading zeroes"
:
013
}
\ No newline at end of file
radixcore/tests/testfiles/fail14.json
0 → 100644
View file @
82c1888d
{
"Numbers cannot be hex"
:
0
x
14
}
\ No newline at end of file
radixcore/tests/testfiles/fail15.json
0 → 100644
View file @
82c1888d
[
"Illegal backslash escape:
\x
15"
]
\ No newline at end of file
radixcore/tests/testfiles/fail16.json
0 → 100644
View file @
82c1888d
[
\naked
]
\ No newline at end of file
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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