-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
12 changed files
with
230 additions
and
3 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
22 changes: 22 additions & 0 deletions
22
...ary/src/tests/snapshots/rbx_binary__tests__util__folder-with-font-attribute__decoded.snap
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,22 @@ | ||
--- | ||
source: rbx_binary/src/tests/util.rs | ||
expression: decoded_viewed | ||
--- | ||
- referent: referent-0 | ||
name: Folder | ||
class: Folder | ||
properties: | ||
Attributes: | ||
Attributes: | ||
AFontAttribute: | ||
Font: | ||
family: "rbxasset://fonts/families/Creepster.json" | ||
weight: Regular | ||
style: Normal | ||
cachedFaceId: ~ | ||
SourceAssetId: | ||
Int64: -1 | ||
Tags: | ||
Tags: [] | ||
children: [] | ||
|
44 changes: 44 additions & 0 deletions
44
...ary/src/tests/snapshots/rbx_binary__tests__util__folder-with-font-attribute__encoded.snap
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,44 @@ | ||
--- | ||
source: rbx_binary/src/tests/util.rs | ||
expression: text_roundtrip | ||
--- | ||
num_types: 1 | ||
num_instances: 1 | ||
chunks: | ||
- Inst: | ||
type_id: 0 | ||
type_name: Folder | ||
object_format: 0 | ||
referents: | ||
- 0 | ||
- Prop: | ||
type_id: 0 | ||
prop_name: AttributesSerialize | ||
prop_type: String | ||
values: | ||
- 01 00 00 00 0e 00 00 00 41 46 6f 6e 74 41 74 74 72 69 62 75 74 65 21 90 01 00 28 00 00 00 72 62 78 61 73 73 65 74 3a 2f 2f 66 6f 6e 74 73 2f 66 61 6d 69 6c 69 65 73 2f 43 72 65 65 70 73 74 65 72 2e 6a 73 6f 6e 00 00 00 00 | ||
- Prop: | ||
type_id: 0 | ||
prop_name: Name | ||
prop_type: String | ||
values: | ||
- Folder | ||
- Prop: | ||
type_id: 0 | ||
prop_name: SourceAssetId | ||
prop_type: Int64 | ||
values: | ||
- -1 | ||
- Prop: | ||
type_id: 0 | ||
prop_name: Tags | ||
prop_type: String | ||
values: | ||
- "" | ||
- Prnt: | ||
version: 0 | ||
links: | ||
- - 0 | ||
- -1 | ||
- End | ||
|
48 changes: 48 additions & 0 deletions
48
...inary/src/tests/snapshots/rbx_binary__tests__util__folder-with-font-attribute__input.snap
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,48 @@ | ||
--- | ||
source: rbx_binary/src/tests/util.rs | ||
expression: text_decoded | ||
--- | ||
num_types: 1 | ||
num_instances: 1 | ||
chunks: | ||
- Meta: | ||
entries: | ||
- - ExplicitAutoJoints | ||
- "true" | ||
- Inst: | ||
type_id: 0 | ||
type_name: Folder | ||
object_format: 0 | ||
referents: | ||
- 0 | ||
- Prop: | ||
type_id: 0 | ||
prop_name: AttributesSerialize | ||
prop_type: String | ||
values: | ||
- 01 00 00 00 0e 00 00 00 41 46 6f 6e 74 41 74 74 72 69 62 75 74 65 21 90 01 00 28 00 00 00 72 62 78 61 73 73 65 74 3a 2f 2f 66 6f 6e 74 73 2f 66 61 6d 69 6c 69 65 73 2f 43 72 65 65 70 73 74 65 72 2e 6a 73 6f 6e 00 00 00 00 | ||
- Prop: | ||
type_id: 0 | ||
prop_name: Name | ||
prop_type: String | ||
values: | ||
- Folder | ||
- Prop: | ||
type_id: 0 | ||
prop_name: SourceAssetId | ||
prop_type: Int64 | ||
values: | ||
- -1 | ||
- Prop: | ||
type_id: 0 | ||
prop_name: Tags | ||
prop_type: String | ||
values: | ||
- "" | ||
- Prnt: | ||
version: 0 | ||
links: | ||
- - 0 | ||
- -1 | ||
- End | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,4 +49,5 @@ type_ids! { | |
// ??? => 0x1A, | ||
NumberRange => 0x1B, | ||
Rect => 0x1C, | ||
Font => 0x21, | ||
} |
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
22 changes: 22 additions & 0 deletions
22
rbx_xml/src/tests/snapshots/rbx_xml__tests__folder-with-font-attribute__decoded.snap
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,22 @@ | ||
--- | ||
source: rbx_xml/src/tests/mod.rs | ||
expression: "DomViewer::new().view_children(&decoded)" | ||
--- | ||
- referent: referent-0 | ||
name: Folder | ||
class: Folder | ||
properties: | ||
Attributes: | ||
Attributes: | ||
AFontAttribute: | ||
Font: | ||
family: "rbxasset://fonts/families/Creepster.json" | ||
weight: Regular | ||
style: Normal | ||
cachedFaceId: ~ | ||
SourceAssetId: | ||
Int64: -1 | ||
Tags: | ||
Tags: [] | ||
children: [] | ||
|
22 changes: 22 additions & 0 deletions
22
rbx_xml/src/tests/snapshots/rbx_xml__tests__folder-with-font-attribute__roundtrip.snap
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,22 @@ | ||
--- | ||
source: rbx_xml/src/tests/mod.rs | ||
expression: "DomViewer::new().view_children(&roundtrip)" | ||
--- | ||
- referent: referent-0 | ||
name: Folder | ||
class: Folder | ||
properties: | ||
Attributes: | ||
Attributes: | ||
AFontAttribute: | ||
Font: | ||
family: "rbxasset://fonts/families/Creepster.json" | ||
weight: Regular | ||
style: Normal | ||
cachedFaceId: ~ | ||
SourceAssetId: | ||
Int64: -1 | ||
Tags: | ||
Tags: [] | ||
children: [] | ||
|