mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Enhance connected mode test suite and introduce VFS staleness fixtures
- Updated the connected mode test expansion plan, marking all todos as completed, including multi-step sequence tests and various phase implementations. - Added a new plan for VFS staleness test fixtures, outlining the creation of a validation API, test helpers, and multiple staleness tests to improve detection of VFS event issues. - Introduced new rules for the Atlas API and project file format specifications, enhancing the overall structure and documentation for better clarity and maintainability. This update significantly improves testing coverage and addresses potential VFS synchronization issues.
This commit is contained in:
parent
316d7ea70e
commit
f798f3f5e8
107 changed files with 4484 additions and 41 deletions
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added:
|
||||
id-14:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-14
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: AddedOne
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": return 1
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added:
|
||||
id-15:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-15
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: AddedTwo
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": return 2
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 3
|
||||
messages:
|
||||
- added:
|
||||
id-16:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-16
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: AddedThree
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": return 3
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- api write\nreturn {}"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: "Nor:mal"
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: Normal
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 3
|
||||
messages:
|
||||
- added: {}
|
||||
removed:
|
||||
- id-3
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added:
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Hey*Bro
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "return 'Hey*Bro'"
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed:
|
||||
- id-6
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 3
|
||||
messages:
|
||||
- added:
|
||||
id-14:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-14
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Hey|Bro
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "return 'Hey|Bro'"
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "p3.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 3
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- v3\nreturn 3"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added:
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Hey*Bro
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- third collision\nreturn 'Hey*Bro'"
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- edited dedup\nreturn 'edited'"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added:
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Foo~1
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- no meta, tilde is literal\nreturn 'Foo~1'"
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed:
|
||||
- id-6
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,148 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-10:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-10
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Handler
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Handler module\nreturn {}\n"
|
||||
id-11:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-11
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: local
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 2
|
||||
Source:
|
||||
"!String": "-- Standalone LocalScript\nprint(\"client\")\n"
|
||||
id-12:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-12
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: server
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Standalone Script\nprint(\"server\")\n"
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: standalone
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Standalone ModuleScript\nreturn {}\n"
|
||||
id-2:
|
||||
Children:
|
||||
- id-4
|
||||
ClassName: DataModel
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: true
|
||||
Name: connected_scripts
|
||||
Parent: "00000000000000000000000000000000"
|
||||
Properties: {}
|
||||
id-3:
|
||||
Children:
|
||||
- id-10
|
||||
ClassName: Folder
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirScript
|
||||
Parent: id-4
|
||||
Properties: {}
|
||||
id-4:
|
||||
Children:
|
||||
- id-5
|
||||
- id-7
|
||||
- id-3
|
||||
- id-11
|
||||
- id-12
|
||||
- id-13
|
||||
ClassName: ReplicatedStorage
|
||||
Id: id-4
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ReplicatedStorage
|
||||
Parent: id-2
|
||||
Properties: {}
|
||||
id-5:
|
||||
Children:
|
||||
- id-6
|
||||
ClassName: LocalScript
|
||||
Id: id-5
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirLocal
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory LocalScript\nprint(\"dir local\")\n"
|
||||
id-6:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-6
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Helper
|
||||
Parent: id-5
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Helper module\nreturn {}\n"
|
||||
id-7:
|
||||
Children:
|
||||
- id-8
|
||||
- id-9
|
||||
ClassName: ModuleScript
|
||||
Id: id-7
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirModule
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory ModuleScript\nreturn { dir = true }\n"
|
||||
id-8:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-8
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildA
|
||||
Parent: id-7
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child A\nreturn \"A\"\n"
|
||||
id-9:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-9
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildB
|
||||
Parent: id-7
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child B\nreturn \"B\"\n"
|
||||
messageCursor: "[message-cursor]"
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: Folder
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
RunContext: ~
|
||||
Source: ~
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- edited child A\nreturn 'edited'"
|
||||
id: id-4
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- edited init\nreturn { edited = true }"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,152 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-10:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-10
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Handler
|
||||
Parent: id-9
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Handler module\nreturn {}\n"
|
||||
id-11:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-11
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: local
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 2
|
||||
Source:
|
||||
"!String": "-- Standalone LocalScript\nprint(\"client\")\n"
|
||||
id-12:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-12
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: server
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Standalone Script\nprint(\"server\")\n"
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: standalone
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Standalone ModuleScript\nreturn {}\n"
|
||||
id-2:
|
||||
Children:
|
||||
- id-4
|
||||
ClassName: DataModel
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: true
|
||||
Name: connected_scripts
|
||||
Parent: "00000000000000000000000000000000"
|
||||
Properties: {}
|
||||
id-3:
|
||||
Children:
|
||||
- id-7
|
||||
- id-8
|
||||
ClassName: ModuleScript
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirModule
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Re-created init\nreturn {}"
|
||||
id-4:
|
||||
Children:
|
||||
- id-5
|
||||
- id-3
|
||||
- id-9
|
||||
- id-11
|
||||
- id-12
|
||||
- id-13
|
||||
ClassName: ReplicatedStorage
|
||||
Id: id-4
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ReplicatedStorage
|
||||
Parent: id-2
|
||||
Properties: {}
|
||||
id-5:
|
||||
Children:
|
||||
- id-6
|
||||
ClassName: LocalScript
|
||||
Id: id-5
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirLocal
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory LocalScript\nprint(\"dir local\")\n"
|
||||
id-6:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-6
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Helper
|
||||
Parent: id-5
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Helper module\nreturn {}\n"
|
||||
id-7:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-7
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildA
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child A\nreturn \"A\"\n"
|
||||
id-8:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-8
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildB
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child B\nreturn \"B\"\n"
|
||||
id-9:
|
||||
Children:
|
||||
- id-10
|
||||
ClassName: Script
|
||||
Id: id-9
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirScript
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Directory Script\nprint(\"dir server\")\n"
|
||||
messageCursor: "[message-cursor]"
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ModuleScript
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- Re-created init\nreturn {}"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: Script
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: LocalScript
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
RunContext: ~
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 3
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ModuleScript
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: ~
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,150 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-10:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-10
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Handler
|
||||
Parent: id-9
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Handler module\nreturn {}\n"
|
||||
id-11:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-11
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: local
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 2
|
||||
Source:
|
||||
"!String": "-- Standalone LocalScript\nprint(\"client\")\n"
|
||||
id-12:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-12
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: server
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Standalone Script\nprint(\"server\")\n"
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: standalone
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Standalone ModuleScript\nreturn {}\n"
|
||||
id-2:
|
||||
Children:
|
||||
- id-4
|
||||
ClassName: DataModel
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: true
|
||||
Name: connected_scripts
|
||||
Parent: "00000000000000000000000000000000"
|
||||
Properties: {}
|
||||
id-3:
|
||||
Children:
|
||||
- id-7
|
||||
- id-8
|
||||
ClassName: Folder
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirModule
|
||||
Parent: id-4
|
||||
Properties: {}
|
||||
id-4:
|
||||
Children:
|
||||
- id-5
|
||||
- id-3
|
||||
- id-9
|
||||
- id-11
|
||||
- id-12
|
||||
- id-13
|
||||
ClassName: ReplicatedStorage
|
||||
Id: id-4
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ReplicatedStorage
|
||||
Parent: id-2
|
||||
Properties: {}
|
||||
id-5:
|
||||
Children:
|
||||
- id-6
|
||||
ClassName: LocalScript
|
||||
Id: id-5
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirLocal
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory LocalScript\nprint(\"dir local\")\n"
|
||||
id-6:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-6
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Helper
|
||||
Parent: id-5
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Helper module\nreturn {}\n"
|
||||
id-7:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-7
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildA
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child A\nreturn \"A\"\n"
|
||||
id-8:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-8
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildB
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child B\nreturn \"B\"\n"
|
||||
id-9:
|
||||
Children:
|
||||
- id-10
|
||||
ClassName: Script
|
||||
Id: id-9
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirScript
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Directory Script\nprint(\"dir server\")\n"
|
||||
messageCursor: "[message-cursor]"
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: Folder
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source: ~
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Disabled:
|
||||
"!Bool": true
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,154 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-10:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-10
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Handler
|
||||
Parent: id-9
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Handler module\nreturn {}\n"
|
||||
id-11:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-11
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: local
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 2
|
||||
Source:
|
||||
"!String": "-- Standalone LocalScript\nprint(\"client\")\n"
|
||||
id-12:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-12
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: server
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Standalone Script\nprint(\"server\")\n"
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: standalone
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Standalone ModuleScript\nreturn {}\n"
|
||||
id-2:
|
||||
Children:
|
||||
- id-3
|
||||
ClassName: DataModel
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: true
|
||||
Name: connected_scripts
|
||||
Parent: "00000000000000000000000000000000"
|
||||
Properties: {}
|
||||
id-3:
|
||||
Children:
|
||||
- id-4
|
||||
- id-6
|
||||
- id-9
|
||||
- id-11
|
||||
- id-12
|
||||
- id-13
|
||||
ClassName: ReplicatedStorage
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ReplicatedStorage
|
||||
Parent: id-2
|
||||
Properties: {}
|
||||
id-4:
|
||||
Children:
|
||||
- id-5
|
||||
ClassName: LocalScript
|
||||
Id: id-4
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirLocal
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory LocalScript\nprint(\"dir local\")\n"
|
||||
id-5:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-5
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Helper
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Helper module\nreturn {}\n"
|
||||
id-6:
|
||||
Children:
|
||||
- id-7
|
||||
- id-8
|
||||
ClassName: Script
|
||||
Id: id-6
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirModule
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Directory ModuleScript\nreturn { dir = true }\n"
|
||||
id-7:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-7
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildA
|
||||
Parent: id-6
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child A\nreturn \"A\"\n"
|
||||
id-8:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-8
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildB
|
||||
Parent: id-6
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child B\nreturn \"B\"\n"
|
||||
id-9:
|
||||
Children:
|
||||
- id-10
|
||||
ClassName: Script
|
||||
Id: id-9
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirScript
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Directory Script\nprint(\"dir server\")\n"
|
||||
messageCursor: "[message-cursor]"
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,152 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-10:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-10
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Handler
|
||||
Parent: id-9
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Handler module\nreturn {}\n"
|
||||
id-11:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-11
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: local
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 2
|
||||
Source:
|
||||
"!String": "-- Standalone LocalScript\nprint(\"client\")\n"
|
||||
id-12:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-12
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: server
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Standalone Script\nprint(\"server\")\n"
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: standalone
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Standalone ModuleScript\nreturn {}\n"
|
||||
id-2:
|
||||
Children:
|
||||
- id-3
|
||||
ClassName: DataModel
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: true
|
||||
Name: connected_scripts
|
||||
Parent: "00000000000000000000000000000000"
|
||||
Properties: {}
|
||||
id-3:
|
||||
Children:
|
||||
- id-4
|
||||
- id-6
|
||||
- id-9
|
||||
- id-11
|
||||
- id-12
|
||||
- id-13
|
||||
ClassName: ReplicatedStorage
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ReplicatedStorage
|
||||
Parent: id-2
|
||||
Properties: {}
|
||||
id-4:
|
||||
Children:
|
||||
- id-5
|
||||
ClassName: LocalScript
|
||||
Id: id-4
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirLocal
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory LocalScript\nprint(\"dir local\")\n"
|
||||
id-5:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-5
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Helper
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Helper module\nreturn {}\n"
|
||||
id-6:
|
||||
Children:
|
||||
- id-7
|
||||
- id-8
|
||||
ClassName: ModuleScript
|
||||
Id: id-6
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirModule
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory ModuleScript\nreturn { dir = true }\n"
|
||||
id-7:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-7
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildA
|
||||
Parent: id-6
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child A\nreturn \"A\"\n"
|
||||
id-8:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-8
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildB
|
||||
Parent: id-6
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child B\nreturn \"B\"\n"
|
||||
id-9:
|
||||
Children:
|
||||
- id-10
|
||||
ClassName: Script
|
||||
Id: id-9
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirScript
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Directory Script\nprint(\"dir server\")\n"
|
||||
messageCursor: "[message-cursor]"
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: Script
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
id: id-6
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,150 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-10:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-10
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Handler
|
||||
Parent: id-9
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Handler module\nreturn {}\n"
|
||||
id-11:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-11
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: local
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 2
|
||||
Source:
|
||||
"!String": "-- Standalone LocalScript\nprint(\"client\")\n"
|
||||
id-12:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-12
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: server
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Standalone Script\nprint(\"server\")\n"
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: standalone
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Standalone ModuleScript\nreturn {}\n"
|
||||
id-2:
|
||||
Children:
|
||||
- id-3
|
||||
ClassName: DataModel
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: true
|
||||
Name: connected_scripts
|
||||
Parent: "00000000000000000000000000000000"
|
||||
Properties: {}
|
||||
id-3:
|
||||
Children:
|
||||
- id-4
|
||||
- id-6
|
||||
- id-9
|
||||
- id-11
|
||||
- id-12
|
||||
- id-13
|
||||
ClassName: ReplicatedStorage
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ReplicatedStorage
|
||||
Parent: id-2
|
||||
Properties: {}
|
||||
id-4:
|
||||
Children:
|
||||
- id-5
|
||||
ClassName: LocalScript
|
||||
Id: id-4
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirLocal
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory LocalScript\nprint(\"dir local\")\n"
|
||||
id-5:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-5
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Helper
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Helper module\nreturn {}\n"
|
||||
id-6:
|
||||
Children:
|
||||
- id-7
|
||||
- id-8
|
||||
ClassName: ModuleScript
|
||||
Id: id-6
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirModule
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory ModuleScript\nreturn { dir = true }\n"
|
||||
id-7:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-7
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildA
|
||||
Parent: id-6
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child A\nreturn \"A\"\n"
|
||||
id-8:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-8
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildB
|
||||
Parent: id-6
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child B\nreturn \"B\"\n"
|
||||
id-9:
|
||||
Children:
|
||||
- id-10
|
||||
ClassName: LocalScript
|
||||
Id: id-9
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirScript
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory Script\nprint(\"dir server\")\n"
|
||||
messageCursor: "[message-cursor]"
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,152 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-10:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-10
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Handler
|
||||
Parent: id-9
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Handler module\nreturn {}\n"
|
||||
id-11:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-11
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: local
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 2
|
||||
Source:
|
||||
"!String": "-- Standalone LocalScript\nprint(\"client\")\n"
|
||||
id-12:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-12
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: server
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Standalone Script\nprint(\"server\")\n"
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: standalone
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Standalone ModuleScript\nreturn {}\n"
|
||||
id-2:
|
||||
Children:
|
||||
- id-3
|
||||
ClassName: DataModel
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: true
|
||||
Name: connected_scripts
|
||||
Parent: "00000000000000000000000000000000"
|
||||
Properties: {}
|
||||
id-3:
|
||||
Children:
|
||||
- id-4
|
||||
- id-6
|
||||
- id-9
|
||||
- id-11
|
||||
- id-12
|
||||
- id-13
|
||||
ClassName: ReplicatedStorage
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ReplicatedStorage
|
||||
Parent: id-2
|
||||
Properties: {}
|
||||
id-4:
|
||||
Children:
|
||||
- id-5
|
||||
ClassName: LocalScript
|
||||
Id: id-4
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirLocal
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory LocalScript\nprint(\"dir local\")\n"
|
||||
id-5:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-5
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Helper
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Helper module\nreturn {}\n"
|
||||
id-6:
|
||||
Children:
|
||||
- id-7
|
||||
- id-8
|
||||
ClassName: ModuleScript
|
||||
Id: id-6
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirModule
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory ModuleScript\nreturn { dir = true }\n"
|
||||
id-7:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-7
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildA
|
||||
Parent: id-6
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child A\nreturn \"A\"\n"
|
||||
id-8:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-8
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildB
|
||||
Parent: id-6
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child B\nreturn \"B\"\n"
|
||||
id-9:
|
||||
Children:
|
||||
- id-10
|
||||
ClassName: Script
|
||||
Id: id-9
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirScript
|
||||
Parent: id-3
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Directory Script\nprint(\"dir server\")\n"
|
||||
messageCursor: "[message-cursor]"
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: LocalScript
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
RunContext: ~
|
||||
id: id-9
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: Nor/mal
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: "What:Module"
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added:
|
||||
id-7:
|
||||
Children: []
|
||||
ClassName: Folder
|
||||
Id: id-7
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: NewModel
|
||||
Parent: id-3
|
||||
Properties: {}
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed:
|
||||
- id-6
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added:
|
||||
id-7:
|
||||
Children: []
|
||||
ClassName: Folder
|
||||
Id: id-7
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: NewChild
|
||||
Parent: id-6
|
||||
Properties: {}
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: "What:Model"
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: What_Model
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 3
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- edited local\nprint('v2')"
|
||||
id: id-5
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- edited server\nprint('v2')"
|
||||
id: id-4
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- edited standalone\nreturn 1"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "catch_up.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- change1\nreturn 1"
|
||||
id: id-3
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- change2\nprint('v2')"
|
||||
id: id-4
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed:
|
||||
- id-13
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed:
|
||||
- id-12
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 3
|
||||
messages:
|
||||
- added: {}
|
||||
removed:
|
||||
- id-11
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,154 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-10:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-10
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Handler
|
||||
Parent: id-9
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Handler module\nreturn {}\n"
|
||||
id-11:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-11
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: local
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 2
|
||||
Source:
|
||||
"!String": "-- Standalone LocalScript\nprint(\"client\")\n"
|
||||
id-12:
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-12
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: server
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Standalone Script\nprint(\"server\")\n"
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: standalone
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Standalone ModuleScript\nreturn {}\n"
|
||||
id-2:
|
||||
Children:
|
||||
- id-4
|
||||
ClassName: DataModel
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: true
|
||||
Name: connected_scripts
|
||||
Parent: "00000000000000000000000000000000"
|
||||
Properties: {}
|
||||
id-3:
|
||||
Children:
|
||||
- id-7
|
||||
- id-8
|
||||
ClassName: Script
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirModule
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- now a server script"
|
||||
id-4:
|
||||
Children:
|
||||
- id-5
|
||||
- id-3
|
||||
- id-9
|
||||
- id-11
|
||||
- id-12
|
||||
- id-13
|
||||
ClassName: ReplicatedStorage
|
||||
Id: id-4
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ReplicatedStorage
|
||||
Parent: id-2
|
||||
Properties: {}
|
||||
id-5:
|
||||
Children:
|
||||
- id-6
|
||||
ClassName: LocalScript
|
||||
Id: id-5
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirLocal
|
||||
Parent: id-4
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Directory LocalScript\nprint(\"dir local\")\n"
|
||||
id-6:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-6
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Helper
|
||||
Parent: id-5
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Helper module\nreturn {}\n"
|
||||
id-7:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-7
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildA
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child A\nreturn \"A\"\n"
|
||||
id-8:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-8
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: ChildB
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- Child B\nreturn \"B\"\n"
|
||||
id-9:
|
||||
Children:
|
||||
- id-10
|
||||
ClassName: Script
|
||||
Id: id-9
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: DirScript
|
||||
Parent: id-4
|
||||
Properties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- Directory Script\nprint(\"dir server\")\n"
|
||||
messageCursor: "[message-cursor]"
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: Script
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
Source:
|
||||
"!String": "-- now a server script"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added:
|
||||
id-14:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-14
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: NewScript
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- new script\nreturn 1"
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 4
|
||||
messages:
|
||||
- added:
|
||||
id-15:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-15
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: Renamed
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- edited script\nreturn 2"
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- edited script\nreturn 2"
|
||||
id: id-14
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 3
|
||||
messages:
|
||||
- added: {}
|
||||
removed:
|
||||
- id-14
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- step1 edit\nreturn 'step1'"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 2
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: What*Module
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 3
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: What_Module
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 4
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: What/Module
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added:
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: New/Slug
|
||||
Parent: id-3
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- new slug\nreturn 'new'"
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: What_Module
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed:
|
||||
- id-12
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: What*Module
|
||||
changedProperties: {}
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- edited key script\nprint('edited')"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- edited slugified module\nreturn 'edited'"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added:
|
||||
id-13:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-13
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: NewChild
|
||||
Parent: id-9
|
||||
Properties:
|
||||
Source:
|
||||
"!String": "-- new child in slug dir\nreturn 'child'"
|
||||
removed: []
|
||||
updated: []
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
"!String": "-- edited slug dir init\nreturn 'edited'"
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
source: tests/tests/connected_mode.rs
|
||||
expression: "socket_packet.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
body:
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- added: {}
|
||||
removed: []
|
||||
updated:
|
||||
- changedClassName: Script
|
||||
changedMetadata:
|
||||
ignoreUnknownInstances: false
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
RunContext:
|
||||
"!Enum": 1
|
||||
id: id-3
|
||||
packetType: messages
|
||||
sessionId: id-1
|
||||
Loading…
Add table
Add a link
Reference in a new issue