Compare commits

..

No commits in common. "b2a448811701dbaef610aee70b744a58d851b53e" and "a1f571173bc5fa06b615a89b29abb5768e559d8c" have entirely different histories.

7 changed files with 264 additions and 275 deletions

View File

@ -12,7 +12,7 @@ open module org.atriasoft.ejson {
exports org.atriasoft.ejson.parser; exports org.atriasoft.ejson.parser;
requires transitive org.atriasoft.etk; requires transitive org.atriasoft.etk;
requires transitive org.atriasoft.reggol; requires transitive io.scenarium.logger;
requires java.base; requires java.base;
requires org.atriasoft.aknot; requires org.atriasoft.aknot;

View File

@ -5,8 +5,8 @@
*/ */
package org.atriasoft.ejson.internal; package org.atriasoft.ejson.internal;
import org.atriasoft.reggol.LogLevel; import io.scenarium.logger.LogLevel;
import org.atriasoft.reggol.Logger; import io.scenarium.logger.Logger;
public class Log { public class Log {
private static final boolean FORCE_ALL = false; private static final boolean FORCE_ALL = false;

View File

@ -9,7 +9,7 @@ import org.atriasoft.ejson.Ejson;
import org.atriasoft.ejson.model.JsonNode; import org.atriasoft.ejson.model.JsonNode;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import test.atriasoft.ejson.internal.Log; import sample.atriasoft.ewol.validationWidget.Log;
class EjsonLocal { class EjsonLocal {
// errorPos : -1 : no error , 1 : parsing error, 2 generation error, 3 comparaison error ???? // errorPos : -1 : no error , 1 : parsing error, 2 generation error, 3 comparaison error ????

View File

@ -8,25 +8,24 @@ package test.atriasoft.ejson.generic;
import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import test.atriasoft.ejson.internal.Log; import sample.atriasoft.ewol.validationWidget.Log;
public class EjsonTestAll { public class EjsonTestAll {
//@formatter:off //@formatter:off
private static String refOutputAll = """ private static String refOutputAll = "{\n"
{ + " \"menu\": {\n"
"menu": { + " \"id\": \"file\",\n"
"id": "file", + " \"value\": \"File\",\n"
"value": "File", + " \"popup\": {\n"
"popup": { + " \"menuitem\": [\n"
"menuitem": [ + " { \"value\": \"Close\", \"onclick\": \"CloseDoc()\" },\n"
{ "value": "Close", "onclick": "CloseDoc()" }, + " { \"value\": \"New\", \"onclick\": \"CreateNewDoc()\" },\n"
{ "value": "New", "onclick": "CreateNewDoc()" }, + " { \"value\": \"Open\", \"onclick\": \"OpenDoc()\" },\n"
{ "value": "Open", "onclick": "OpenDoc()" }, + " { \"value\": \"Close\", \"onclick\": \"CloseDoc()\" }\n"
{ "value": "Close", "onclick": "CloseDoc()" } + " ]\n"
] + " }\n"
} + " }\n"
} + "}";
}""";
//@formatter:on //@formatter:on
@BeforeAll @BeforeAll
@ -37,16 +36,15 @@ public class EjsonTestAll {
@Test @Test
public void testBaseObject() { public void testBaseObject() {
//@formatter:off //@formatter:off
final String base = """ final String base = "{\n"
{ + " \"menu\": {\n"
"menu": { + " \"id\": \"file\",\n"
"id": "file", + " \"value\": \"File\",\n"
"value": "File", + " \"popup\": {\n"
"popup": { + " \"menuitem\": { \"value\": \"Close\", \"onclick\": \"CloseDoc()\" }\n"
"menuitem": { "value": "Close", "onclick": "CloseDoc()" } + " }\n"
} + " }\n"
} + "}";
}""";
//@formatter:on //@formatter:on
EjsonLocal.test(base, base, -1); EjsonLocal.test(base, base, -1);
} }
@ -54,29 +52,28 @@ public class EjsonTestAll {
@Test @Test
public void testGeneric1() { public void testGeneric1() {
//@formatter:off //@formatter:off
final String base = """ final String base = "{\n"
{ + " \"glossary\": {\n"
"glossary": { + " \"title\": \"example glossary\",\n"
"title": "example glossary", + " \"GlossDiv\": {\n"
"GlossDiv": { + " \"title\": \"S\",\n"
"title": "S", + " \"GlossList\": {\n"
"GlossList": { + " \"GlossEntry\": {\n"
"GlossEntry": { + " \"ID\": \"SGML\",\n"
"ID": "SGML", + " \"SortAs\": \"SGML\",\n"
"SortAs": "SGML", + " \"GlossTerm\": \"Standard Generalized Markup Language\",\n"
"GlossTerm": "Standard Generalized Markup Language", + " \"Acronym\": \"SGML\",\n"
"Acronym": "SGML", + " \"Abbrev\": \"ISO 8879:1986\",\n"
"Abbrev": "ISO 8879:1986", + " \"GlossDef\": {\n"
"GlossDef": { + " \"para\": \"A meta-markup language, used to create markup languages such as DocBook.\",\n"
"para": "A meta-markup language, used to create markup languages such as DocBook.", + " \"GlossSeeAlso\": [ \"GML\", \"XML\" ]\n"
"GlossSeeAlso": [ "GML", "XML" ] + " },\n"
}, + " \"GlossSee\": \"markup\"\n"
"GlossSee": "markup" + " }\n"
} + " }\n"
} + " }\n"
} + " }\n"
} + "}";
}""";
//@formatter:on //@formatter:on
EjsonLocal.test(base, base, -1); EjsonLocal.test(base, base, -1);
} }
@ -84,20 +81,19 @@ public class EjsonTestAll {
@Test @Test
public void testGeneric2() { public void testGeneric2() {
//@formatter:off //@formatter:off
final String base = """ final String base = "{\n"
{ + " \"menu\": {\n"
"menu": { + " \"id\": \"file\",\n"
"id": "file", + " \"value\": \"File\",\n"
"value": "File", + " \"popup\": {\n"
"popup": { + " \"menuitem\": [\n"
"menuitem": [ + " { \"value\": \"New\", \"onclick\": \"CreateNewDoc()\" },\n"
{ "value": "New", "onclick": "CreateNewDoc()" }, + " { \"value\": \"Open\", \"onclick\": \"OpenDoc()\" },\n"
{ "value": "Open", "onclick": "OpenDoc()" }, + " { \"value\": \"Close\", \"onclick\": \"CloseDoc()\" }\n"
{ "value": "Close", "onclick": "CloseDoc()" } + " ]\n"
] + " }\n"
} + " }\n"
} + "}";
}""";
//@formatter:on //@formatter:on
EjsonLocal.test(base, base, -1); EjsonLocal.test(base, base, -1);
} }
@ -105,35 +101,34 @@ public class EjsonTestAll {
@Test @Test
public void testGeneric3() { public void testGeneric3() {
//@formatter:off //@formatter:off
final String base = """ final String base = "{\n"
{ + " \"widget\": {\n"
"widget": { + " \"debug\": \"on\",\n"
"debug": "on", + " \"window\": {\n"
"window": { + " \"title\": \"Sample Konfabulator Widget\",\n"
"title": "Sample Konfabulator Widget", + " \"name\": \"main_window\",\n"
"name": "main_window", + " \"width\": 500,\n"
"width": 500, + " \"height\": 500\n"
"height": 500 + " },\n"
}, + " \"image\": {\n"
"image": { + " \"src\": \"Images/Sun.png\",\n"
"src": "Images/Sun.png", + " \"name\": \"sun1\",\n"
"name": "sun1", + " \"hOffset\": 250,\n"
"hOffset": 250, + " \"vOffset\": 250,\n"
"vOffset": 250, + " \"alignment\": \"center\"\n"
"alignment": "center" + " },\n"
}, + " \"text\": {\n"
"text": { + " \"data\": \"Click Here\",\n"
"data": "Click Here", + " \"size\": 36,\n"
"size": 36, + " \"style\": \"bold\",\n"
"style": "bold", + " \"name\": \"text1\",\n"
"name": "text1", + " \"hOffset\": 250,\n"
"hOffset": 250, + " \"vOffset\": 100,\n"
"vOffset": 100, + " \"alignment\": \"center\",\n"
"alignment": "center", + " \"onMouseUp\": \"sun1.opacity = (sun1.opacity / 100) * 90;\"\n"
"onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;" + " }\n"
} + " }\n"
} + "}";
}""";
//@formatter:on //@formatter:on
EjsonLocal.test(base, base, -1); EjsonLocal.test(base, base, -1);
} }
@ -141,98 +136,97 @@ public class EjsonTestAll {
@Test @Test
public void testGeneric4() { public void testGeneric4() {
//@formatter:off //@formatter:off
final String base = """ final String base = "{\n"
{ + " \"web-app\": {\n"
"web-app": { + " \"servlet\": [\n"
"servlet": [ + " {\n"
{ + " \"servlet-name\": \"cofaxCDS\",\n"
"servlet-name": "cofaxCDS", + " \"servlet-class\": \"org.cofax.cds.CDSServlet\",\n"
"servlet-class": "org.cofax.cds.CDSServlet", + " \"init-param\": {\n"
"init-param": { + " \"configGlossary:installationAt\": \"Philadelphia, PA\",\n"
"configGlossary:installationAt": "Philadelphia, PA", + " \"configGlossary:adminEmail\": \"ksm@pobox.com\",\n"
"configGlossary:adminEmail": "ksm@pobox.com", + " \"configGlossary:poweredBy\": \"Cofax\",\n"
"configGlossary:poweredBy": "Cofax", + " \"configGlossary:poweredByIcon\": \"/images/cofax.gif\",\n"
"configGlossary:poweredByIcon": "/images/cofax.gif", + " \"configGlossary:staticPath\": \"/content/static\",\n"
"configGlossary:staticPath": "/content/static", + " \"templateProcessorClass\": \"org.cofax.WysiwygTemplate\",\n"
"templateProcessorClass": "org.cofax.WysiwygTemplate", + " \"templateLoaderClass\": \"org.cofax.FilesTemplateLoader\",\n"
"templateLoaderClass": "org.cofax.FilesTemplateLoader", + " \"templatePath\": \"templates\",\n"
"templatePath": "templates", + " \"templateOverridePath\": \"\",\n"
"templateOverridePath": "", + " \"defaultListTemplate\": \"listTemplate.htm\",\n"
"defaultListTemplate": "listTemplate.htm", + " \"defaultFileTemplate\": \"articleTemplate.htm\",\n"
"defaultFileTemplate": "articleTemplate.htm", + " \"useJSP\": false,\n"
"useJSP": false, + " \"jspListTemplate\": \"listTemplate.jsp\",\n"
"jspListTemplate": "listTemplate.jsp", + " \"jspFileTemplate\": \"articleTemplate.jsp\",\n"
"jspFileTemplate": "articleTemplate.jsp", + " \"cachePackageTagsTrack\": 200,\n"
"cachePackageTagsTrack": 200, + " \"cachePackageTagsStore\": 200,\n"
"cachePackageTagsStore": 200, + " \"cachePackageTagsRefresh\": 60,\n"
"cachePackageTagsRefresh": 60, + " \"cacheTemplatesTrack\": 100,\n"
"cacheTemplatesTrack": 100, + " \"cacheTemplatesStore\": 50,\n"
"cacheTemplatesStore": 50, + " \"cacheTemplatesRefresh\": 15,\n"
"cacheTemplatesRefresh": 15, + " \"cachePagesTrack\": 200,\n"
"cachePagesTrack": 200, + " \"cachePagesStore\": 100,\n"
"cachePagesStore": 100, + " \"cachePagesRefresh\": 10,\n"
"cachePagesRefresh": 10, + " \"cachePagesDirtyRead\": 10,\n"
"cachePagesDirtyRead": 10, + " \"searchEngineListTemplate\": \"forSearchEnginesList.htm\",\n"
"searchEngineListTemplate": "forSearchEnginesList.htm", + " \"searchEngineFileTemplate\": \"forSearchEngines.htm\",\n"
"searchEngineFileTemplate": "forSearchEngines.htm", + " \"searchEngineRobotsDb\": \"WEB-INF/robots.db\",\n"
"searchEngineRobotsDb": "WEB-INF/robots.db", + " \"useDataStore\": true,\n"
"useDataStore": true, + " \"dataStoreClass\": \"org.cofax.SqlDataStore\",\n"
"dataStoreClass": "org.cofax.SqlDataStore", + " \"redirectionClass\": \"org.cofax.SqlRedirection\",\n"
"redirectionClass": "org.cofax.SqlRedirection", + " \"dataStoreName\": \"cofax\",\n"
"dataStoreName": "cofax", + " \"dataStoreDriver\": \"com.microsoft.jdbc.sqlserver.SQLServerDriver\",\n"
"dataStoreDriver": "com.microsoft.jdbc.sqlserver.SQLServerDriver", + " \"dataStoreUrl\": \"jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon\",\n"
"dataStoreUrl": "jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon", + " \"dataStoreUser\": \"sa\",\n"
"dataStoreUser": "sa", + " \"dataStorePassword\": \"dataStoreTestQuery\",\n"
"dataStorePassword": "dataStoreTestQuery", + " \"dataStoreTestQuery\": \"SET NOCOUNT ON;select test='test';\",\n"
"dataStoreTestQuery": "SET NOCOUNT ON;select test='test';", + " \"dataStoreLogFile\": \"/usr/local/tomcat/logs/datastore.log\",\n"
"dataStoreLogFile": "/usr/local/tomcat/logs/datastore.log", + " \"dataStoreInitConns\": 10,\n"
"dataStoreInitConns": 10, + " \"dataStoreMaxConns\": 100,\n"
"dataStoreMaxConns": 100, + " \"dataStoreConnUsageLimit\": 100,\n"
"dataStoreConnUsageLimit": 100, + " \"dataStoreLogLevel\": \"debug\",\n"
"dataStoreLogLevel": "debug", + " \"maxUrlLength\": 500\n"
"maxUrlLength": 500 + " }\n"
} + " },\n"
}, + " {\n"
{ + " \"servlet-name\": \"cofaxEmail\",\n"
"servlet-name": "cofaxEmail", + " \"servlet-class\": \"org.cofax.cds.EmailServlet\",\n"
"servlet-class": "org.cofax.cds.EmailServlet", + " \"init-param\": { \"mailHost\": \"mail1\", \"mailHostOverride\": \"mail2\" }\n"
"init-param": { "mailHost": "mail1", "mailHostOverride": "mail2" } + " },\n"
}, + " {\n"
{ + " \"servlet-name\": \"cofaxAdmin\",\n"
"servlet-name": "cofaxAdmin", + " \"servlet-class\": \"org.cofax.cds.AdminServlet\"\n"
"servlet-class": "org.cofax.cds.AdminServlet" + " },\n"
}, + " { \"servlet-name\": \"fileServlet\", \"servlet-class\": \"org.cofax.cds.FileServlet\" },\n"
{ "servlet-name": "fileServlet", "servlet-class": "org.cofax.cds.FileServlet" }, + " {\n"
{ + " \"servlet-name\": \"cofaxTools\",\n"
"servlet-name": "cofaxTools", + " \"servlet-class\": \"org.cofax.cms.CofaxToolsServlet\",\n"
"servlet-class": "org.cofax.cms.CofaxToolsServlet", + " \"init-param\": {\n"
"init-param": { + " \"templatePath\": \"toolstemplates/\",\n"
"templatePath": "toolstemplates/", + " \"log\": 1,\n"
"log": 1, + " \"logLocation\": \"/usr/local/tomcat/logs/CofaxTools.log\",\n"
"logLocation": "/usr/local/tomcat/logs/CofaxTools.log", + " \"logMaxSize\": \"\",\n"
"logMaxSize": "", + " \"dataLog\": 1,\n"
"dataLog": 1, + " \"dataLogLocation\": \"/usr/local/tomcat/logs/dataLog.log\",\n"
"dataLogLocation": "/usr/local/tomcat/logs/dataLog.log", + " \"dataLogMaxSize\": \"\",\n"
"dataLogMaxSize": "", + " \"removePageCache\": \"/content/admin/remove?cache=pages&id=\",\n"
"removePageCache": "/content/admin/remove?cache=pages&id=", + " \"removeTemplateCache\": \"/content/admin/remove?cache=templates&id=\",\n"
"removeTemplateCache": "/content/admin/remove?cache=templates&id=", + " \"fileTransferFolder\": \"/usr/local/tomcat/webapps/content/fileTransferFolder\",\n"
"fileTransferFolder": "/usr/local/tomcat/webapps/content/fileTransferFolder", + " \"lookInContext\": 1,\n"
"lookInContext": 1, + " \"adminGroupID\": 4,\n"
"adminGroupID": 4, + " \"betaServer\": true\n"
"betaServer": true + " }\n"
} + " }\n"
} + " ],\n"
], + " \"servlet-mapping\": {\n"
"servlet-mapping": { + " \"cofaxCDS\": \"/\",\n"
"cofaxCDS": "/", + " \"cofaxEmail\": \"/cofaxutil/aemail/*\",\n"
"cofaxEmail": "/cofaxutil/aemail/*", + " \"cofaxAdmin\": \"/admin/*\",\n"
"cofaxAdmin": "/admin/*", + " \"fileServlet\": \"/static/*\",\n"
"fileServlet": "/static/*", + " \"cofaxTools\": \"/tools/*\"\n"
"cofaxTools": "/tools/*" + " },\n"
}, + " \"taglib\": { \"taglib-uri\": \"cofax.tld\", \"taglib-location\": \"/WEB-INF/tlds/cofax.tld\" }\n"
"taglib": { "taglib-uri": "cofax.tld", "taglib-location": "/WEB-INF/tlds/cofax.tld" } + " }\n"
} + "}";
}""";
//@formatter:on //@formatter:on
EjsonLocal.test(base, base, -1); EjsonLocal.test(base, base, -1);
} }
@ -240,36 +234,35 @@ public class EjsonTestAll {
@Test @Test
public void testGeneric5() { public void testGeneric5() {
//@formatter:off //@formatter:off
final String base = """ final String base = "{\n"
{ + " \"menu\": {\n"
"menu": { + " \"header\": \"SVG Viewer\",\n"
"header": "SVG Viewer", + " \"items\": [\n"
"items": [ + " { \"id\": \"Open\" },\n"
{ "id": "Open" }, + " { \"id\": \"OpenNew\", \"label\": \"Open New\" },\n"
{ "id": "OpenNew", "label": "Open New" }, + " null,\n"
null, + " { \"id\": \"ZoomIn\", \"label\": \"Zoom In\" },\n"
{ "id": "ZoomIn", "label": "Zoom In" }, + " { \"id\": \"ZoomOut\", \"label\": \"Zoom Out\" },\n"
{ "id": "ZoomOut", "label": "Zoom Out" }, + " { \"id\": \"OriginalView\", \"label\": \"Original View\" },\n"
{ "id": "OriginalView", "label": "Original View" }, + " null,\n"
null, + " { \"id\": \"Quality\" },\n"
{ "id": "Quality" }, + " { \"id\": \"Pause\" },\n"
{ "id": "Pause" }, + " { \"id\": \"Mute\" },\n"
{ "id": "Mute" }, + " null,\n"
null, + " { \"id\": \"Find\", \"label\": \"Find...\" },\n"
{ "id": "Find", "label": "Find..." }, + " { \"id\": \"FindAgain\", \"label\": \"Find Again\" },\n"
{ "id": "FindAgain", "label": "Find Again" }, + " { \"id\": \"Copy\" },\n"
{ "id": "Copy" }, + " { \"id\": \"CopyAgain\", \"label\": \"Copy Again\" },\n"
{ "id": "CopyAgain", "label": "Copy Again" }, + " { \"id\": \"CopySVG\", \"label\": \"Copy SVG\" },\n"
{ "id": "CopySVG", "label": "Copy SVG" }, + " { \"id\": \"ViewSVG\", \"label\": \"View SVG\" },\n"
{ "id": "ViewSVG", "label": "View SVG" }, + " { \"id\": \"ViewSource\", \"label\": \"View Source\" },\n"
{ "id": "ViewSource", "label": "View Source" }, + " { \"id\": \"SaveAs\", \"label\": \"Save As\" },\n"
{ "id": "SaveAs", "label": "Save As" }, + " null,\n"
null, + " { \"id\": \"Help\" },\n"
{ "id": "Help" }, + " { \"id\": \"About\", \"label\": \"About Adobe CVG Viewer...\" }\n"
{ "id": "About", "label": "About Adobe CVG Viewer..." } + " ]\n"
] + " }\n"
} + "}";
}""";
//@formatter:on //@formatter:on
EjsonLocal.test(base, base, -1); EjsonLocal.test(base, base, -1);
} }
@ -278,34 +271,32 @@ public class EjsonTestAll {
public void testIndentedList() { public void testIndentedList() {
//@formatter:off //@formatter:off
EjsonLocal.test(refOutputAll, EjsonLocal.test(refOutputAll,
""" "{\n"
{ + " menu: {\n"
menu: { + " id: \"file\",\n"
id: "file", + " value: \"File\",\n"
value: "File", + " popup: {\n"
popup: { + " menuitem: [\n"
menuitem: [ + " {\n"
{ + " value: \"Close\",\n"
value: "Close", + " onclick: \"CloseDoc()\"\n"
onclick: "CloseDoc()" + " },\n"
}, + " {\n"
{ + " value: \"New\",\n"
value: "New", + " onclick: \"CreateNewDoc()\"\n"
onclick: "CreateNewDoc()" + " },\n"
}, + " {\n"
{ + " value: \"Open\",\n"
value: "Open", + " onclick: \"OpenDoc()\"\n"
onclick: "OpenDoc()" + " },\n"
}, + " {\n"
{ + " value: \"Close\",\n"
value: "Close", + " onclick: \"CloseDoc()\"\n"
onclick: "CloseDoc()" + " }\n"
} + " ]\n"
] + " }\n"
} + " }\n"
} + "}\n",
}
""",
-1); -1);
//@formatter:on //@formatter:on
} }
@ -314,32 +305,30 @@ public class EjsonTestAll {
public void testIndentedListWithNoBasicObject() { public void testIndentedListWithNoBasicObject() {
//@formatter:off //@formatter:off
EjsonLocal.test(refOutputAll, EjsonLocal.test(refOutputAll,
""" "menu: {\n"
menu: { + " id: \"file\",\n"
id: "file", + " value: \"File\",\n"
value: "File", + " popup: {\n"
popup: { + " menuitem: [\n"
menuitem: [ + " {\n"
{ + " value: \"Close\",\n"
value: "Close", + " onclick: \"CloseDoc()\"\n"
onclick: "CloseDoc()" + " },\n"
}, + " {\n"
{ + " value: \"New\",\n"
value: "New", + " onclick: \"CreateNewDoc()\"\n"
onclick: "CreateNewDoc()" + " },\n"
}, + " {\n"
{ + " value: \"Open\",\n"
value: "Open", + " onclick: \"OpenDoc()\"\n"
onclick: "OpenDoc()" + " },\n"
}, + " {\n"
{ + " value: \"Close\",\n"
value: "Close", + " onclick: \"CloseDoc()\"\n"
onclick: "CloseDoc()" + " }\n"
} + " ]\n"
] + " }\n"
} + "}\n",
}
""",
-1); -1);
//@formatter:on //@formatter:on
} }

View File

@ -9,7 +9,7 @@ import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Order; import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import test.atriasoft.ejson.internal.Log; import sample.atriasoft.ewol.validationWidget.Log;
public class EjsonTestBoolean { public class EjsonTestBoolean {
private static String refOutputBoolean1 = "{\n\t\"tmpElement\": true\n}"; private static String refOutputBoolean1 = "{\n\t\"tmpElement\": true\n}";

View File

@ -9,7 +9,7 @@ import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Order; import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import test.atriasoft.ejson.internal.Log; import sample.atriasoft.ewol.validationWidget.Log;
public class EjsonTestNull { public class EjsonTestNull {
private static final String REF_OUTPUT_NULL = "{\n\t\"tmpElement\": null\n}"; private static final String REF_OUTPUT_NULL = "{\n\t\"tmpElement\": null\n}";

View File

@ -9,7 +9,7 @@ import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Order; import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import test.atriasoft.ejson.internal.Log; import sample.atriasoft.ewol.validationWidget.Log;
public class EjsonTestNumber { public class EjsonTestNumber {
private static final String REF_OUTPUT_NUMBER = "{\n\t\"tmpElement\": 956256\n}"; private static final String REF_OUTPUT_NUMBER = "{\n\t\"tmpElement\": 956256\n}";