This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 96c74c825e Fixed: Fix Partymgr Groovy tests (OFBIZ-12998)
96c74c825e is described below

commit 96c74c825edc1fe2ad7869ecc7d8f75b58d3b112
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Fri Apr 5 20:35:34 2024 +0200

    Fixed: Fix Partymgr Groovy tests (OFBIZ-12998)
    
    Hi Gil, you just missed to look into the stdio content of the BB 
testintegration
    step (a successful build is misleading)
    https://ci2.apache.org/#/builders/46/builds/785
    
    2024-04-05 14:31:59,044 |main |ModelTestSuite |E| Unable to load test suite 
class :
    org.apache.ofbiz.party.party.test.PartyStatusChangeTests
    java.lang.ClassNotFoundException:
    org.apache.ofbiz.party.party.test.PartyStatusChangeTests
    
    2024-04-05 14:31:58,989 |main |ModelTestSuite |E| Unable to load test suite 
class :
    org.apache.ofbiz.party.party.test.PartyTests
    java.lang.ClassNotFoundException:
    org.apache.ofbiz.party.party.test.PartyTests
    
    2024-04-05 14:31:59,026 |main |ModelTestSuite |E| Unable to load test suite 
class :
    org.apache.ofbiz.party.party.test.ContactMechWorkerTests
    java.lang.ClassNotFoundException:
    org.apache.ofbiz.party.party.test.ContactMechWorkerTests
    
    2024-04-05 14:31:59,027 |main |ModelTestSuite |E| Unable to load test suite 
class :
    org.apache.ofbiz.party.party.test.PartyContactMechTests
    java.lang.ClassNotFoundException:
    org.apache.ofbiz.party.party.test.PartyContactMechTests
    
    It's trivial fixes, just add .test to the packages names
    
    Thanks: Gil for the initial work
---
 .../party/party/test/ContactMechWorkerTests.groovy |   2 +-
 .../party/party/test/PartyContactMechTests.groovy  |   3 +-
 .../party/party/test/PartyStatusChangeTests.groovy |   2 +-
 .../ofbiz/party/party/test/PartyTests.groovy       |   2 +-
 .../webapp/common-theme/js/package-lock.json       | 115 +--------------------
 5 files changed, 9 insertions(+), 115 deletions(-)

diff --git 
a/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/ContactMechWorkerTests.groovy
 
b/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/ContactMechWorkerTests.groovy
index 45a1e4575b..6df1a6f853 100644
--- 
a/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/ContactMechWorkerTests.groovy
+++ 
b/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/ContactMechWorkerTests.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  
*******************************************************************************/
-package org.apache.ofbiz.party.party
+package org.apache.ofbiz.party.party.test
 
 import org.apache.ofbiz.base.util.UtilDateTime
 import org.apache.ofbiz.party.contact.ContactMechWorker
diff --git 
a/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyContactMechTests.groovy
 
b/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyContactMechTests.groovy
index b373200e0b..4e854cdf12 100644
--- 
a/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyContactMechTests.groovy
+++ 
b/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyContactMechTests.groovy
@@ -16,9 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.ofbiz.party.party
+package org.apache.ofbiz.party.party.test
 
 import org.apache.ofbiz.entity.GenericValue
+import org.apache.ofbiz.party.party.PartyWorker
 import org.apache.ofbiz.service.ModelService
 import org.apache.ofbiz.service.ServiceUtil
 import org.apache.ofbiz.service.testtools.OFBizTestCase
diff --git 
a/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyStatusChangeTests.groovy
 
b/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyStatusChangeTests.groovy
index 75c6bb39a2..effdcc4863 100644
--- 
a/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyStatusChangeTests.groovy
+++ 
b/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyStatusChangeTests.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.ofbiz.party.party
+package org.apache.ofbiz.party.party.test
 
 import org.apache.ofbiz.base.util.UtilDateTime
 import org.apache.ofbiz.entity.GenericValue
diff --git 
a/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyTests.groovy
 
b/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyTests.groovy
index 4611f7b217..730fecc8c1 100644
--- 
a/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyTests.groovy
+++ 
b/applications/party/src/main/groovy/org/apache/ofbiz/party/party/test/PartyTests.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.ofbiz.party.party
+package org.apache.ofbiz.party.party.test
 
 import org.apache.ofbiz.entity.GenericValue
 import org.apache.ofbiz.service.ServiceUtil
