Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048994
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2022-04-07 09:222023-10-13 11:58
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in VersionPR23Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048994: Include Push API tests using mockito

DescriptionAs part of the Push API project some tests using mockito where developed. They can not be puhsed until the Mockito testing infrastructure is included in core.
Steps To Reproduce.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047111 closedalostale Openbravo ERP Upgrade jUnit to latest 4.x version 
related to defect 0050876 closedcaristu Modules An event defined about a change in the organization does not create the EDL request to manage the event subscription 
related to defect 0051927 closedcaristu Retail Modules Web POS Order Creation event is not fired for cross store returns 
related to defect 0053411 closedTriage Platform Base Openbravo ERP Some test cases using mockito fails with JDK22 
depends on feature request 0048610 closedTriage Platform Base Openbravo ERP Provide a mocking library for junit tests 
depends on feature request 0048579 closedcaristu Openbravo ERP Push API 
depends on feature request 0049083 closedcaristu Openbravo ERP Push API: support multi-record events 

-  Notes
(0136385)
hgbot (developer)
2022-04-07 09:24

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/556 [^]
(0136394)
hgbot (developer)
2022-04-07 10:25

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.business/-/merge_requests/2 [^]
(0136472)
hgbot (developer)
2022-04-11 17:59

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/24 [^]
(0136473)
hgbot (developer)
2022-04-11 17:59

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.business/-/merge_requests/2 [^]
(0151931)
hgbot (developer)
2023-06-30 10:08

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/556 [^]
(0151932)
hgbot (developer)
2023-06-30 10:08

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 4eed1a6c29e5dfd6eafe9e8f949103691984c98f
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 30-06-2023 10:07:03
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/4eed1a6c29e5dfd6eafe9e8f949103691984c98f [^]

fixes BUG-48994: Include Push API tests using Mockito

---
A src-test/src/org/openbravo/synchronization/event/SynchronizationEventTest.java
M src-test/src/org/openbravo/test/StandaloneTestSuite.java
---
(0151935)
hgbot (developer)
2023-06-30 10:37

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/24 [^]
(0151936)
hgbot (developer)
2023-06-30 10:37

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 3095f5cb798a50953824261dbc118c1598ba902c
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 30-06-2023 08:32:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/3095f5cb798a50953824261dbc118c1598ba902c [^]

related to BUG-48994: Include tests using Mockito

---
A src-test/org/openbravo/api/edl/ApiEventItemProcessorTest.java
A src-test/org/openbravo/api/event/ApiEventEDLRequestCreatorTest.java
A src-test/org/openbravo/api/event/ApiEventRecordExporterTest.java
A src-test/org/openbravo/api/event/ApiEventTriggerTest.java
A src-test/org/openbravo/api/event/ApiSubscriptionResolverTest.java
A src-test/org/openbravo/api/subscription/ApiSubscriptionStoreTest.java
M src-test/org/openbravo/api/StandaloneTestSuite.java
---
(0151941)
hgbot (developer)
2023-06-30 10:37

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: cddf209ae60ddd71c6abe5d24cd29837207b0eaa
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 30-06-2023 08:32:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/cddf209ae60ddd71c6abe5d24cd29837207b0eaa [^]

Related to ISSUE-48994 Refactor Exception in test from API Event Trigger

---
M src-test/org/openbravo/api/event/ApiEventTriggerTest.java
---
(0151942)
hgbot (developer)
2023-06-30 10:37

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 91ab972c26d423c0b1b304aaacb58fcfcf094d2d
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 30-06-2023 10:36:10
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/91ab972c26d423c0b1b304aaacb58fcfcf094d2d [^]

related to BUG-48994: update copyright years

---
M src-test/org/openbravo/api/StandaloneTestSuite.java
M src-test/org/openbravo/api/dal/ApiEventCreationTest.java
M src-test/org/openbravo/api/dal/ApiSubscriptionCreationTest.java
M src-test/org/openbravo/api/edl/ApiEventItemProcessorTest.java
M src-test/org/openbravo/api/event/ApiEventEDLRequestCreatorTest.java
M src-test/org/openbravo/api/event/ApiEventStoreTest.java
M src-test/org/openbravo/api/event/ApiEventTriggerTest.java
M src-test/org/openbravo/api/event/ApiSubscriptionResolverTest.java
M src-test/org/openbravo/api/event/subscription/ApiSubscriptionStoreTest.java
---
(0151943)
hgbot (developer)
2023-06-30 10:37

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 7d2cf09a04014a5d118b54497809e5316d0abee8
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 30-06-2023 10:37:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/7d2cf09a04014a5d118b54497809e5316d0abee8 [^]

