Skip to content

Commit

Permalink
Fixed: Fix Partymgr Groovy tests (OFBIZ-12998)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JacquesLeRoux committed Apr 5, 2024
1 parent 7a42ab0 commit 96c74c8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 115 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
115 changes: 4 additions & 111 deletions themes/common-theme/webapp/common-theme/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 96c74c8

Please sign in to comment.