Validation: The filename and it's id in the file should be in sync #255
cicd-feature.yml
on: push
Matrix: build-and-test / build-and-test
build-and-test
/
Publish Unit Test Report
13s
Annotations
12 errors and 4 warnings
CrossModel language Relationship › relationship with attributes:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L54
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "filename-not-matching"}, "message": "Filename should match element id: Order_CustomerWithAttribute", "range": {"end": {"character": 35, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 2, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:54:50)
|
CrossModel language Relationship › relationship with wrong entity:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L59
expect(received).toHaveLength(expected)
Expected length: 1
Received length: 2
Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "child", "refText": "Order.Address"}, "message": "Could not resolve reference to Attribute named 'Order.Address'.", "range": {"end": {"character": 30, "line": 7}, "start": {"character": 17, "line": 7}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "filename-not-matching"}, "message": "Filename should match element id: Order_CustomerWithAttributeWrongEntity", "range": {"end": {"character": 46, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 2, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:59:50)
|
CrossModel language Relationship › relationship with duplicates:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L64
expect(received).toHaveLength(expected)
Expected length: 2
Received length: 3
Received array: [{"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each parent attribute can only be referenced once.", "range": {"end": {"character": 29, "line": 8}, "start": {"character": 18, "line": 8}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each child attribute can only be referenced once.", "range": {"end": {"character": 33, "line": 9}, "start": {"character": 17, "line": 9}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "filename-not-matching"}, "message": "Filename should match element id: Order_CustomerWithDuplicateAttributes", "range": {"end": {"character": 45, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 2, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:64:50)
|
build-and-test / ubuntu-22.04
Process completed with exit code 1.
|
CrossModel language Relationship › relationship with attributes:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L54
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "filename-not-matching"}, "message": "Filename should match element id: Order_CustomerWithAttribute", "range": {"end": {"character": 35, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 2, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:54:50)
|
CrossModel language Relationship › relationship with wrong entity:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L59
expect(received).toHaveLength(expected)
Expected length: 1
Received length: 2
Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "child", "refText": "Order.Address"}, "message": "Could not resolve reference to Attribute named 'Order.Address'.", "range": {"end": {"character": 30, "line": 7}, "start": {"character": 17, "line": 7}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "filename-not-matching"}, "message": "Filename should match element id: Order_CustomerWithAttributeWrongEntity", "range": {"end": {"character": 46, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 2, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:59:50)
|
CrossModel language Relationship › relationship with duplicates:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L64
expect(received).toHaveLength(expected)
Expected length: 2
Received length: 3
Received array: [{"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each parent attribute can only be referenced once.", "range": {"end": {"character": 29, "line": 8}, "start": {"character": 18, "line": 8}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each child attribute can only be referenced once.", "range": {"end": {"character": 33, "line": 9}, "start": {"character": 17, "line": 9}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "filename-not-matching"}, "message": "Filename should match element id: Order_CustomerWithDuplicateAttributes", "range": {"end": {"character": 45, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 2, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:64:50)
|
build-and-test / macos-13
Process completed with exit code 1.
|
CrossModel language Relationship › relationship with attributes:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L54
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "filename-not-matching"}, "message": "Filename should match element id: Order_CustomerWithAttribute", "range": {"end": {"character": 35, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 2, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:54:50)
|
CrossModel language Relationship › relationship with wrong entity:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L59
expect(received).toHaveLength(expected)
Expected length: 1
Received length: 2
Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "child", "refText": "Order.Address"}, "message": "Could not resolve reference to Attribute named 'Order.Address'.", "range": {"end": {"character": 30, "line": 7}, "start": {"character": 17, "line": 7}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "filename-not-matching"}, "message": "Filename should match element id: Order_CustomerWithAttributeWrongEntity", "range": {"end": {"character": 46, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 2, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:59:50)
|
CrossModel language Relationship › relationship with duplicates:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L64
expect(received).toHaveLength(expected)
Expected length: 2
Received length: 3
Received array: [{"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each parent attribute can only be referenced once.", "range": {"end": {"character": 29, "line": 8}, "start": {"character": 18, "line": 8}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each child attribute can only be referenced once.", "range": {"end": {"character": 33, "line": 9}, "start": {"character": 17, "line": 9}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "filename-not-matching"}, "message": "Filename should match element id: Order_CustomerWithDuplicateAttributes", "range": {"end": {"character": 45, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 2, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:64:50)
|
build-and-test / windows-2022
Process completed with exit code 1.
|
build-and-test / ubuntu-22.04
No files were found with the provided path: e2e-tests/allure-results/. No artifacts will be uploaded.
|
All 3 runs failed: CrossModel language Relationship relationship with attributes (CrossModel language Relationship relationship with attributes):
CrossModel language Relationship relationship with attributes#L0
unit-test-results/Linux-unit-test-results-b0608890-ae5e-11ef-b16a-5d6418de29b4.xml [took 0s]
unit-test-results/Windows-unit-test-results-91c2e5d0-ae5f-11ef-9afb-499061b91c4f.xml [took 0s]
unit-test-results/macOS-unit-test-results-1105e5a0-ae5f-11ef-b250-cb9d25bfb710.xml [took 0s]
|
All 3 runs failed: CrossModel language Relationship relationship with wrong entity (CrossModel language Relationship relationship with wrong entity):
CrossModel language Relationship relationship with wrong entity#L0
unit-test-results/Linux-unit-test-results-b0608890-ae5e-11ef-b16a-5d6418de29b4.xml [took 0s]
unit-test-results/Windows-unit-test-results-91c2e5d0-ae5f-11ef-9afb-499061b91c4f.xml [took 0s]
unit-test-results/macOS-unit-test-results-1105e5a0-ae5f-11ef-b250-cb9d25bfb710.xml [took 0s]
|
All 3 runs failed: CrossModel language Relationship relationship with duplicates (CrossModel language Relationship relationship with duplicates):
CrossModel language Relationship relationship with duplicates#L0
unit-test-results/Linux-unit-test-results-b0608890-ae5e-11ef-b16a-5d6418de29b4.xml [took 0s]
unit-test-results/Windows-unit-test-results-91c2e5d0-ae5f-11ef-9afb-499061b91c4f.xml [took 0s]
unit-test-results/macOS-unit-test-results-1105e5a0-ae5f-11ef-b250-cb9d25bfb710.xml [took 0s]
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
unit-test-results-Linux
|
2 KB |
|
unit-test-results-Windows
|
2 KB |
|
unit-test-results-macOS
|
1.99 KB |
|