related to BUG-48994: Include tests using Mockito

---
A src-test/org/openbravo/api/edl/ApiEventItemProcessorTest.java
A src-test/org/openbravo/api/event/ApiEventEDLRequestCreatorTest.java
A src-test/org/openbravo/api/event/ApiEventRecordExporterTest.java
A src-test/org/openbravo/api/event/ApiEventTriggerTest.java
A src-test/org/openbravo/api/event/ApiSubscriptionResolverTest.java
A src-test/org/openbravo/api/subscription/ApiSubscriptionStoreTest.java
M src-test/org/openbravo/api/StandaloneTestSuite.java
M src-test/org/openbravo/api/dal/ApiEventCreationTest.java
M src-test/org/openbravo/api/dal/ApiSubscriptionCreationTest.java
M src-test/org/openbravo/api/event/ApiEventStoreTest.java
M src-test/org/openbravo/api/event/subscription/ApiSubscriptionStoreTest.java
---
(0152051)
hgbot (developer)
2023-07-03 14:07

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 48cf66a179941148e3ef8eb629eb087885e06938
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 03-07-2023 14:06:09
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/48cf66a179941148e3ef8eb629eb087885e06938 [^]

related to BUG-48994: disable test failing in JDK 22

  Disable tests temporarily because it fails when executing it with JDK
22 with the following error:

  org.mockito.exceptions.base.MockitoException: Mockito cannot mock this
class: interface javax.enterprise.inject.Instance

---
M src-test/src/org/openbravo/synchronization/event/SynchronizationEventTest.java
---
(0152056)
hgbot (developer)
2023-07-03 14:13

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: d8ce7d666a3ade0a6c51910c85d383c67e28ae31
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 03-07-2023 14:12:47
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/d8ce7d666a3ade0a6c51910c85d383c67e28ae31 [^]

related to BUG-48994: add ignoring reason

---
M src-test/src/org/openbravo/synchronization/event/SynchronizationEventTest.java
---

- Issue History
Date Modified Username Field Change
2022-04-07 09:22 caristu New Issue
2022-04-07 09:22 caristu Assigned To => Triage Platform Base
2022-04-07 09:22 caristu Modules => Core
2022-04-07 09:22 caristu Triggers an Emergency Pack => No
2022-04-07 09:23 caristu Assigned To Triage Platform Base => caristu
2022-04-07 09:24 hgbot Note Added: 0136385
2022-04-07 09:30 caristu Relationship added depends on 0048610
2022-04-07 09:52 caristu Status new => acknowledged
2022-04-07 10:25 hgbot Note Added: 0136394
2022-04-07 10:29 caristu Relationship added depends on 0048579
2022-04-11 17:59 hgbot Note Added: 0136472
2022-04-11 17:59 hgbot Note Added: 0136473
2023-03-27 15:42 caristu Relationship added depends on 0049083
2023-03-27 15:43 caristu Relationship added depends on 0047111
2023-03-27 15:44 caristu Relationship added depends on 0050876
2023-03-27 15:44 caristu Relationship added depends on 0051926
2023-03-27 15:44 caristu Relationship deleted depends on 0051926
2023-03-27 15:44 caristu Relationship deleted depends on 0050876
2023-03-27 15:44 caristu Relationship deleted depends on 0047111
2023-03-27 15:44 caristu Relationship added related to 0047111
2023-03-27 15:45 caristu Relationship added related to 0050876
2023-03-27 15:45 caristu Relationship added related to 0051926
2023-03-27 15:45 caristu Relationship deleted related to 0051926
2023-03-27 15:46 caristu Relationship added related to 0051927
2023-06-30 10:08 hgbot Resolution open => fixed
2023-06-30 10:08 hgbot Status acknowledged => closed
2023-06-30 10:08 hgbot Note Added: 0151931
2023-06-30 10:08 hgbot Fixed in Version => PR23Q4
2023-06-30 10:08 hgbot Note Added: 0151932
2023-06-30 10:37 hgbot Note Added: 0151935
2023-06-30 10:37 hgbot Note Added: 0151936
2023-06-30 10:37 hgbot Note Added: 0151941
2023-06-30 10:37 hgbot Note Added: 0151942
2023-06-30 10:37 hgbot Note Added: 0151943
2023-07-03 14:07 hgbot Note Added: 0152051
2023-07-03 14:13 hgbot Note Added: 0152056
2023-10-13 11:58 caristu Relationship added related to 0053411


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker