Skip to content

Commit

Permalink
Added formalized attributes into the CR and CRLF composed and decompo…
Browse files Browse the repository at this point in the history
…sed scenarios.
  • Loading branch information
harmen-xb committed Mar 6, 2024
1 parent 3ea78f3 commit 3b9955a
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Unit
@Unit @Debug

Feature: Compose New Line Handling
Here we test whether PowerDeComposer Compose can handle different newline characters correctly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<RootElement>
<ChildElements>
<ChildElement id="FirstId">
<a:ExtendedAttributesText>{4202E4F4-4187-47CE-83BE-51088F229451},TestExtension,107={38253E88-8698-4A5B-8398-0FA2B14556C0},SqlExpression,49=-- Extended attribute with newline
@AMOUNT &gt; 100

</a:ExtendedAttributesText>
<Name>FirstName</Name>
</ChildElement>
</ChildElements>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<ChildElement id="FirstId">
<ExtendedAttributes>
<OriginatingExtension ObjectID="4202E4F4-4187-47CE-83BE-51088F229451" Name="TestExtension">
<ExtendedAttribute ObjectID="38253E88-8698-4A5B-8398-0FA2B14556C0" Name="SqlExpression">-- Extended attribute with newline
@AMOUNT &gt; 100</ExtendedAttribute>
</OriginatingExtension>
</ExtendedAttributes>
<Name>FirstName</Name>
</ChildElement>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<RootElement>
<ChildElements>
<ChildElement id="FirstId">
<a:ExtendedAttributesText>{4202E4F4-4187-47CE-83BE-51088F229451},TestExtension,106={38253E88-8698-4A5B-8398-0FA2B14556C0},SqlExpression,48=-- Extended attribute with newline
@AMOUNT &gt; 100

</a:ExtendedAttributesText>
<Name>FirstName</Name>
</ChildElement>
</ChildElements>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<ChildElement id="FirstId">
<ExtendedAttributes>
<OriginatingExtension ObjectID="4202E4F4-4187-47CE-83BE-51088F229451" Name="TestExtension">
<ExtendedAttribute ObjectID="38253E88-8698-4A5B-8398-0FA2B14556C0" Name="SqlExpression">-- Extended attribute with newline
@AMOUNT &gt; 100</ExtendedAttribute>
</OriginatingExtension>
</ExtendedAttributes>
<Name>FirstName</Name>
</ChildElement>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Unit
@Unit @Debug

Feature: Decompose New Line Handling
Here we test whether PowerDeComposer Decompose can handle different newline characters correctly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<RootElement>
<ChildElements>
<ChildElement id="FirstId">
<a:ExtendedAttributesText>{4202E4F4-4187-47CE-83BE-51088F229451},TestExtension,107={38253E88-8698-4A5B-8398-0FA2B14556C0},SqlExpression,49=-- Extended attribute with newline
@AMOUNT &gt; 100

</a:ExtendedAttributesText>
<Name>FirstName</Name>
</ChildElement>
</ChildElements>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<ChildElement id="FirstId">
<ExtendedAttributes>
<OriginatingExtension ObjectID="4202E4F4-4187-47CE-83BE-51088F229451" Name="TestExtension">
<ExtendedAttribute ObjectID="38253E88-8698-4A5B-8398-0FA2B14556C0" Name="SqlExpression">-- Extended attribute with newline
@AMOUNT &gt; 100</ExtendedAttribute>
</OriginatingExtension>
</ExtendedAttributes>
<Name>FirstName</Name>
</ChildElement>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<RootElement>
<ChildElements>
<ChildElement id="FirstId">
<a:ExtendedAttributesText>{4202E4F4-4187-47CE-83BE-51088F229451},TestExtension,106={38253E88-8698-4A5B-8398-0FA2B14556C0},SqlExpression,48=-- Extended attribute with newline
@AMOUNT &gt; 100

</a:ExtendedAttributesText>
<Name>FirstName</Name>
</ChildElement>
</ChildElements>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<ChildElement id="FirstId">
<ExtendedAttributes>
<OriginatingExtension ObjectID="4202E4F4-4187-47CE-83BE-51088F229451" Name="TestExtension">
<ExtendedAttribute ObjectID="38253E88-8698-4A5B-8398-0FA2B14556C0" Name="SqlExpression">-- Extended attribute with newline
@AMOUNT &gt; 100</ExtendedAttribute>
</OriginatingExtension>
</ExtendedAttributes>
<Name>FirstName</Name>
</ChildElement>

0 comments on commit 3b9955a

Please sign in to comment.