-
Notifications
You must be signed in to change notification settings - Fork 49
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
8ecd2fa
commit d9f0841
Showing
22 changed files
with
335 additions
and
25 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
23 changes: 23 additions & 0 deletions
23
...ary/src/tests/snapshots/rbx_binary__tests__util__folder-with-enum-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,23 @@ | ||
--- | ||
source: rbx_binary/src/tests/util.rs | ||
expression: decoded_viewed | ||
--- | ||
- referent: referent-0 | ||
name: Folder | ||
class: Folder | ||
properties: | ||
Attributes: | ||
Attributes: | ||
AnEnumValue: | ||
EnumItem: | ||
type: Material | ||
value: 512 | ||
Capabilities: | ||
SecurityCapabilities: 0 | ||
Sandboxed: | ||
Bool: false | ||
SourceAssetId: | ||
Int64: -1 | ||
Tags: | ||
Tags: [] | ||
children: [] |
55 changes: 55 additions & 0 deletions
55
...ary/src/tests/snapshots/rbx_binary__tests__util__folder-with-enum-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,55 @@ | ||
--- | ||
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: | ||
- "\u0001\u0000\u0000\u0000\u000b\u0000\u0000\u0000AnEnumValue\u0015\b\u0000\u0000\u0000Material\u0000\u0002\u0000\u0000" | ||
- Prop: | ||
type_id: 0 | ||
prop_name: Capabilities | ||
prop_type: SecurityCapabilities | ||
values: | ||
- 0 | ||
- Prop: | ||
type_id: 0 | ||
prop_name: Name | ||
prop_type: String | ||
values: | ||
- Folder | ||
- Prop: | ||
type_id: 0 | ||
prop_name: DefinesCapabilities | ||
prop_type: Bool | ||
values: | ||
- false | ||
- 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 |
59 changes: 59 additions & 0 deletions
59
...inary/src/tests/snapshots/rbx_binary__tests__util__folder-with-enum-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,59 @@ | ||
--- | ||
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: | ||
- "\u0001\u0000\u0000\u0000\u000b\u0000\u0000\u0000AnEnumValue\u0015\b\u0000\u0000\u0000Material\u0000\u0002\u0000\u0000" | ||
- Prop: | ||
type_id: 0 | ||
prop_name: Capabilities | ||
prop_type: SecurityCapabilities | ||
values: | ||
- 0 | ||
- Prop: | ||
type_id: 0 | ||
prop_name: DefinesCapabilities | ||
prop_type: Bool | ||
values: | ||
- false | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/sh | ||
|
||
cargo run --bin rbx_reflector values ./src/allValues.json | ||
rojo build test-place.project.json -o TestPlace.rbxlx | ||
run-in-roblox --script run-tests.lua --place TestPlace.rbxlx | ||
run-in-roblox --script run-tests.lua --place TestPlace.rbxlx |
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
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
Oops, something went wrong.