From 669ce5baf83ac3943511b2f036f57338959c2761 Mon Sep 17 00:00:00 2001 From: Micah Date: Fri, 25 Oct 2024 13:24:59 -0700 Subject: [PATCH] Update test snapshots --- ...il__lighting-with-int32-attribute__decoded.snap | 5 +++-- ...il__lighting-with-int32-attribute__encoded.snap | 13 +++++++------ ...values-with-security-capabilities__decoded.snap | 4 ++-- ...values-with-security-capabilities__encoded.snap | 14 +++++++------- ...ts__lighting-with-int32-attribute__decoded.snap | 5 +++-- ...__lighting-with-int32-attribute__roundtrip.snap | 5 +++-- ...values-with-security-capabilities__decoded.snap | 4 ++-- ...lues-with-security-capabilities__roundtrip.snap | 4 ++-- 8 files changed, 29 insertions(+), 25 deletions(-) diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__lighting-with-int32-attribute__decoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__lighting-with-int32-attribute__decoded.snap index e6d8b824a..85413e619 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__lighting-with-int32-attribute__decoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__lighting-with-int32-attribute__decoded.snap @@ -29,8 +29,6 @@ expression: decoded_viewed - 0 - 0 - 0 - DefinesCapabilities: - Bool: false EnvironmentDiffuseScale: Float32: 1 EnvironmentSpecularScale: @@ -57,6 +55,8 @@ expression: decoded_viewed - 0.27450982 Outlines: Bool: false + Sandboxed: + Bool: false ShadowSoftness: Float32: 0.2 SourceAssetId: @@ -68,3 +68,4 @@ expression: decoded_viewed TimeOfDay: String: "14:30:00" children: [] + diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__lighting-with-int32-attribute__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__lighting-with-int32-attribute__encoded.snap index 0baa2f63a..312cdb671 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__lighting-with-int32-attribute__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__lighting-with-int32-attribute__encoded.snap @@ -54,12 +54,6 @@ chunks: - - 0 - 0 - 0 - - Prop: - type_id: 0 - prop_name: DefinesCapabilities - prop_type: Bool - values: - - false - Prop: type_id: 0 prop_name: EnvironmentDiffuseScale @@ -130,6 +124,12 @@ chunks: prop_type: Bool values: - false + - Prop: + type_id: 0 + prop_name: DefinesCapabilities + prop_type: Bool + values: + - false - Prop: type_id: 0 prop_name: ShadowSoftness @@ -166,3 +166,4 @@ chunks: - - 0 - -1 - End + diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__decoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__decoded.snap index fece41773..f2a70c298 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__decoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__decoded.snap @@ -10,7 +10,7 @@ expression: decoded_viewed Attributes: {} Capabilities: SecurityCapabilities: 0 - DefinesCapabilities: + Sandboxed: Bool: false SourceAssetId: Int64: -1 @@ -27,7 +27,7 @@ expression: decoded_viewed Attributes: {} Capabilities: SecurityCapabilities: 2882400000 - DefinesCapabilities: + Sandboxed: Bool: false SourceAssetId: Int64: -1 diff --git a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__encoded.snap b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__encoded.snap index 935e5a2f6..9d85091f3 100644 --- a/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__encoded.snap +++ b/rbx_binary/src/tests/snapshots/rbx_binary__tests__util__number-values-with-security-capabilities__encoded.snap @@ -26,13 +26,6 @@ chunks: values: - 0 - 2882400000 - - Prop: - type_id: 0 - prop_name: DefinesCapabilities - prop_type: Bool - values: - - false - - false - Prop: type_id: 0 prop_name: Name @@ -40,6 +33,13 @@ chunks: values: - Hmmm - WhereIs + - Prop: + type_id: 0 + prop_name: DefinesCapabilities + prop_type: Bool + values: + - false + - false - Prop: type_id: 0 prop_name: SourceAssetId diff --git a/rbx_xml/src/tests/snapshots/rbx_xml__tests__lighting-with-int32-attribute__decoded.snap b/rbx_xml/src/tests/snapshots/rbx_xml__tests__lighting-with-int32-attribute__decoded.snap index bf7eda439..1e5b32092 100644 --- a/rbx_xml/src/tests/snapshots/rbx_xml__tests__lighting-with-int32-attribute__decoded.snap +++ b/rbx_xml/src/tests/snapshots/rbx_xml__tests__lighting-with-int32-attribute__decoded.snap @@ -29,8 +29,6 @@ expression: "DomViewer::new().view_children(&decoded)" - 0 - 0 - 0 - DefinesCapabilities: - Bool: false EnvironmentDiffuseScale: Float32: 1 EnvironmentSpecularScale: @@ -57,6 +55,8 @@ expression: "DomViewer::new().view_children(&decoded)" - 0.27450982 Outlines: Bool: false + Sandboxed: + Bool: false ShadowSoftness: Float32: 0.2 SourceAssetId: @@ -68,3 +68,4 @@ expression: "DomViewer::new().view_children(&decoded)" TimeOfDay: String: "14:30:00" children: [] + diff --git a/rbx_xml/src/tests/snapshots/rbx_xml__tests__lighting-with-int32-attribute__roundtrip.snap b/rbx_xml/src/tests/snapshots/rbx_xml__tests__lighting-with-int32-attribute__roundtrip.snap index 2fb8924f9..87bb83aaf 100644 --- a/rbx_xml/src/tests/snapshots/rbx_xml__tests__lighting-with-int32-attribute__roundtrip.snap +++ b/rbx_xml/src/tests/snapshots/rbx_xml__tests__lighting-with-int32-attribute__roundtrip.snap @@ -29,8 +29,6 @@ expression: "DomViewer::new().view_children(&roundtrip)" - 0 - 0 - 0 - DefinesCapabilities: - Bool: false EnvironmentDiffuseScale: Float32: 1 EnvironmentSpecularScale: @@ -57,6 +55,8 @@ expression: "DomViewer::new().view_children(&roundtrip)" - 0.27450982 Outlines: Bool: false + Sandboxed: + Bool: false ShadowSoftness: Float32: 0.2 SourceAssetId: @@ -68,3 +68,4 @@ expression: "DomViewer::new().view_children(&roundtrip)" TimeOfDay: String: "14:30:00" children: [] + diff --git a/rbx_xml/src/tests/snapshots/rbx_xml__tests__number-values-with-security-capabilities__decoded.snap b/rbx_xml/src/tests/snapshots/rbx_xml__tests__number-values-with-security-capabilities__decoded.snap index f222cca7a..1ee8f3f76 100644 --- a/rbx_xml/src/tests/snapshots/rbx_xml__tests__number-values-with-security-capabilities__decoded.snap +++ b/rbx_xml/src/tests/snapshots/rbx_xml__tests__number-values-with-security-capabilities__decoded.snap @@ -10,7 +10,7 @@ expression: "DomViewer::new().view_children(&decoded)" Attributes: {} Capabilities: SecurityCapabilities: 0 - DefinesCapabilities: + Sandboxed: Bool: false SourceAssetId: Int64: -1 @@ -27,7 +27,7 @@ expression: "DomViewer::new().view_children(&decoded)" Attributes: {} Capabilities: SecurityCapabilities: 2882400000 - DefinesCapabilities: + Sandboxed: Bool: false SourceAssetId: Int64: -1 diff --git a/rbx_xml/src/tests/snapshots/rbx_xml__tests__number-values-with-security-capabilities__roundtrip.snap b/rbx_xml/src/tests/snapshots/rbx_xml__tests__number-values-with-security-capabilities__roundtrip.snap index 9fb942843..7237727a1 100644 --- a/rbx_xml/src/tests/snapshots/rbx_xml__tests__number-values-with-security-capabilities__roundtrip.snap +++ b/rbx_xml/src/tests/snapshots/rbx_xml__tests__number-values-with-security-capabilities__roundtrip.snap @@ -10,7 +10,7 @@ expression: "DomViewer::new().view_children(&roundtrip)" Attributes: {} Capabilities: SecurityCapabilities: 0 - DefinesCapabilities: + Sandboxed: Bool: false SourceAssetId: Int64: -1 @@ -27,7 +27,7 @@ expression: "DomViewer::new().view_children(&roundtrip)" Attributes: {} Capabilities: SecurityCapabilities: 2882400000 - DefinesCapabilities: + Sandboxed: Bool: false SourceAssetId: Int64: -1