Skip to content

Created scenario to reproduce xml chars issue. #15

Created scenario to reproduce xml chars issue.

Created scenario to reproduce xml chars issue. #15

GitHub Actions / test-results-windows-latest-java-11 failed Mar 6, 2024 in 0s

97 passed, 1 failed and 1 skipped

Tests failed

❌ PowerDeComposer/target/surefire-reports/TEST-com.xbreeze.xml.test.RunPDCUnitTest.xml

99 tests were completed in 4s with 97 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
com.xbreeze.xml.test.RunPDCUnitTest 97✔️ 1❌ 1✖️ 4s

❌ com.xbreeze.xml.test.RunPDCUnitTest

Character set detection
  ✖️ Character set detection - UTF-16 character set
Special characters
  ✔️ Special characters - Special charachter in file
Compose - Compose <Scenario> - Examples
  ✔️ Compose - Compose <Scenario> - Examples - Example #1.1
  ✔️ Compose - Compose <Scenario> - Examples - Example #1.2
  ✔️ Compose - Compose <Scenario> - Examples - Example #1.3
Compose
  ✔️ Compose - Compose recursive
  ✔️ Compose - Compose include with own XML declaration
  ✔️ Compose - Compose with processing instruction
  ✔️ Compose - Compose with two processing instructions
  ✔️ Compose - Compose with comment before root node
  ✔️ Compose - Compose with whitespace before root node
  ✔️ Compose - Compose with whitespace inside root node
  ✔️ Compose - Compose with comment inside root node
Compose Extended Attributes
  ✔️ Compose Extended Attributes - Compose with extended attributes
  ✔️ Compose Extended Attributes - Compose extended attributes in child element
Compose New Line Handling
  ✔️ Compose New Line Handling - CRLF handling
  ✔️ Compose New Line Handling - LF handling
Configure ChangeDetection - ChangeDetection detects <Scenario> - Examples
  ✔️ Configure ChangeDetection - ChangeDetection detects <Scenario> - Examples - Example #1.1
  ✔️ Configure ChangeDetection - ChangeDetection detects <Scenario> - Examples - Example #1.2
  ✔️ Configure ChangeDetection - ChangeDetection detects <Scenario> - Examples - Example #1.3
  ✔️ Configure ChangeDetection - ChangeDetection detects <Scenario> - Examples - Example #1.4
  ✔️ Configure ChangeDetection - ChangeDetection detects <Scenario> - Examples - Example #1.5
  ✔️ Configure ChangeDetection - ChangeDetection detects <Scenario> - Examples - Example #1.6
  ✔️ Configure ChangeDetection - ChangeDetection detects <Scenario> - Examples - Example #1.7
Configure AllConditions - AllConditions <Scenario> - Examples
  ✔️ Configure AllConditions - AllConditions <Scenario> - Examples - Example #1.1
  ✔️ Configure AllConditions - AllConditions <Scenario> - Examples - Example #1.2
  ✔️ Configure AllConditions - AllConditions <Scenario> - Examples - Example #1.3
  ✔️ Configure AllConditions - AllConditions <Scenario> - Examples - Example #1.4
  ✔️ Configure AllConditions - AllConditions <Scenario> - Examples - Example #1.5
Configure ElementCondition - ElementCondition using <Scenario> - Examples
  ✔️ Configure ElementCondition - ElementCondition using <Scenario> - Examples - Example #1.1
  ✔️ Configure ElementCondition - ElementCondition using <Scenario> - Examples - Example #1.2
  ✔️ Configure ElementCondition - ElementCondition using <Scenario> - Examples - Example #1.3
  ✔️ Configure ElementCondition - ElementCondition using <Scenario> - Examples - Example #1.4
  ✔️ Configure ElementCondition - ElementCondition using <Scenario> - Examples - Example #1.5
Configure IncludeAttribute - IncludeAttribute using <Scenario> - Examples
  ✔️ Configure IncludeAttribute - IncludeAttribute using <Scenario> - Examples - Example #1.1
  ✔️ Configure IncludeAttribute - IncludeAttribute using <Scenario> - Examples - Example #1.2
Configure OneOffConditions - OneOffConditions <Scenario> - Examples
  ✔️ Configure OneOffConditions - OneOffConditions <Scenario> - Examples - Example #1.1
  ✔️ Configure OneOffConditions - OneOffConditions <Scenario> - Examples - Example #1.2
  ✔️ Configure OneOffConditions - OneOffConditions <Scenario> - Examples - Example #1.3
  ✔️ Configure OneOffConditions - OneOffConditions <Scenario> - Examples - Example #1.4
  ✔️ Configure OneOffConditions - OneOffConditions <Scenario> - Examples - Example #1.5
  ✔️ Configure OneOffConditions - OneOffConditions <Scenario> - Examples - Example #1.6
