-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #521 Make services like fit() in ImageServices robust against null inputs.
- Loading branch information
Showing
49 changed files
with
234 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
....obeonetwork.m2doc.tests/resources/imageServices/asImageNull/asImageNull-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
=== HEADER === | ||
|
||
=== BODY === | ||
|
||
Checks ImageServices registration : | ||
[query: .asImage(null)] | ||
End of demonstration. | ||
=== FOOTER === | ||
|
||
=== TEMPLATES === |
Empty file.
Binary file added
BIN
+12.4 KB
...work.m2doc.tests/resources/imageServices/asImageNull/asImageNull-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+14.6 KB
...org.obeonetwork.m2doc.tests/resources/imageServices/asImageNull/asImageNull-template.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
tests/org.obeonetwork.m2doc.tests/resources/imageServices/asImageNull/asImageNull.genconf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="asImage" templateFileName="asImage-template.docx" resultFileName="asImage-actual-generation.docx" validationFileName="asImage-actual-validation.docx"/> |
11 changes: 11 additions & 0 deletions
11
...rg.obeonetwork.m2doc.tests/resources/imageServices/fitAllNull/fitAllNull-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
=== HEADER === | ||
|
||
=== BODY === | ||
|
||
Checks ImageServices registration : | ||
[query: .fitAll(null, null, null, true)] | ||
End of demonstration. | ||
=== FOOTER === | ||
|
||
=== TEMPLATES === |
Empty file.
Binary file added
BIN
+10.7 KB
...etwork.m2doc.tests/resources/imageServices/fitAllNull/fitAllNull-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+12.9 KB
...s/org.obeonetwork.m2doc.tests/resources/imageServices/fitAllNull/fitAllNull-template.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
tests/org.obeonetwork.m2doc.tests/resources/imageServices/fitAllNull/fitAllNull.genconf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="fitHigh" templateFileName="fitHigh-template.docx" resultFileName="fitHigh-actual-generation.docx" validationFileName="fitHigh-actual-validation.docx"/> |
11 changes: 11 additions & 0 deletions
11
tests/org.obeonetwork.m2doc.tests/resources/imageServices/fitNull/fitNull-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
=== HEADER === | ||
|
||
=== BODY === | ||
|
||
Checks ImageServices registration : | ||
[query: .fit(null, null, null)] | ||
End of demonstration. | ||
=== FOOTER === | ||
|
||
=== TEMPLATES === |
Empty file.
Binary file added
BIN
+12.4 KB
....obeonetwork.m2doc.tests/resources/imageServices/fitNull/fitNull-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+14.7 KB
tests/org.obeonetwork.m2doc.tests/resources/imageServices/fitNull/fitNull-template.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
tests/org.obeonetwork.m2doc.tests/resources/imageServices/fitNull/fitNull.genconf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="fitHigh" templateFileName="fitHigh-template.docx" resultFileName="fitHigh-actual-generation.docx" validationFileName="fitHigh-actual-validation.docx"/> |
11 changes: 11 additions & 0 deletions
11
...rg.obeonetwork.m2doc.tests/resources/imageServices/resizeNull/resizeNull-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
=== HEADER === | ||
|
||
=== BODY === | ||
|
||
Checks ImageServices registration : | ||
[query: .resize(null, null)] | ||
End of demonstration. | ||
=== FOOTER === | ||
|
||
=== TEMPLATES === |
Empty file.
Binary file added
BIN
+12.4 KB
...etwork.m2doc.tests/resources/imageServices/resizeNull/resizeNull-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+14.7 KB
...s/org.obeonetwork.m2doc.tests/resources/imageServices/resizeNull/resizeNull-template.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
tests/org.obeonetwork.m2doc.tests/resources/imageServices/resizeNull/resizeNull.genconf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="resize" templateFileName="resize-template.docx" resultFileName="resize-actual-generation.docx" validationFileName="resize-actual-validation.docx"/> |
11 changes: 11 additions & 0 deletions
11
...rg.obeonetwork.m2doc.tests/resources/imageServices/rotateNull/rotateNull-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
=== HEADER === | ||
|
||
=== BODY === | ||
|
||
Checks ImageServices registration : | ||
[query: .rotate(null, null)] | ||
End of demonstration. | ||
=== FOOTER === | ||
|
||
=== TEMPLATES === |
Empty file.
Binary file added
BIN
+12.4 KB
...etwork.m2doc.tests/resources/imageServices/rotateNull/rotateNull-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+14.7 KB
...s/org.obeonetwork.m2doc.tests/resources/imageServices/rotateNull/rotateNull-template.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
tests/org.obeonetwork.m2doc.tests/resources/imageServices/rotateNull/rotateNull.genconf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="rotate" templateFileName="rotate-template.docx" resultFileName="rotate-actual-generation.docx" validationFileName="rotate-actual-validation.docx"/> |
11 changes: 11 additions & 0 deletions
11
....tests/resources/imageServices/setConserveRatioNull/setConserveRatioNull-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
=== HEADER === | ||
|
||
=== BODY === | ||
|
||
Checks ImageServices registration : | ||
[query: .setConserveRatio(null, true)] | ||
End of demonstration. | ||
=== FOOTER === | ||
|
||
=== TEMPLATES === |
Empty file.
Binary file added
BIN
+12.4 KB
...esources/imageServices/setConserveRatioNull/setConserveRatioNull-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+14.7 KB
...doc.tests/resources/imageServices/setConserveRatioNull/setConserveRatioNull-template.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...ork.m2doc.tests/resources/imageServices/setConserveRatioNull/setConserveRatioNull.genconf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="setConserveRatioTrueInvalidImageFormat" templateFileName="setConserveRatioTrueInvalidImageFormat-template.docx" resultFileName="setConserveRatioTrueInvalidImageFormat-actual-generation.docx" validationFileName="setConserveRatioTrueInvalidImageFormat-actual-validation.docx"/> |
Oops, something went wrong.