Closed ranim-n closed 3 months ago
60 files ±0 60 suites ±0 1m 27s :stopwatch: +3s 1 013 tests +4 1 013 :white_check_mark: +4 0 :zzz: ±0 0 :x: ±0 1 052 runs +4 1 052 :white_check_mark: +4 0 :zzz: ±0 0 :x: ±0
Results for commit c78be0c4. ± Comparison against base commit 7426cb54.
:recycle: This comment has been updated with latest results.
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 100.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
Test Results
60 files ±0 60 suites ±0 1m 27s :stopwatch: +3s 1 013 tests +4 1 013 :white_check_mark: +4 0 :zzz: ±0 0 :x: ±0 1 052 runs +4 1 052 :white_check_mark: +4 0 :zzz: ±0 0 :x: ±0
Results for commit c78be0c4. ± Comparison against base commit 7426cb54.
This pull request removes 187 and adds 37 tests. Note that renamed tests count towards both.
``` "@id": "https://uri… "@type": "@json", … "@value": "/A/B" "@value": "/C/D" "@value": 20 "… { …, withTemporalValues=true, withAudit=false, expectation={ "@type": "https://uri.etsi.org/ngsi-ld/DateTime", … ``` ``` com.egm.stellio.search.scope.ScopeServiceTests ‑ it should exclude upper bound of interval with between timerel() com.egm.stellio.search.scope.ScopeServiceTests ‑ it should include lower bound of interval with after timerel() com.egm.stellio.search.service.AttributeInstanceServiceTests ‑ it should exclude upper bound of interval with between timerel() com.egm.stellio.search.service.AttributeInstanceServiceTests ‑ it should include lower bound of interval with after timerel() com.egm.stellio.search.util.PatchAttributeTests ‑ [1] source={ "attribute": { "type": "Property", "value": 12.0, "observedAt": "2024-04-14T12:34:56Z" } }, target={ "attribute": { "type": "Property", "value": 12.2, "unitCode": "GRM" } }, expected={ "attribute": { "type": "Property", "value": 12.2, "unitCode": "GRM", "observedAt": "2024-04-14T12:34:56Z" } } com.egm.stellio.search.util.PatchAttributeTests ‑ [1] source={ "attribute": { "type": "Property", "value": 12.0, "observedAt": "2024-04-14T12:34:56Z", "subAttribute": { "type": "Property", "value": "subAttribute" } } }, target={ "attribute": { "type": "Property", "value": 12.2, "unitCode": "GRM", "subAttribute": { "type": "Property", "value": "newSubAttributeValue" } } }, expected={ "attribute": { "type": "Property", "value": 12.2, "unitCode": "GRM", "observedAt": "2024-04-14T12:34:56Z", "subAttribute": { "type": "Property", "value": "newSubAttributeValue" } } } com.egm.stellio.search.util.PatchAttributeTests ‑ [2] source={ "attribute": { "type": "Property", "value": { "en": "car", "fr": "voiture" } } }, target={ "attribute": { "type": "Property", "value": { "fr": "vélo", "es": "bicicleta" } } }, expected={ "attribute": { "type": "Property", "value": { "en": "car", "fr": "vélo", "es": "bicicleta" } } } com.egm.stellio.search.util.PatchAttributeTests ‑ [2] source={ "incoming": { "type": "JsonProperty", "json": { "id": 1, "b": null, "c": 12.4 }, "observedAt": "2022-12-24T14:01:22.066Z", "subAttribute": { "type": "Property", "value": "subAttribute" } } }, target={ "incoming": { "type": "JsonProperty", "json": { "id": 2, "b": "something" }, "observedAt": "2023-12-24T14:01:22.066Z" } }, expected={ "incoming": { "type": "JsonProperty", "json": { "id": 2, "b": "something" }, "observedAt": "2023-12-24T14:01:22.066Z", "subAttribute": { "type": "Property", "value": "subAttribute" } } } com.egm.stellio.search.util.PatchAttributeTests ‑ [3] source={ "attribute": { "type": "Property", "value": [ "car", "voiture" ] } }, target={ "attribute": { "type": "Property", "value": [ "vélo", "bicicleta" ] } }, expected={ "attribute": { "type": "Property", "value": [ "vélo", "bicicleta" ] } } com.egm.stellio.search.util.PatchAttributeTests ‑ [3] source={ "attribute": { "type": "VocabProperty", "vocab": "stellio" } }, target={ "attribute": { "type": "VocabProperty", "vocab": "egm" } }, expected={ "attribute": { "type": "VocabProperty", "vocab": "egm" } } … ```:recycle: This comment has been updated with latest results.