From 5673b34bca2dfb2ab259d7ee032f214d0ea99399 Mon Sep 17 00:00:00 2001 From: timatifey Date: Mon, 19 Sep 2022 19:23:04 +0300 Subject: [PATCH] change 0/1 to false/true into test_data change 1/0 to true/false into test_data --- .../operations_comparison_boolean.json | 16 ++--- ...tions_comparison_with_different_types.json | 64 ++++++++--------- .../operations_equality_boolean.json | 32 ++++----- ...rations_equality_with_different_types.json | 72 +++++++++---------- .../operations_logical_boolean.json | 36 +++++----- .../operations_ternary.json | 4 +- .../operations_unsuppported.json | 32 ++++----- .../string_templates.json | 4 +- .../variables_values.json | 20 ++++++ .../accessibility/descriptions.json | 4 +- .../accessibility/types.json | 2 +- .../regression_test_data/slider_presets.json | 30 ++++---- .../variables/div_tabs.json | 8 +-- .../samples/animations/transition_change.json | 14 ++-- 14 files changed, 179 insertions(+), 159 deletions(-) diff --git a/test_data/expression_test_data/operations_comparison_boolean.json b/test_data/expression_test_data/operations_comparison_boolean.json index 1a1102a22..f97bb6180 100644 --- a/test_data/expression_test_data/operations_comparison_boolean.json +++ b/test_data/expression_test_data/operations_comparison_boolean.json @@ -10,12 +10,12 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "a" }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -35,12 +35,12 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "a" }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -60,12 +60,12 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "a" }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -85,12 +85,12 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "a" }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], diff --git a/test_data/expression_test_data/operations_comparison_with_different_types.json b/test_data/expression_test_data/operations_comparison_with_different_types.json index d4917eaf4..d73e1fd9b 100644 --- a/test_data/expression_test_data/operations_comparison_with_different_types.json +++ b/test_data/expression_test_data/operations_comparison_with_different_types.json @@ -562,7 +562,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -582,7 +582,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -602,7 +602,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -622,7 +622,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -882,7 +882,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -902,7 +902,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -922,7 +922,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -942,7 +942,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -1122,7 +1122,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -1142,7 +1142,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -1162,7 +1162,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -1182,7 +1182,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -1567,7 +1567,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -1592,7 +1592,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -1617,7 +1617,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -1642,7 +1642,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -1967,7 +1967,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -1992,7 +1992,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -2017,7 +2017,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -2042,7 +2042,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -2367,7 +2367,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -2392,7 +2392,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -2417,7 +2417,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -2442,7 +2442,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -2662,7 +2662,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { @@ -2687,7 +2687,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { @@ -2712,7 +2712,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { @@ -2737,7 +2737,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { @@ -2762,7 +2762,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { @@ -2787,7 +2787,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { @@ -2812,7 +2812,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { @@ -2837,7 +2837,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { diff --git a/test_data/expression_test_data/operations_equality_boolean.json b/test_data/expression_test_data/operations_equality_boolean.json index 82c3ecff1..ff311ab18 100644 --- a/test_data/expression_test_data/operations_equality_boolean.json +++ b/test_data/expression_test_data/operations_equality_boolean.json @@ -10,12 +10,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "var_a" }, { "type": "boolean", - "value": 1, + "value": true, "name": "var_b" } ], @@ -35,12 +35,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "var_a" }, { "type": "boolean", - "value": 1, + "value": true, "name": "var_b" } ], @@ -60,12 +60,12 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "var_a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "var_b" } ], @@ -85,12 +85,12 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "var_a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "var_b" } ], @@ -110,12 +110,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "var_a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "var_b" } ], @@ -135,12 +135,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "var_a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "var_b" } ], @@ -160,12 +160,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "var_a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "var_b" } ], @@ -185,12 +185,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "var_a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "var_b" } ], diff --git a/test_data/expression_test_data/operations_equality_with_different_types.json b/test_data/expression_test_data/operations_equality_with_different_types.json index 6768c184f..72a19665d 100644 --- a/test_data/expression_test_data/operations_equality_with_different_types.json +++ b/test_data/expression_test_data/operations_equality_with_different_types.json @@ -610,7 +610,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -630,7 +630,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -650,7 +650,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -670,7 +670,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -690,7 +690,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -710,7 +710,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -730,7 +730,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -750,7 +750,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1010,7 +1010,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1030,7 +1030,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1050,7 +1050,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1070,7 +1070,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1250,7 +1250,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1270,7 +1270,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1290,7 +1290,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1310,7 +1310,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1855,7 +1855,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1880,7 +1880,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1905,7 +1905,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -1930,7 +1930,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -2255,7 +2255,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -2280,7 +2280,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -2305,7 +2305,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -2330,7 +2330,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -2555,7 +2555,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -2580,7 +2580,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -2605,7 +2605,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -2630,7 +2630,7 @@ }, { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], @@ -2850,7 +2850,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" }, { @@ -2875,7 +2875,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" }, { @@ -2900,7 +2900,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" }, { @@ -2925,7 +2925,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" }, { @@ -2950,7 +2950,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" }, { @@ -2975,7 +2975,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" }, { @@ -3000,7 +3000,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" }, { @@ -3025,7 +3025,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "b" }, { diff --git a/test_data/expression_test_data/operations_logical_boolean.json b/test_data/expression_test_data/operations_logical_boolean.json index 417658d7d..a878860d1 100644 --- a/test_data/expression_test_data/operations_logical_boolean.json +++ b/test_data/expression_test_data/operations_logical_boolean.json @@ -10,12 +10,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -35,12 +35,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -60,12 +60,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -85,12 +85,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -110,12 +110,12 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "a" }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -135,12 +135,12 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "a" }, { "type": "boolean", - "value": 1, + "value": true, "name": "b" } ], @@ -160,12 +160,12 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -185,12 +185,12 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -210,7 +210,7 @@ "variables": [ { "type": "boolean", - "value": 0, + "value": false, "name": "a" } ], @@ -230,7 +230,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" } ], diff --git a/test_data/expression_test_data/operations_ternary.json b/test_data/expression_test_data/operations_ternary.json index ca657e0c6..3c04fe4dc 100644 --- a/test_data/expression_test_data/operations_ternary.json +++ b/test_data/expression_test_data/operations_ternary.json @@ -51,7 +51,7 @@ { "name": "isTrue", "type": "boolean", - "value": 0 + "value": false } ], "platforms": [ @@ -71,7 +71,7 @@ { "name": "isTrue", "type": "boolean", - "value": 1 + "value": true } ], "platforms": [ diff --git a/test_data/expression_test_data/operations_unsuppported.json b/test_data/expression_test_data/operations_unsuppported.json index 12c5a7bf5..8fd58c691 100644 --- a/test_data/expression_test_data/operations_unsuppported.json +++ b/test_data/expression_test_data/operations_unsuppported.json @@ -1107,12 +1107,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -1132,12 +1132,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -1157,12 +1157,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -1182,12 +1182,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -1207,12 +1207,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -1232,12 +1232,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -1257,12 +1257,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], @@ -1282,12 +1282,12 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "a" }, { "type": "boolean", - "value": 0, + "value": false, "name": "b" } ], diff --git a/test_data/expression_test_data/string_templates.json b/test_data/expression_test_data/string_templates.json index eef8b7247..cada4ad17 100644 --- a/test_data/expression_test_data/string_templates.json +++ b/test_data/expression_test_data/string_templates.json @@ -250,7 +250,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "var" } ], @@ -269,7 +269,7 @@ "variables": [ { "type": "boolean", - "value": 1, + "value": true, "name": "var" } ], diff --git a/test_data/expression_test_data/variables_values.json b/test_data/expression_test_data/variables_values.json index a9cf9ad71..2e3322d2a 100644 --- a/test_data/expression_test_data/variables_values.json +++ b/test_data/expression_test_data/variables_values.json @@ -267,6 +267,26 @@ "type": "boolean", "value": true }, + "variables": [ + { + "type": "boolean", + "value": true, + "name": "var" + } + ], + "platforms": [ + "android", + "ios", + "web" + ] + }, + { + "name": "boolean int variable", + "expression": "@{var}", + "expected": { + "type": "boolean", + "value": true + }, "variables": [ { "type": "boolean", diff --git a/test_data/regression_test_data/accessibility/descriptions.json b/test_data/regression_test_data/accessibility/descriptions.json index 96ee27b79..cb456c7cd 100644 --- a/test_data/regression_test_data/accessibility/descriptions.json +++ b/test_data/regression_test_data/accessibility/descriptions.json @@ -45,7 +45,7 @@ { "name": "button_1_active", "type": "boolean", - "value": 0 + "value": false } ], "states": [ @@ -72,7 +72,7 @@ "actions": [ { "log_id": "change_button_1_state", - "url": "div-action://set_variable?name=button_1_active&value=1" + "url": "div-action://set_variable?name=button_1_active&value=true" } ] }, diff --git a/test_data/regression_test_data/accessibility/types.json b/test_data/regression_test_data/accessibility/types.json index 3c6116ca4..45ad4814c 100644 --- a/test_data/regression_test_data/accessibility/types.json +++ b/test_data/regression_test_data/accessibility/types.json @@ -45,7 +45,7 @@ { "name": "button_1_active", "type": "boolean", - "value": 0 + "value": false } ], "states": [ diff --git a/test_data/regression_test_data/slider_presets.json b/test_data/regression_test_data/slider_presets.json index d80b51a83..be5de74f1 100644 --- a/test_data/regression_test_data/slider_presets.json +++ b/test_data/regression_test_data/slider_presets.json @@ -256,22 +256,22 @@ { "name": "secondary_thumb", "type": "boolean", - "value": 0 + "value": false }, { "name": "invert_secondary_thumb", "type": "boolean", - "value": 0 + "value": false }, { "name": "tick_marks", "type": "boolean", - "value": 0 + "value": false }, { "name": "invert_tick_marks", "type": "boolean", - "value": 0 + "value": false }, { "name": "max_value", @@ -335,7 +335,7 @@ "actions": [ { "log_id": "reset_invert_secondary_thumb", - "url": "div-action://set_variable?name=invert_secondary_thumb&value=0" + "url": "div-action://set_variable?name=invert_secondary_thumb&value=false" }, { "log_id": "update_secondary_thumb_switch", @@ -343,7 +343,7 @@ }, { "log_id": "change_secondary_thumb", - "url": "div-action://set_variable?name=secondary_thumb&value=1" + "url": "div-action://set_variable?name=secondary_thumb&value=true" } ] }, @@ -352,7 +352,7 @@ "actions": [ { "log_id": "reset_invert_secondary_thumb", - "url": "div-action://set_variable?name=invert_secondary_thumb&value=0" + "url": "div-action://set_variable?name=invert_secondary_thumb&value=false" }, { "log_id": "update_secondary_thumb_switch", @@ -360,7 +360,7 @@ }, { "log_id": "change_secondary_thumb", - "url": "div-action://set_variable?name=secondary_thumb&value=0" + "url": "div-action://set_variable?name=secondary_thumb&value=false" } ] }, @@ -369,7 +369,7 @@ "actions": [ { "log_id": "reset_invert_tick_marks", - "url": "div-action://set_variable?name=invert_tick_marks&value=0" + "url": "div-action://set_variable?name=invert_tick_marks&value=false" }, { "log_id": "update_tick_marks_switch", @@ -377,7 +377,7 @@ }, { "log_id": "change_tick_marks", - "url": "div-action://set_variable?name=tick_marks&value=1" + "url": "div-action://set_variable?name=tick_marks&value=true" } ] }, @@ -386,15 +386,15 @@ "actions": [ { "log_id": "reset_invert_tick_marks", - "url": "div-action://set_variable?name=invert_tick_marks&value=0" + "url": "div-action://set_variable?name=invert_tick_marks&value=false" }, { "log_id": "update_tick_marks_switch", - "url": "div-action://set_state?state_id=0/tick_marks_switch/0" + "url": "div-action://set_state?state_id=0/tick_marks_switch/false" }, { "log_id": "change_tick_marks", - "url": "div-action://set_variable?name=tick_marks&value=0" + "url": "div-action://set_variable?name=tick_marks&value=true" } ] }, @@ -789,7 +789,7 @@ "actions": [ { "log_id": "change_secondary_thumb", - "url": "div-action://set_variable?name=invert_secondary_thumb&value=1" + "url": "div-action://set_variable?name=invert_secondary_thumb&value=true" } ] } @@ -841,7 +841,7 @@ "actions": [ { "log_id": "change_tick_marks", - "url": "div-action://set_variable?name=invert_tick_marks&value=1" + "url": "div-action://set_variable?name=invert_tick_marks&value=true" } ] } diff --git a/test_data/regression_test_data/variables/div_tabs.json b/test_data/regression_test_data/variables/div_tabs.json index 0aca0f675..7f628b37e 100644 --- a/test_data/regression_test_data/variables/div_tabs.json +++ b/test_data/regression_test_data/variables/div_tabs.json @@ -101,12 +101,12 @@ { "name": "dynamic_height", "type": "boolean", - "value": 0 + "value": false }, { "name": "has_separator", "type": "boolean", - "value": 0 + "value": false }, { "name": "separator_paddings.top", @@ -3887,7 +3887,7 @@ "type": "presets_button", "text": "false", "action": { - "url": "div-action://set_variable?name=has_separator&value=0", + "url": "div-action://set_variable?name=has_separator&value=false", "log_id": "has_separator=0" } }, @@ -3895,7 +3895,7 @@ "type": "presets_button", "text": "true", "action": { - "url": "div-action://set_variable?name=has_separator&value=1", + "url": "div-action://set_variable?name=has_separator&value=true", "log_id": "has_separator=1" } } diff --git a/test_data/samples/animations/transition_change.json b/test_data/samples/animations/transition_change.json index 37cbc072e..67cd567db 100644 --- a/test_data/samples/animations/transition_change.json +++ b/test_data/samples/animations/transition_change.json @@ -77,12 +77,12 @@ { "name": "change_state", "type": "boolean", - "value": 0 + "value": false }, { "name": "state", "type": "boolean", - "value": 0 + "value": false } ], "variable_triggers": [ @@ -92,11 +92,11 @@ "actions": [ { "log_id": "update change_state flag", - "url": "div-action://set_variable?name=change_state&value=0" + "url": "div-action://set_variable?name=change_state&value=false" }, { "log_id": "update change_state flag", - "url": "div-action://set_variable?name=state&value=0" + "url": "div-action://set_variable?name=state&value=false" }, { "log_id": "change state", @@ -110,11 +110,11 @@ "actions": [ { "log_id": "update change_state flag", - "url": "div-action://set_variable?name=change_state&value=0" + "url": "div-action://set_variable?name=change_state&value=false" }, { "log_id": "update state variable", - "url": "div-action://set_variable?name=state&value=1" + "url": "div-action://set_variable?name=state&value=true" }, { "log_id": "change state", @@ -194,7 +194,7 @@ "actions": [ { "log_id": "set_state1", - "url": "div-action://set_variable?name=change_state&value=1" + "url": "div-action://set_variable?name=change_state&value=true" } ] }