Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0048373 | Openbravo ERP | A. Platform | public | 2022-01-11 11:40 | 2022-05-18 11:48 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR22Q2 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0048373: Provide test matchers for asserting JSON objects |
Description | It would be nice to provide some core test matchers for asserting the content of JSON objects and JSON arrays in tests |
Steps To Reproduce | . |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0049170 | | closed | caristu | Openbravo ERP | matchesObject should not compare array properties with strict equality | related to | defect | 0049226 | | closed | caristu | Openbravo ERP | matchesObject should fail if there are missing properties in actual | related to | defect | 0048627 | | closed | njimenez | Modules | Use core JSONMatchers in the test infrastructure |
|
Attached Files | |
|
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 | OBNetwork customer | => No |
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 | Merge Request Status | => open |
2022-01-11 15:48 | hgbot | Note Added: 0134230 | |
2022-01-21 13:24 | hgbot | Merge Request Status | open => approved |
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 | |
2022-01-25 09:18 | hgbot | Note Added: 0134541 | |
2022-01-25 09:18 | hgbot | Note Added: 0134542 | |
2022-01-25 12:08 | hgbot | Note Added: 0134550 | |
2022-02-18 08:36 | caristu | Relationship added | related to 0048627 |
2022-04-20 18:53 | caristu | Type | defect => feature request |
2022-05-04 13:09 | alostale | Relationship added | related to 0049170 |
2022-05-18 11:41 | caristu | Relationship added | related to 0049226 |
2022-05-18 11:48 | hgbot | Note Added: 0137416 | |
Notes |
|
(0134230)
|
hgbot
|
2022-01-11 15:48
|
|
|
|
(0134487)
|
hgbot
|
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
|
2022-01-21 13:24
|
|
|
|
(0134490)
|
hgbot
|
2022-01-21 14:42
|
|
|
|
(0134491)
|
hgbot
|
2022-01-21 15:13
|
|
|
|
(0134541)
|
hgbot
|
2022-01-25 09:18
|
|
|
|
(0134542)
|
hgbot
|
2022-01-25 09:18
|
|
|
|
(0134550)
|
hgbot
|
2022-01-25 12:08
|
|
|
|
(0137416)
|
hgbot
|
2022-05-18 11:48
|
|
|