added roundtrip tests for UBJSON

parent f0b26c8f
{iglossary{iGlossDiv{i GlossList{i
GlossEntry{iAbbrevSi ISO 8879:1986iAcronymSiSGMLiGlossDef{i GlossSeeAlso[SiGMLSiXML]iparaSiHA meta-markup language, used to create markup languages such as DocBook.}iGlossSeeSimarkupi GlossTermSi$Standard Generalized Markup LanguageiIDSiSGMLiSortAsSiSGML}}ititleSiS}ititleSiexample glossary}}
\ No newline at end of file
{imenu{iidSifileipopup{imenuitem[{ionclickSiCreateNewDoc()ivalueSiNew}{ionclickSi OpenDoc()ivalueSiOpen}{ionclickSi
CloseDoc()ivalueSiClose}]}ivalueSiFile}}
\ No newline at end of file
{iwidget{idebugSioniimage{i alignmentSicenterihOffsetUinameSisun1isrcSiImages/Sun.pngivOffsetU}itext{i alignmentSicenteridataSi
Click HereihOffsetUinameSitext1i onMouseUpSi)sun1.opacity = (sun1.opacity / 100) * 90;isizei$istyleSiboldivOffsetid}iwindow{iheightIinameSi main_windowititleSiSample Konfabulator WidgetiwidthI}}}
\ No newline at end of file
{imenu{iheaderSi
SVG Vieweriitems[{iidSiOpen}{iidSiOpenNewilabelSiOpen New}Z{iidSiZoomInilabelSiZoom In}{iidSiZoomOutilabelSiZoom Out}{iidSi OriginalViewilabelSi Original View}Z{iidSiQuality}{iidSiPause}{iidSiMute}Z{iidSiFindilabelSiFind...}{iidSi FindAgainilabelSi
Find Again}{iidSiCopy}{iidSi CopyAgainilabelSi
Copy Again}{iidSiCopySVGilabelSiCopy SVG}{iidSiViewSVGilabelSiView SVG}{iidSi
ViewSourceilabelSi View Source}{iidSiSaveAsilabelSiSave As}Z{iidSiHelp}{iidSiAboutilabelSiAbout Adobe CVG Viewer...}]}}
\ No newline at end of file
[[[[[[[[[[[[[[[[[[[Si Not too deep]]]]]]]]]]]]]]]]]]]
\ No newline at end of file
{iJSON Test Pattern pass3{i In this testSiIt is an object.iThe outermost valueSimust be an object or array.}}
\ No newline at end of file
......@@ -2111,6 +2111,12 @@ TEST_CASE("UBJSON roundtrips", "[hide]")
{
for (std::string filename :
{
"test/data/json_nlohmann_tests/all_unicode.json",
"test/data/json.org/1.json",
"test/data/json.org/2.json",
"test/data/json.org/3.json",
"test/data/json.org/4.json",
"test/data/json.org/5.json",
"test/data/json_roundtrip/roundtrip01.json",
"test/data/json_roundtrip/roundtrip02.json",
"test/data/json_roundtrip/roundtrip03.json",
......@@ -2142,7 +2148,11 @@ TEST_CASE("UBJSON roundtrips", "[hide]")
"test/data/json_roundtrip/roundtrip29.json",
"test/data/json_roundtrip/roundtrip30.json",
"test/data/json_roundtrip/roundtrip31.json",
"test/data/json_roundtrip/roundtrip32.json"
"test/data/json_roundtrip/roundtrip32.json",
"test/data/json_testsuite/sample.json",
"test/data/json_tests/pass1.json",
"test/data/json_tests/pass2.json",
"test/data/json_tests/pass3.json"
})
{
CAPTURE(filename);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment