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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048610
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2022-02-16 09:582023-09-07 12:02
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
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

0048610: Provide a mocking library for junit tests

DescriptionIt would be nice to have a mocking framework that we could use in the junit tests. This will help to replace application objects with some behavior difficult to test with simulated objects that mimic the real behavior.
Steps To Reproduce.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0053411 closedTriage Platform Base Some test cases using mockito fails with JDK22 
blocks defect 0048994 closedcaristu Include Push API tests using mockito 
causes defect 0052900 closedTriage Platform Base Byte Buddy library is duplicated in core 

-  Notes
(0135046)
hgbot (developer)
2022-02-16 10:03

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/527 [^]
(0151765)
hgbot (developer)
2023-06-28 16:25

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: c2f740f6b08750523ccb6b23a04d036c9fe1d568
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 28-06-2023 14:18:48
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c2f740f6b08750523ccb6b23a04d036c9fe1d568 [^]

Related to ISSUE-48610 - Mockito Version Upgrade 4.4.0 -> 5.3.1

---
A lib/test/byte-buddy-1.14.4.jar
A lib/test/byte-buddy-agent-1.14.4.jar
A lib/test/mockito-core-5.3.1.jar
A lib/test/objenesis-3.3.jar
M legal/Licensing.txt
M src-test/.classpath.template
R lib/test/mockito-core-4.4.0.jar
R lib/test/mockito-inline-4.4.0.jar
---
(0151766)
hgbot (developer)
2023-06-28 16:25

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: e30e08ad73d11d587ceeec19dc405fa6d23c6658
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 28-06-2023 16:21:28
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/e30e08ad73d11d587ceeec19dc405fa6d23c6658 [^]

Related to ISSUE-48610 Updated Mockito to 5.4.0

---
A lib/test/byte-buddy-1.14.5.jar
A lib/test/byte-buddy-agent-1.14.5.jar
A lib/test/mockito-core-5.4.0.jar
M legal/Licensing.txt
M src-test/.classpath.template
---
(0151767)
hgbot (developer)
2023-06-28 16:25

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 3c11d4e35ab001e231ac18022feeb6e611ec8c98
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 28-06-2023 16:24:52
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/3c11d4e35ab001e231ac18022feeb6e611ec8c98 [^]

Fixes ISSUE-48610: Adds support to create mocks using Mockito

---
A lib/test/byte-buddy-1.14.5.jar
A lib/test/byte-buddy-agent-1.14.5.jar
A lib/test/mockito-core-5.4.0.jar
A lib/test/objenesis-3.3.jar
A src-test/src/org/openbravo/test/base/MockableBaseTest.java
M legal/Licensing.txt
M src-test/.classpath.template
M src-test/src/org/openbravo/test/base/OBBaseTest.java
---
(0151768)
hgbot (developer)
2023-06-28 16:25

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/527 [^]

- Issue History
Date Modified Username Field Change
2022-02-16 09:58 caristu New Issue
2022-02-16 09:58 caristu Assigned To => Triage Platform Base
2022-02-16 09:58 caristu Modules => Core
2022-02-16 09:58 caristu Triggers an Emergency Pack => No
2022-02-16 09:59 caristu Status new => acknowledged
2022-02-16 10:03 hgbot Note Added: 0135046
2022-04-07 09:30 caristu Relationship added blocks 0048994
2022-04-08 13:26 caristu Relationship added blocks 0049014
2022-04-08 13:26 caristu Relationship deleted blocks 0049014
2023-06-28 16:25 hgbot Note Added: 0151765
2023-06-28 16:25 hgbot Note Added: 0151766
2023-06-28 16:25 hgbot Resolution open => fixed
2023-06-28 16:25 hgbot Status acknowledged => closed
2023-06-28 16:25 hgbot Fixed in Version => PR23Q4
2023-06-28 16:25 hgbot Note Added: 0151767
2023-06-28 16:25 hgbot Note Added: 0151768
2023-06-30 14:49 caristu Relationship added causes 0052900
2023-09-07 12:02 caristu Issue cloned 0053411
2023-09-07 12:02 caristu Relationship added related to 0053411


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker