aotrautils 0.0.366 → 0.0.368
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aotrautils/aotrautils.build.js +12 -8
- aotrautils/package.json +1 -1
aotrautils/aotrautils.build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (08/12/2022-01:00:50)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -733,7 +733,7 @@ aotest.run=function(testName=null,scenarioName=null){
|
|
|
733
733
|
|
|
734
734
|
if(window.aotestAllTestsManager.isEmpty()){
|
|
735
735
|
// TRACE
|
|
736
|
-
console.log("WARN : No registered
|
|
736
|
+
console.log("WARN : No registered javascript tests to run. Aborting.");
|
|
737
737
|
return testsResultsObj;
|
|
738
738
|
}
|
|
739
739
|
|
|
@@ -765,6 +765,8 @@ aotest.run=function(testName=null,scenarioName=null){
|
|
|
765
765
|
if(!isChosenScenarioParamArray) functionParameters=chosenScenarioParam.args;
|
|
766
766
|
else functionParameters=chosenScenarioParam[0];
|
|
767
767
|
|
|
768
|
+
// CAUTIOM : At this point, functionParameters is an associative array (parameterName : parameterValue)
|
|
769
|
+
|
|
768
770
|
let mainInstance=nonull(chosenTestParam.mainInstance,null); // To ensure we have null and not undefined
|
|
769
771
|
|
|
770
772
|
// CAUTION : functionParameters can be null, meaning we want no execution of
|
|
@@ -773,9 +775,9 @@ aotest.run=function(testName=null,scenarioName=null){
|
|
|
773
775
|
var functionParametersPopulated=null; // ...if this array is null, then we don't want to execute the function !!
|
|
774
776
|
if(functionParameters){
|
|
775
777
|
functionParametersPopulated=new Array();
|
|
778
|
+
|
|
776
779
|
// We populate dummies here :
|
|
777
|
-
|
|
778
|
-
var fp=functionParameters[i];
|
|
780
|
+
foreach(functionParameters,(fp)=>{
|
|
779
781
|
if(fp){
|
|
780
782
|
if(fp["dummy"]){
|
|
781
783
|
var dummyName=fp["dummy"];
|
|
@@ -787,7 +789,9 @@ aotest.run=function(testName=null,scenarioName=null){
|
|
|
787
789
|
} else {
|
|
788
790
|
functionParametersPopulated.push(null);
|
|
789
791
|
}
|
|
790
|
-
}
|
|
792
|
+
});
|
|
793
|
+
|
|
794
|
+
|
|
791
795
|
}
|
|
792
796
|
|
|
793
797
|
|
|
@@ -4827,7 +4831,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4827
4831
|
|
|
4828
4832
|
|
|
4829
4833
|
|
|
4830
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (
|
|
4834
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (08/12/2022-01:00:50)»*/
|
|
4831
4835
|
/*-----------------------------------------------------------------------------*/
|
|
4832
4836
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
4833
4837
|
*
|
|
@@ -12948,7 +12952,7 @@ createOritaMicroClient=function(url, port, isNode=false){
|
|
|
12948
12952
|
};
|
|
12949
12953
|
|
|
12950
12954
|
|
|
12951
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
|
12955
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (08/12/2022-01:00:50)»*/
|
|
12952
12956
|
/*-----------------------------------------------------------------------------*/
|
|
12953
12957
|
|
|
12954
12958
|
|
|
@@ -14176,7 +14180,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14176
14180
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14177
14181
|
|
|
14178
14182
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14179
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
|
14183
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (08/12/2022-01:00:50)»*/
|
|
14180
14184
|
/*-----------------------------------------------------------------------------*/
|
|
14181
14185
|
|
|
14182
14186
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.368",
|
|
4
4
|
"main": "aotrautils.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|