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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048373
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2022-01-11 11:402022-01-21 15:13
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in VersionPR22Q2
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

0048373: Provide test matchers for asserting JSON objects

DescriptionIt would be nice to provide some core test matchers for asserting the content of JSON objects and JSON arrays in tests
Steps To Reproduce.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0134230)
hgbot (developer)
2022-01-11 15:48

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/497 [^]
(0134487)
hgbot (developer)
2022-01-21 13:24

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: c2fc6cf83291de6301a560cb8b99376d53088030
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 21-01-2022 11:51:34
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c2fc6cf83291de6301a560cb8b99376d53088030 [^]

fixes ISSUE-48373: Test matchers for asserting JSON objects

---
A src-test/src/org/openbravo/test/matchers/json/HasItems.java
A src-test/src/org/openbravo/test/matchers/json/HasMatchingItems.java
A src-test/src/org/openbravo/test/matchers/json/IsEqualJSONObject.java
A src-test/src/org/openbravo/test/matchers/json/IsMatchingJSONObject.java
A src-test/src/org/openbravo/test/matchers/json/JSONComparator.java
A src-test/src/org/openbravo/test/matchers/json/JSONMatchers.java
A src-test/src/org/openbravo/test/matchers/json/JSONMatchersTest.java
M src-test/src/org/openbravo/test/StandaloneTestSuite.java
---
(0134488)
hgbot (developer)
2022-01-21 13:24

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/497 [^]
(0134490)
hgbot (developer)
2022-01-21 14:42

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 8ae70ddd78421b6e39b87c367f6517ebfb9b2095
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 21-01-2022 14:40:46
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/8ae70ddd78421b6e39b87c367f6517ebfb9b2095 [^]

related to ISSUE-48373: improve API for asserting inner objects

---
M src-test/src/org/openbravo/test/matchers/json/JSONComparator.java
M src-test/src/org/openbravo/test/matchers/json/JSONMatchersTest.java
---
(0134491)
hgbot (developer)
2022-01-21 15:13

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 69d5425d2df00dd6158723e38e2569ed262061a2
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 21-01-2022 15:12:32
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/69d5425d2df00dd6158723e38e2569ed262061a2 [^]

related to ISSUE-48373: skip broken test

Test introduced by 8ae70ddd784 fails, let's @Ignore it till it's fixed.

---
M src-test/src/org/openbravo/test/matchers/json/JSONMatchersTest.java
---

- Issue History
Date Modified Username Field Change
2022-01-11 11:40 caristu New Issue
2022-01-11 11:40 caristu Assigned To => Triage Platform Base
2022-01-11 11:40 caristu Modules => Core
2022-01-11 11:40 caristu Triggers an Emergency Pack => No
2022-01-11 15:46 caristu Assigned To Triage Platform Base => caristu
2022-01-11 15:48 hgbot Note Added: 0134230
2022-01-21 13:24 hgbot Resolution open => fixed
2022-01-21 13:24 hgbot Status new => closed
2022-01-21 13:24 hgbot Fixed in Version => PR22Q2
2022-01-21 13:24 hgbot Note Added: 0134487
2022-01-21 13:24 hgbot Note Added: 0134488
2022-01-21 14:42 hgbot Note Added: 0134490
2022-01-21 15:13 hgbot Note Added: 0134491


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker