forked from objectionary/eo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c8c223
commit e5f7a77
Showing
9 changed files
with
68 additions
and
54 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
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
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
14 changes: 12 additions & 2 deletions
14
eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/data-as-bytes.yaml
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 |
---|---|---|
@@ -1,15 +1,25 @@ | ||
xsls: | ||
- /org/eolang/parser/add-default-package.xsl | ||
- /org/eolang/parser/explicit-data.xsl | ||
- /org/eolang/maven/pre/classes.xsl | ||
- /org/eolang/maven/pre/attrs.xsl | ||
- /org/eolang/maven/pre/data.xsl | ||
- /org/eolang/maven/pre/to-java.xsl | ||
tests: | ||
- /program/errors[count(*)=0] | ||
- //java[contains(text(), 'Boolean.TRUE')] | ||
- //java[contains(text(), 'Boolean.FALSE')] | ||
- //java[contains(text(), 'ret = new PhWith(ret, 0, new Data.Value<>(new byte[] {(byte) 0x01}));')] | ||
- //java[contains(text(), 'ret = new PhWith(ret, 0, new Data.Value<>(new byte[] {(byte) 0x00}));')] | ||
- //java[contains(text(), 'ret = new PhWith(ret, 0, new Data.Value<>(new byte[] {(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x2A}));')] | ||
- //java[contains(text(), 'ret = new PhWith(ret, 0, new Data.Value<>(new byte[] {(byte) 0x40, (byte) 0x0C, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00}));')] | ||
- //java[contains(text(), 'ret = new PhWith(ret, 0, new Data.Value<>(new byte[] {(byte) 0x01, (byte) 0xAF}));')] | ||
eo: | | ||
[] > t | ||
TRUE > @ | ||
[] > f | ||
FALSE > @ | ||
[] > i | ||
42 > @ | ||
[] > f | ||
float 3.5 > @ | ||
[] > b | ||
01-AF > @ |
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
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
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
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
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