You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2024/04/05 09:22:25 UTC
(ofbiz-framework) branch trunk updated (fc8fcfec43 -> cb1d2b9400)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
from fc8fcfec43 Fixed: Broken draggable/resizable modals in Helveticus (OFBIZ-12992)
new f351dd520f Improved: Fix Accounting Groovy tests (OFBIZ-12995)
new cb1d2b9400 Improved: Fix Accounting Groovy tests (OFBIZ-12995)
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
...TransTestsPurchase.groovy => AutoAcctgTransPurchaseTests.groovy} | 6 +++---
...oAcctgTransTestsSales.groovy => AutoAcctgTransSalesTests.groovy} | 6 +++---
applications/accounting/testdef/accountingtests.xml | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
rename applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/{AutoAcctgTransTestsPurchase.groovy => AutoAcctgTransPurchaseTests.groovy} (97%)
rename applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/{AutoAcctgTransTestsSales.groovy => AutoAcctgTransSalesTests.groovy} (98%)
(ofbiz-framework) 02/02: Improved: Fix Accounting Groovy tests (OFBIZ-12995)
Posted by jl...@apache.org.
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
commit cb1d2b94002fc3aac9afbbb9a194a06bd7258a55
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Fri Apr 5 11:01:58 2024 +0200
Improved: Fix Accounting Groovy tests (OFBIZ-12995)
Fixes 2 priority 2 Codenarc issues
---
.../ofbiz/accounting/accounting/AutoAcctgTransPurchaseTests.groovy | 2 +-
.../apache/ofbiz/accounting/accounting/AutoAcctgTransSalesTests.groovy | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransPurchaseTests.groovy b/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransPurchaseTests.groovy
index 1581682d0a..8d34dc1632 100644
--- a/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransPurchaseTests.groovy
+++ b/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransPurchaseTests.groovy
@@ -178,7 +178,7 @@ class AutoAcctgTransPurchaseTests extends OFBizTestCase {
}
}
- void checkEntriesBalance(List<GenericValue> acctgTransEntryList) {
+ private void checkEntriesBalance(List<GenericValue> acctgTransEntryList) {
BigDecimal debitTotal = new BigDecimal('0')
BigDecimal creditTotal = new BigDecimal('0')
diff --git a/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransSalesTests.groovy b/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransSalesTests.groovy
index 0411880a1e..130f2b4b22 100644
--- a/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransSalesTests.groovy
+++ b/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransSalesTests.groovy
@@ -225,7 +225,7 @@ class AutoAcctgTransSalesTests extends OFBizTestCase {
}
}
- void checkEntriesBalance(List<GenericValue> acctgTransEntryList) {
+ private void checkEntriesBalance(List<GenericValue> acctgTransEntryList) {
BigDecimal debitTotal = new BigDecimal('0')
BigDecimal creditTotal = new BigDecimal('0')
(ofbiz-framework) 01/02: Improved: Fix Accounting Groovy tests (OFBIZ-12995)
Posted by jl...@apache.org.
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
commit f351dd520fa9aedca550e072268f6037c72238a7
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Fri Apr 5 10:42:06 2024 +0200
Improved: Fix Accounting Groovy tests (OFBIZ-12995)
Renames AutoAcctgTransTestsPurchase.groovy and AutoAcctgTransTestsSales.groovy
to AutoAcctgTransPurchaseTests.groovy and AutoAcctgTransSalesTests.groovy
to follow the conventional notations that ease research and more
---
...tgTransTestsPurchase.groovy => AutoAcctgTransPurchaseTests.groovy} | 4 ++--
...utoAcctgTransTestsSales.groovy => AutoAcctgTransSalesTests.groovy} | 4 ++--
applications/accounting/testdef/accountingtests.xml | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransTestsPurchase.groovy b/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransPurchaseTests.groovy
similarity index 98%
rename from applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransTestsPurchase.groovy
rename to applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransPurchaseTests.groovy
index 593c4cc1d4..1581682d0a 100644
--- a/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransTestsPurchase.groovy
+++ b/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransPurchaseTests.groovy
@@ -22,9 +22,9 @@ import org.apache.ofbiz.entity.GenericValue
import org.apache.ofbiz.service.ServiceUtil
import org.apache.ofbiz.service.testtools.OFBizTestCase
-class AutoAcctgTransTestsPurchase extends OFBizTestCase {
+class AutoAcctgTransPurchaseTests extends OFBizTestCase {
- AutoAcctgTransTestsPurchase(String name) {
+ AutoAcctgTransPurchaseTests(String name) {
super(name)
}
diff --git a/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransTestsSales.groovy b/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransSalesTests.groovy
similarity index 99%
rename from applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransTestsSales.groovy
rename to applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransSalesTests.groovy
index 7e14b614bc..0411880a1e 100644
--- a/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransTestsSales.groovy
+++ b/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/accounting/AutoAcctgTransSalesTests.groovy
@@ -23,9 +23,9 @@ import org.apache.ofbiz.entity.util.EntityUtil
import org.apache.ofbiz.service.ServiceUtil
import org.apache.ofbiz.service.testtools.OFBizTestCase
-class AutoAcctgTransTestsSales extends OFBizTestCase {
+class AutoAcctgTransSalesTests extends OFBizTestCase {
- AutoAcctgTransTestsSales(String name) {
+ AutoAcctgTransSalesTests(String name) {
super(name)
}
diff --git a/applications/accounting/testdef/accountingtests.xml b/applications/accounting/testdef/accountingtests.xml
index cf803862ad..9b359a6d1a 100644
--- a/applications/accounting/testdef/accountingtests.xml
+++ b/applications/accounting/testdef/accountingtests.xml
@@ -31,10 +31,10 @@
</test-case>
<test-case case-name="auto-accounting-transaction-tests-sales">
- <junit-test-suite class-name="org.apache.ofbiz.accounting.accounting.AutoAcctgTransTestsSales"/>
+ <junit-test-suite class-name="org.apache.ofbiz.accounting.accounting.AutoAcctgTransSalesTests"/>
</test-case>
<test-case case-name="auto-accounting-transaction-tests-purchase">
- <junit-test-suite class-name="org.apache.ofbiz.accounting.accounting.AutoAcctgTransTestsPurchase"/>
+ <junit-test-suite class-name="org.apache.ofbiz.accounting.accounting.AutoAcctgTransPurchaseTests"/>
</test-case>
<test-case case-name="auto-accounting-admin-tests">
<junit-test-suite class-name="org.apache.ofbiz.accounting.accounting.AutoAcctgAdminTests"/>