diff --git a/themes/common-theme/webapp/common-theme/js/package-lock.json 
b/themes/common-theme/webapp/common-theme/js/package-lock.json
index ae47e6647f..2ccddbf431 100644
--- a/themes/common-theme/webapp/common-theme/js/package-lock.json
+++ b/themes/common-theme/webapp/common-theme/js/package-lock.json
@@ -1,111 +1,7 @@
 {
     "name": "ofbiz-common-theme",
-    "lockfileVersion": 2,
     "requires": true,
-    "packages": {
-        "": {
-            "name": "ofbiz-common-theme",
-            "license": "Apache-2.0",
-            "dependencies": {
-                "@chinchilla-software/jquery-ui-timepicker-addon": "^1.6.3",
-                "dompurify": "^3.0.11",
-                "featherlight": "^1.7.14",
-                "flot": "^4.2.6",
-                "inputmask": "^5.0.8",
-                "jquery": "^3.7.1",
-                "jquery-migrate": "^3.4.1",
-                "jquery-ui-dist": "^1.13.2",
-                "jquery-validation": "^1.20.0",
-                "jquery.browser": "^0.1.0",
-                "trumbowyg": "^2.28.0",
-                "uglify-js": "3.17.4"
-            }
-        },
-        "node_modules/@chinchilla-software/jquery-ui-timepicker-addon": {
-            "version": "1.6.3",
-            "resolved": 
"https://registry.npmjs.org/@chinchilla-software/jquery-ui-timepicker-addon/-/jquery-ui-timepicker-addon-1.6.3.tgz";,
-            "integrity": 
"sha512-P2rOR4MWcBMTbkaA0AE77COj8BTBIeNp9trtUKbvWFAoBoWHpwGhN8WIEjST7h/1nVQH+4CSpa4i9XoXZYvWXg==",
-            "engines": {
-                "node": ">= 0.8.0"
-            }
-        },
-        "node_modules/dompurify": {
-            "version": "3.0.11",
-            "resolved": 
"https://registry.npmjs.org/dompurify/-/dompurify-3.0.11.tgz";,
-            "integrity": 
"sha512-Fan4uMuyB26gFV3ovPoEoQbxRRPfTu3CvImyZnhGq5fsIEO+gEFLp45ISFt+kQBWsK5ulDdT0oV28jS1UrwQLg=="
-        },
-        "node_modules/featherlight": {
-            "version": "1.7.14",
-            "resolved": 
"https://registry.npmjs.org/featherlight/-/featherlight-1.7.14.tgz";,
-            "integrity": 
"sha512-4R0Vk0pTN5IPCuMABPtXJ6hgGgoK1qwbxGB4Nf06gXovw/i+r3s/f94ksZYjsW3c2oMEAS9A8exdlNaX9YSSRQ=="
-        },
-        "node_modules/flot": {
-            "version": "4.2.6",
-            "resolved": "https://registry.npmjs.org/flot/-/flot-4.2.6.tgz";,
-            "integrity": 
"sha512-Iz4HCet1ZBQnjGwECz4jseD1zMnh7m2XJIMI6A62l8h2SeceLYOEmYGNQto1XhkSM9fUmqzyKhWwJ+RolWLydg=="
-        },
-        "node_modules/inputmask": {
-            "version": "5.0.8",
-            "resolved": 
"https://registry.npmjs.org/inputmask/-/inputmask-5.0.8.tgz";,
-            "integrity": 
"sha512-1WcbyudPTXP1B28ozWWyFa6QRIUG4KiLoyR6LFHlpT4OfTzRqFfWgHFadNvRuMN1S9XNVz9CdNvCGjJi+uAMqQ=="
-        },
-        "node_modules/jquery": {
-            "version": "3.7.1",
-            "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz";,
-            "integrity": 
"sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="
-        },
-        "node_modules/jquery-migrate": {
-            "version": "3.4.1",
-            "resolved": 
"https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-3.4.1.tgz";,
-            "integrity": 
"sha512-6RaV23lLAYccu8MtLfy2sIxOvx+bulnWHm/pvffAi7KOzPk1sN9IYglpkl1ZNCj1FSgSNDPS2fSZ1hWsXc200Q==",
-            "peerDependencies": {
-                "jquery": ">=3 <4"
-            }
-        },
-        "node_modules/jquery-ui-dist": {
-            "version": "1.13.2",
-            "resolved": 
"https://registry.npmjs.org/jquery-ui-dist/-/jquery-ui-dist-1.13.2.tgz";,
-            "integrity": 
"sha512-oVDRd1NLtTbBwpRKAYdIRgpWVDzeBhfy7Gu0RmY6JEaZtmBq6kDn1pm5SgDiAotrnDS+RoTRXO6xvcNTxA9tOA==",
-            "dependencies": {
-                "jquery": ">=1.8.0 <4.0.0"
-            }
-        },
-        "node_modules/jquery-validation": {
-            "version": "1.20.0",
-            "resolved": 
"https://registry.npmjs.org/jquery-validation/-/jquery-validation-1.20.0.tgz";,
-            "integrity": 
"sha512-c8tg4ltIIP6L7l0bZ79sRzOJYquyjS48kQZ6iv8MJ2r0OYztxtkWYKTReZyU2/zVFYiINB29i0Z/IRNNuJQN1g==",
-            "peerDependencies": {
-                "jquery": "^1.7 || ^2.0 || ^3.1"
-            }
-        },
-        "node_modules/jquery.browser": {
-            "version": "0.1.0",
-            "resolved": 
"https://registry.npmjs.org/jquery.browser/-/jquery.browser-0.1.0.tgz";,
-            "integrity": 
"sha512-5GjtLzzEBzxs/nwSVpCbSdk0acssfKsP7Upp43zmdHVV1Vb6E9VayyqPAQlfLrTeZL3YSWocCbkOvKdAc2CN4g==",
-            "engines": {
-                "node": ">= 0.4.0"
-            }
-        },
-        "node_modules/trumbowyg": {
-            "version": "2.28.0",
-            "resolved": 
"https://registry.npmjs.org/trumbowyg/-/trumbowyg-2.28.0.tgz";,
-            "integrity": 
"sha512-K4KX6psV+hUt03Y3RNdQM5Y+JLfZOUliNnCz5lm12Llfhwvx0P0geBsM0w9ZHeX5g8q7d2MC5X7sPOwGv0Q7Kw==",
-            "peerDependencies": {
-                "jquery": ">=1.8"
-            }
-        },
-        "node_modules/uglify-js": {
-            "version": "3.17.4",
-            "resolved": 
"https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz";,
-            "integrity": 
"sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==",
-            "bin": {
-                "uglifyjs": "bin/uglifyjs"
-            },
-            "engines": {
-                "node": ">=0.8.0"
-            }
-        }
-    },
+    "lockfileVersion": 1,
     "dependencies": {
         "@chinchilla-software/jquery-ui-timepicker-addon": {
             "version": "1.6.3",
@@ -140,8 +36,7 @@
         "jquery-migrate": {
             "version": "3.4.1",
             "resolved": 
"https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-3.4.1.tgz";,
-            "integrity": 
"sha512-6RaV23lLAYccu8MtLfy2sIxOvx+bulnWHm/pvffAi7KOzPk1sN9IYglpkl1ZNCj1FSgSNDPS2fSZ1hWsXc200Q==",
-            "requires": {}
+            "integrity": 
"sha512-6RaV23lLAYccu8MtLfy2sIxOvx+bulnWHm/pvffAi7KOzPk1sN9IYglpkl1ZNCj1FSgSNDPS2fSZ1hWsXc200Q=="
         },
         "jquery-ui-dist": {
             "version": "1.13.2",
@@ -154,8 +49,7 @@
         "jquery-validation": {
             "version": "1.20.0",
             "resolved": 
"https://registry.npmjs.org/jquery-validation/-/jquery-validation-1.20.0.tgz";,
-            "integrity": 
"sha512-c8tg4ltIIP6L7l0bZ79sRzOJYquyjS48kQZ6iv8MJ2r0OYztxtkWYKTReZyU2/zVFYiINB29i0Z/IRNNuJQN1g==",
-            "requires": {}
+            "integrity": 
"sha512-c8tg4ltIIP6L7l0bZ79sRzOJYquyjS48kQZ6iv8MJ2r0OYztxtkWYKTReZyU2/zVFYiINB29i0Z/IRNNuJQN1g=="
         },
         "jquery.browser": {
             "version": "0.1.0",
@@ -165,8 +59,7 @@
         "trumbowyg": {
             "version": "2.28.0",
             "resolved": 
"https://registry.npmjs.org/trumbowyg/-/trumbowyg-2.28.0.tgz";,
-            "integrity": 
"sha512-K4KX6psV+hUt03Y3RNdQM5Y+JLfZOUliNnCz5lm12Llfhwvx0P0geBsM0w9ZHeX5g8q7d2MC5X7sPOwGv0Q7Kw==",
-            "requires": {}
+            "integrity": 
"sha512-K4KX6psV+hUt03Y3RNdQM5Y+JLfZOUliNnCz5lm12Llfhwvx0P0geBsM0w9ZHeX5g8q7d2MC5X7sPOwGv0Q7Kw=="
         },
         "uglify-js": {
             "version": "3.17.4",

Reply via email to