Configure TargetFileName - TargetFileName is value of <Scenario> - Examples
  ✔️ Configure TargetFileName - TargetFileName is value of <Scenario> - Examples - Example #1.1
  ✔️ Configure TargetFileName - TargetFileName is value of <Scenario> - Examples - Example #1.2
  ✔️ Configure TargetFileName - TargetFileName is value of <Scenario> - Examples - Example #1.3
  ✔️ Configure TargetFileName - TargetFileName is value of <Scenario> - Examples - Example #1.4
Configure TargetFolderName - TargetFolderName is <Scenario> - Examples
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> - Examples - Example #1.1
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> - Examples - Example #1.2
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> - Examples - Example #1.3
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> - Examples - Example #1.4
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> - Examples - Example #1.5
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> - Examples - Example #1.6
Configure TargetFolderName - TargetFolderName is <Scenario> with child-elements - Examples
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> with child-elements - Examples - Example #1.1
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> with child-elements - Examples - Example #1.2
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> with child-elements - Examples - Example #1.3
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> with child-elements - Examples - Example #1.4
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> with child-elements - Examples - Example #1.5
  ✔️ Configure TargetFolderName - TargetFolderName is <Scenario> with child-elements - Examples - Example #1.6
Decompose Extended Attributes
  ✔️ Decompose Extended Attributes - Enable formalize extended attributes
  ✔️ Decompose Extended Attributes - Disable formalize extended attributes
  ✔️ Decompose Extended Attributes - Formalize multiple extended attributes
  ✔️ Decompose Extended Attributes - Formalize extended attributes in child element
  ❌ Decompose Extended Attributes - Formalize extended attributes with XML chars
	org.opentest4j.AssertionFailedError:
Configure FileRemovalStrategy - fileRemovalStrategy <Scenario> - Examples
  ✔️ Configure FileRemovalStrategy - fileRemovalStrategy <Scenario> - Examples - Example #1.1
  ✔️ Configure FileRemovalStrategy - fileRemovalStrategy <Scenario> - Examples - Example #1.2
  ✔️ Configure FileRemovalStrategy - fileRemovalStrategy <Scenario> - Examples - Example #1.3
Configure IdentifierReplacement - IdentifierReplacement on attribute using <Scenario> - Examples
  ✔️ Configure IdentifierReplacement - IdentifierReplacement on attribute using <Scenario> - Examples - Example #1.1
  ✔️ Configure IdentifierReplacement - IdentifierReplacement on attribute using <Scenario> - Examples - Example #1.2
  ✔️ Configure IdentifierReplacement - IdentifierReplacement on attribute using <Scenario> - Examples - Example #1.3
Configure IdentifierReplacement - IdentifierReplacement on element-text using <Scenario> - Examples
  ✔️ Configure IdentifierReplacement - IdentifierReplacement on element-text using <Scenario> - Examples - Example #1.1
  ✔️ Configure IdentifierReplacement - IdentifierReplacement on element-text using <Scenario> - Examples - Example #1.2
  ✔️ Configure IdentifierReplacement - IdentifierReplacement on element-text using <Scenario> - Examples - Example #1.3
Configure IdentifierReplacement
  ✔️ Configure IdentifierReplacement - IdentifierReplacement with referencing nodes
Decompose New Line Handling
  ✔️ Decompose New Line Handling - CRLF handling
  ✔️ Decompose New Line Handling - LF handling
Configure NodeRemoval - Remove element <Scenario> - Examples
  ✔️ Configure NodeRemoval - Remove element <Scenario> - Examples - Example #1.1
  ✔️ Configure NodeRemoval - Remove element <Scenario> - Examples - Example #1.2
  ✔️ Configure NodeRemoval - Remove element <Scenario> - Examples - Example #1.3
  ✔️ Configure NodeRemoval - Remove element <Scenario> - Examples - Example #1.4
  ✔️ Configure NodeRemoval - Remove element <Scenario> - Examples - Example #1.5
  ✔️ Configure NodeRemoval - Remove element <Scenario> - Examples - Example #1.6
Configure NodeRemoval - Remove element negative <Scenario> - Examples
  ✔️ Configure NodeRemoval - Remove element negative <Scenario> - Examples - Example #1.1
  ✔️ Configure NodeRemoval - Remove element negative <Scenario> - Examples - Example #1.2
  ✔️ Configure NodeRemoval - Remove element negative <Scenario> - Examples - Example #1.3
  ✔️ Configure NodeRemoval - Remove element negative <Scenario> - Examples - Example #1.4
Configure NodeRemoval - Remove attribute <Scenario> - Examples
  ✔️ Configure NodeRemoval - Remove attribute <Scenario> - Examples - Example #1.1
  ✔️ Configure NodeRemoval - Remove attribute <Scenario> - Examples - Example #1.2
  ✔️ Configure NodeRemoval - Remove attribute <Scenario> - Examples - Example #1.3
Configure NodeRemoval - Remove attribute negative <Scenario> - Examples
  ✔️ Configure NodeRemoval - Remove attribute negative <Scenario> - Examples - Example #1.1
  ✔️ Configure NodeRemoval - Remove attribute negative <Scenario> - Examples - Example #1.2
  ✔️ Configure NodeRemoval - Remove attribute negative <Scenario> - Examples - Example #1.3
Configure NodeRemoval - Remove processing instruction element <Scenario> - Examples
  ✔️ Configure NodeRemoval - Remove processing instruction element <Scenario> - Examples - Example #1.1
  ✔️ Configure NodeRemoval - Remove processing instruction element <Scenario> - Examples - Example #1.2
Configure NodeRemoval - Remove processing instruction attribute <Scenario> - Examples
  ✔️ Configure NodeRemoval - Remove processing instruction attribute <Scenario> - Examples - Example #1.1
  ✔️ Configure NodeRemoval - Remove processing instruction attribute <Scenario> - Examples - Example #1.2
  ✔️ Configure NodeRemoval - Remove processing instruction attribute <Scenario> - Examples - Example #1.3
  ✔️ Configure NodeRemoval - Remove processing instruction attribute <Scenario> - Examples - Example #1.4
  ✔️ Configure NodeRemoval - Remove processing instruction attribute <Scenario> - Examples - Example #1.5
Configure NodeRemoval
  ✔️ Configure NodeRemoval - Remove multiline processing instruction attribute

Annotations

Check failure on line 0 in PowerDeComposer/target/surefire-reports/TEST-com.xbreeze.xml.test.RunPDCUnitTest.xml

See this annotation in the file changed.

@github-actions github-actions / test-results-windows-latest-java-11

com.xbreeze.xml.test.RunPDCUnitTest ► Decompose Extended Attributes ► Decompose Extended Attributes - Formalize extended attributes with XML chars

Failed test found in:
  PowerDeComposer/target/surefire-reports/TEST-com.xbreeze.xml.test.RunPDCUnitTest.xml
Error:
  org.opentest4j.AssertionFailedError: 
Raw output
org.opentest4j.AssertionFailedError: 
The expected and actual file content is different ==> expected: <<?xml version="1.0" encoding="UTF-8"?>
<RootElement>
<ChildElement>
<ExtendedAttributes>
<OriginatingExtension ObjectID="4202E4F4-4187-47CE-83BE-51088F229451" Name="TestExtension">
<ExtendedAttribute ObjectID="38253E88-8698-4A5B-8398-0FA2B14556C0" Name="SqlExpression">@AMOUNT &gt; 100</ExtendedAttribute>
</OriginatingExtension>
</ExtendedAttributes>
</ChildElement>
</RootElement>> but was: <<?xml version="1.0" encoding="UTF-8"?>
<RootElement>
<ChildElement>
<ExtendedAttributes>
<OriginatingExtension ObjectID="4202E4F4-4187-47CE-83BE-51088F229451" Name="TestExtension">
<ExtendedAttribute ObjectID="38253E88-8698-4A5B-8398-0FA2B14556C0" Name="SqlExpression">@AMOUNT > 100</ExtendedAttribute>
</OriginatingExtension>
</ExtendedAttributes>
</ChildElement>
</RootElement>>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1153)
	at com.xbreeze.xml.test.PowerDeComposerTestSteps.thenIExpectTheFileWithContents(PowerDeComposerTestSteps.java:284)
	at com.xbreeze.xml.test.PowerDeComposerTestSteps.thenIExpectTheFileWithContentFromCucumber(PowerDeComposerTestSteps.java:270)
	at com.xbreeze.xml.test.PowerDeComposerTestSteps.thenIExpectDecomposedFileWithFollowingContent(PowerDeComposerTestSteps.java:241)
	at ✽.I expect a decomposed file with the following content:(classpath:com/xbreeze/xml/test/decompose/ExtendedAttributes.feature:176)