diff --git a/device/thunder_ripple_sdk/src/tests/contracts/thunder_device_info_pacts.rs b/device/thunder_ripple_sdk/src/tests/contracts/thunder_device_info_pacts.rs index ebe1378e2..c86815340 100644 --- a/device/thunder_ripple_sdk/src/tests/contracts/thunder_device_info_pacts.rs +++ b/device/thunder_ripple_sdk/src/tests/contracts/thunder_device_info_pacts.rs @@ -95,22 +95,25 @@ async fn test_device_get_model() { let mut pact_builder_async = get_pact_builder_async_obj().await; let mut result = HashMap::new(); + result.insert( "stbVersion".into(), - ContractMatcher::MatchType("AX061AEI_VBN_1911_sprint_20200109040424sdy".into()), + ContractMatcher::MatchRegex( + r"^[A-Z0-9]+_VBN_[A-Za-z0-9]+_sprint_\d{14}sdy(_[A-Z0-9_]+)*$".into(), + "AX061AEI_VBN_1911_sprint_20200109040424sdy".into(), + ), ); + result.insert( "receiverVersion".into(), - ContractMatcher::MatchRegex( - r"^[0-9]\d*.[0-9]\d*.[0-9]\d*.[0-9]\d*$".into(), - "3.14.0.0".into(), - ), + ContractMatcher::MatchRegex(r"^\d+\.\d+\.\d+\.\d+$".into(), "3.14.0.0".into()), ); + result.insert( "stbTimestamp".into(), ContractMatcher::MatchRegex( - "^\\w{3} \\d{1,2} \\w{3} (?:\\d{2})?\\d{2} \\d{2}:\\d{2}:\\d{2} UTC$".into(), - "Wed 01 Jan 2024 02:45:28 UTC".into(), + r"^\w{3} \d{2} \w{3} \d{4} \d{2}:\d{2}:\d{2} [A-Z ]*UTC$".into(), + "Thu 09 Jan 2020 04:04:24 AP UTC".into(), ), ); result.insert("success".into(), ContractMatcher::MatchBool(true)); @@ -137,7 +140,7 @@ async fn test_device_get_model() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.System.1.getSystemVersions" }) ) diff --git a/device/thunder_ripple_sdk/src/tests/contracts/thunder_text_track_pacts.rs b/device/thunder_ripple_sdk/src/tests/contracts/thunder_text_track_pacts.rs index 3ac3793fc..7ca7961ae 100644 --- a/device/thunder_ripple_sdk/src/tests/contracts/thunder_text_track_pacts.rs +++ b/device/thunder_ripple_sdk/src/tests/contracts/thunder_text_track_pacts.rs @@ -96,7 +96,7 @@ async fn test_text_track_set_font_family() { "id": "matching(integer, 2)", "method": "org.rdk.TextTrack.setFontFamily", "params": { - "fontFamily": "matching(type, 'Verdana')" + "fontFamily": "matching(regex, '^(MONOSPACED_SERIF|PROPORTIONAL_SERIF|MONOSPACE_SANS_SERIF|PROPORTIONAL_SANS_SERIF|CASUAL|CURSIVE|SMALL_CAPITAL|CONTENT_DEFAULT)$', 'MONOSPACED_SERIF')" } }, "requestMetadata": { @@ -105,7 +105,7 @@ async fn test_text_track_set_font_family() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 2)", - "result": "matching(type, 'SUCCESS')" + "result": null }] })) .await; @@ -128,7 +128,7 @@ async fn test_text_track_set_font_family() { "id": 2, "method": "org.rdk.TextTrack.setFontFamily", "params": { - "fontFamily": "Verdana" + "fontFamily": "MONOSPACED_SERIF" } }) ) @@ -191,7 +191,7 @@ async fn test_text_track_set_font_size() { "id": "matching(integer, 4)", "method": "org.rdk.TextTrack.setFontSize", "params": { - "fontSize": "matching(type, '18px')" + "fontSize": "matching(regex, '^(-1|0|1|2|3)$', '1')" } }, "requestMetadata": { @@ -200,7 +200,7 @@ async fn test_text_track_set_font_size() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 4)", - "result": "matching(type, 'SUCCESS')" + "result": null }] })) .await; @@ -223,7 +223,7 @@ async fn test_text_track_set_font_size() { "id": 4, "method": "org.rdk.TextTrack.setFontSize", "params": { - "fontSize": "18px" + "fontSize": 1 } }) ) @@ -286,7 +286,7 @@ async fn test_text_track_set_font_color() { "id": "matching(integer, 6)", "method": "org.rdk.TextTrack.setFontColor", "params": { - "fontColor": "matching(type, '#FF0000')" + "fontColor": "matching(regex, '^$|^#[0-9A-Fa-f]{6}$', '\"#FF0000\"')" } }, "requestMetadata": { @@ -295,7 +295,7 @@ async fn test_text_track_set_font_color() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 6)", - "result": "matching(type, 'SUCCESS')" + "result": null }] })) .await; @@ -381,7 +381,7 @@ async fn test_text_track_set_font_edge() { "id": "matching(integer, 8)", "method": "org.rdk.TextTrack.setFontEdge", "params": { - "fontEdge": "matching(type, 'raised')" + "fontEdge": "matching(regex, '^(none|raised|depressed|uniform|drop_shadow_left|drop_shadow_right|content_default)$', 'raised')" } }, "requestMetadata": { @@ -390,7 +390,7 @@ async fn test_text_track_set_font_edge() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 8)", - "result": "matching(type, 'SUCCESS')" + "result": null }] })) .await; @@ -478,7 +478,7 @@ async fn test_text_track_set_font_edge_color() { "id": "matching(integer, 10)", "method": "org.rdk.TextTrack.setFontEdgeColor", "params": { - "fontEdgeColor": "matching(type, '#FF00FF')" + "fontEdgeColor": "matching(regex, '^$|^#[0-9A-Fa-f]{6}$', '\"#FFFFFF\"')" } }, "requestMetadata": { @@ -487,7 +487,7 @@ async fn test_text_track_set_font_edge_color() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 10)", - "result": "matching(type, 'SUCCESS')" + "result": null }] })) .await; @@ -511,7 +511,7 @@ async fn test_text_track_set_font_edge_color() { "id": 10, "method": "org.rdk.TextTrack.setFontEdgeColor", "params": { - "fontEdgeColor": "#FF00FF" + "fontEdgeColor": "#FFFFFF" } }) ) @@ -534,7 +534,7 @@ async fn test_text_track_get_font_opacity() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 11)", - "result": "matching(type, '0.8')" + "result": "matching(regex, '^(-1|[0-9]{1,2}|100)$', '90')" }] })).await; i.test_name("get_font_opacity"); @@ -574,7 +574,7 @@ async fn test_text_track_set_font_opacity() { "id": "matching(integer, 12)", "method": "org.rdk.TextTrack.setFontOpacity", "params": { - "fontOpacity": "matching(type, '0.9')" + "fontOpacity": "matching(regex, '^(-1|[0-9]{1,2}|100)$', '1')" } }, "requestMetadata": { @@ -583,7 +583,7 @@ async fn test_text_track_set_font_opacity() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 12)", - "result": "matching(type, 'SUCCESS')" + "result": null }] })) .await; @@ -606,7 +606,7 @@ async fn test_text_track_set_font_opacity() { "id": 12, "method": "org.rdk.TextTrack.setFontOpacity", "params": { - "fontOpacity": "0.9" + "fontOpacity": 1 } }) ) @@ -629,7 +629,7 @@ async fn test_text_track_get_background_color() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 13)", - "result": "matching(type, '#000000')" + "result": "matching(regex, '\"^$|^#[0-9A-Fa-f]{6}$\"', '\"#FFFFFF\"')" }] })).await; i.test_name("get_background_color"); @@ -671,7 +671,7 @@ async fn test_text_track_set_background_color() { "id": "matching(integer, 14)", "method": "org.rdk.TextTrack.setBackgroundColor", "params": { - "backgroundColor": "matching(type, '#FFFFFF')" + "backgroundColor": "matching(regex, '^$|^#[0-9A-Fa-f]{6}$', '\"#FFFFFF\"')" } }, "requestMetadata": { @@ -680,7 +680,7 @@ async fn test_text_track_set_background_color() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 14)", - "result": "matching(type, 'SUCCESS')" + "result": null }] })) .await; @@ -727,7 +727,7 @@ async fn test_text_track_get_background_opacity() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 15)", - "result": "matching(type, '0.7')" + "result": "matching(regex, '^(-1|[0-9]{1,2}|100)$', '1')" }] })).await; i.test_name("get_background_opacity"); @@ -769,7 +769,7 @@ async fn test_text_track_set_background_opacity() { "id": "matching(integer, 16)", "method": "org.rdk.TextTrack.setBackgroundOpacity", "params": { - "backgroundOpacity": "matching(type, '0.85')" + "backgroundOpacity": "matching(regex, '^(-1|[0-9]{1,2}|100)$', '1')" } }, "requestMetadata": { @@ -778,7 +778,7 @@ async fn test_text_track_set_background_opacity() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 16)", - "result": "matching(type, 'SUCCESS')" + "result": null }] })) .await; @@ -802,7 +802,7 @@ async fn test_text_track_set_background_opacity() { "id": 16, "method": "org.rdk.TextTrack.setBackgroundOpacity", "params": { - "backgroundOpacity": "0.85" + "backgroundOpacity": 1 } }) ) @@ -825,7 +825,7 @@ async fn test_text_track_get_window_color() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 17)", - "result": "matching(type, '#CCCCCC')" + "result": "matching(regex, '^$|^#[0-9A-Fa-f]{6}$', '\"#FFFFFF\"')" }] })).await; i.test_name("get_window_color"); @@ -874,7 +874,7 @@ async fn test_text_track_set_window_color() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 18)", - "result": "matching(type, 'SUCCESS')" + "result": null }] })) .await; @@ -920,7 +920,7 @@ async fn test_text_track_get_window_opacity() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 19)", - "result": "matching(type, '0.6')" + "result": "matching(regex, '^(-1|[0-9]{1,2}|100)$', '1')" }] })).await; i.test_name("get_window_opacity"); @@ -962,7 +962,7 @@ async fn test_text_track_set_window_opacity() { "id": "matching(integer, 20)", "method": "org.rdk.TextTrack.setWindowOpacity", "params": { - "windowOpacity": "matching(type, '0.75')" + "windowOpacity": "matching(regex, '^(-1|[0-9]{1,2}|100)$', '1')" } }, "requestMetadata": { @@ -971,7 +971,7 @@ async fn test_text_track_set_window_opacity() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 20)", - "result": "matching(type, 'SUCCESS')" + "result": null }] })) .await; @@ -995,7 +995,7 @@ async fn test_text_track_set_window_opacity() { "id": 20, "method": "org.rdk.TextTrack.setWindowOpacity", "params": { - "windowOpacity": "0.75" + "windowOpacity": 1 } }) ) diff --git a/device/thunder_ripple_sdk/src/tests/contracts/thunder_user_settings_pacts.rs b/device/thunder_ripple_sdk/src/tests/contracts/thunder_user_settings_pacts.rs index 41fecbf59..faed8138b 100644 --- a/device/thunder_ripple_sdk/src/tests/contracts/thunder_user_settings_pacts.rs +++ b/device/thunder_ripple_sdk/src/tests/contracts/thunder_user_settings_pacts.rs @@ -57,7 +57,7 @@ async fn test_device_get_presentation_language() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 0)", - "result": "matching(type, 'en-US')" + "result": "matching(regex, '^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-[a-zA-Z]{2}|[0-9]{3})?(-[a-zA-Z0-9]+)*$', 'en-Latn-US')" }] })).await; i.test_name("get_presentation_language"); @@ -95,10 +95,10 @@ async fn test_device_set_presentation_language() { "pact:content-type": "application/json", "request": { "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", + "id": "matching(integer, 42)", "method": "org.rdk.UserSettings.setPresentationLanguage", "params": { - "language": "matching(type, 'en-US')" + "presentationLanguage": "matching(regex, '^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-[a-zA-Z]{2}|[0-9]{3})?(-[a-zA-Z0-9]+)*$', 'en-Latn-US')" } }, "requestMetadata": { @@ -106,8 +106,8 @@ async fn test_device_set_presentation_language() { }, "response": [{ "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", - "result": "matching(type, 'success')" + "id": "matching(integer, 42)", + "result": null }] })) .await; @@ -128,10 +128,10 @@ async fn test_device_set_presentation_language() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.UserSettings.setPresentationLanguage", "params": { - "language": "en-US" + "presentationLanguage": "en-US" } }) ) @@ -159,7 +159,7 @@ async fn test_device_get_preferred_audio_languages() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 0)", - "result": "matching(type, 'eng')" + "result": "matching(regex, '^[a-z]{3}(,[a-z]{3})*$', 'eng,spa,fre')" }] })) .await; @@ -200,10 +200,10 @@ async fn test_device_set_preferred_audio_languages() { "pact:content-type": "application/json", "request": { "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", + "id": "matching(integer, 42)", "method": "org.rdk.UserSettings.setPreferredAudioLanguages", "params": { - "languages": "matching(type, 'eng')" + "preferredLanguages": "matching(regex, '^[a-z]{3}(,[a-z]{3})*$', 'eng,spa,fre')" } }, "requestMetadata": { @@ -211,8 +211,8 @@ async fn test_device_set_preferred_audio_languages() { }, "response": [{ "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", - "result": "matching(type, 'success')" + "id": "matching(integer, 42)", + "result": null }] })) .await; @@ -233,10 +233,10 @@ async fn test_device_set_preferred_audio_languages() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.UserSettings.setPreferredAudioLanguages", "params": { - "languages": "eng" + "preferredLanguages": "eng" } }) ) @@ -256,10 +256,10 @@ async fn test_device_set_voice_guidance() { "pact:content-type": "application/json", "request": { "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", + "id": "matching(integer, 42)", "method": "org.rdk.UserSettings.setVoiceGuidance", "params": { - "enabled": "matching(type, true)" + "enabled": "matching(boolean, true)" } }, "requestMetadata": { @@ -267,8 +267,8 @@ async fn test_device_set_voice_guidance() { }, "response": [{ "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", - "result": "matching(type, 'success')" + "id": "matching(integer, 42)", + "result": null }] })) .await; @@ -289,7 +289,7 @@ async fn test_device_set_voice_guidance() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.UserSettings.setVoiceGuidance", "params": { "enabled": true @@ -312,7 +312,7 @@ async fn test_device_get_voice_guidance_rate() { "pact:content-type": "application/json", "request": { "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", + "id": "matching(integer, 42)", "method": "org.rdk.UserSettings.getVoiceGuidanceRate" }, "requestMetadata": { @@ -320,8 +320,8 @@ async fn test_device_get_voice_guidance_rate() { }, "response": [{ "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", - "result": "matching(type, '0.1')" + "id": "matching(integer, 42)", + "result": "matching(type, 0.1)" }] })) .await; @@ -342,7 +342,7 @@ async fn test_device_get_voice_guidance_rate() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.UserSettings.getVoiceGuidanceRate" }) ) @@ -362,10 +362,10 @@ async fn test_device_set_voice_guidance_rate() { "pact:content-type": "application/json", "request": { "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", + "id": "matching(integer, 42)", "method": "org.rdk.UserSettings.setVoiceGuidanceRate", "params": { - "rate": "matching(type, '0.1')" + "rate": "matching(type, 0.1)" } }, "requestMetadata": { @@ -373,8 +373,8 @@ async fn test_device_set_voice_guidance_rate() { }, "response": [{ "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", - "result": "matching(type, 'success')" + "id": "matching(integer, 42)", + "result": null }] })) .await; @@ -395,10 +395,10 @@ async fn test_device_set_voice_guidance_rate() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.UserSettings.setVoiceGuidanceRate", "params": { - "rate": "0.1" + "rate": 0.1 } }) ) @@ -427,7 +427,7 @@ async fn test_device_get_audio_description() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 0)", - "result": "matching(type, true)" + "result": "matching(boolean, true)" }] })) .await; @@ -468,10 +468,10 @@ async fn test_device_set_audio_description() { "pact:content-type": "application/json", "request": { "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", + "id": "matching(integer, 42)", "method": "org.rdk.UserSettings.setAudioDescription", "params": { - "enabled": "matching(type, true)" + "enabled": "matching(boolean, true)" } }, "requestMetadata": { @@ -479,8 +479,8 @@ async fn test_device_set_audio_description() { }, "response": [{ "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", - "result": "matching(type, 'success')" + "id": "matching(integer, 42)", + "result": null }] })) .await; @@ -501,7 +501,7 @@ async fn test_device_set_audio_description() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.UserSettings.setAudioDescription", "params": { "enabled": true @@ -582,7 +582,7 @@ async fn test_device_get_captions() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 0)", - "result": "matching(type, true)" + "result": "matching(boolean, true)" }] })) .await; @@ -623,10 +623,10 @@ async fn test_device_set_captions() { "pact:content-type": "application/json", "request": { "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", + "id": "matching(integer, 42)", "method": "org.rdk.UserSettings.setCaptions", "params": { - "enabled": "matching(type, true)" + "enabled": "matching(boolean, true)" } }, "requestMetadata": { @@ -634,8 +634,8 @@ async fn test_device_set_captions() { }, "response": [{ "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", - "result": "matching(type, 'success')" + "id": "matching(integer, 42)", + "result": null }] })) .await; @@ -656,7 +656,7 @@ async fn test_device_set_captions() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.UserSettings.setCaptions", "params": { "enabled": true @@ -688,7 +688,7 @@ async fn test_device_get_preferred_captions_languages() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 0)", - "result": "matching(type, 'eng')" + "result": "matching(regex, '^[a-z]{3}(,[a-z]{3})*$', 'eng,spa,fre')" }] })) .await; @@ -729,10 +729,10 @@ async fn test_device_set_preferred_captions_languages() { "pact:content-type": "application/json", "request": { "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", + "id": "matching(integer, 42)", "method": "org.rdk.UserSettings.setPreferredCaptionsLanguages", "params": { - "languages": "matching(type, 'eng')" + "preferredLanguages": "matching(regex, '^[a-z]{3}(,[a-z]{3})*$', 'eng,spa,fre')" } }, "requestMetadata": { @@ -740,8 +740,8 @@ async fn test_device_set_preferred_captions_languages() { }, "response": [{ "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", - "result": "matching(type, 'success')" + "id": "matching(integer, 42)", + "result": null }] })) .await; @@ -762,10 +762,10 @@ async fn test_device_set_preferred_captions_languages() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.UserSettings.setPreferredCaptionsLanguages", "params": { - "languages": "eng" + "preferredLanguages": "eng" } }) ) @@ -785,7 +785,7 @@ async fn test_device_get_voice_guidance_hints() { "pact:content-type": "application/json", "request": { "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", + "id": "matching(integer, 42)", "method": "org.rdk.UserSettings.getVoiceGuidanceHints" }, "requestMetadata": { @@ -793,8 +793,8 @@ async fn test_device_get_voice_guidance_hints() { }, "response": [{ "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", - "result": "matching(type, 'enabled')" + "id": "matching(integer, 42)", + "result": "matching(boolean, true)" }] })) .await; @@ -815,7 +815,7 @@ async fn test_device_get_voice_guidance_hints() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.UserSettings.getVoiceGuidanceHints" }) ) @@ -835,10 +835,10 @@ async fn test_device_set_voice_guidance_hints() { "pact:content-type": "application/json", "request": { "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", + "id": "matching(integer, 42)", "method": "org.rdk.UserSettings.setVoiceGuidanceHints", "params": { - "hints": "matching(type, 'enabled')" + "hints": "matching(boolean, true)" } }, "requestMetadata": { @@ -846,8 +846,8 @@ async fn test_device_set_voice_guidance_hints() { }, "response": [{ "jsonrpc": "matching(type, '2.0')", - "id": "matching(integer, 0)", - "result": "matching(type, 'success')" + "id": "matching(integer, 42)", + "result": null }] })) .await; @@ -868,10 +868,10 @@ async fn test_device_set_voice_guidance_hints() { .to_string(), json!({ "jsonrpc": "2.0", - "id": 0, + "id": 42, "method": "org.rdk.UserSettings.setVoiceGuidanceHints", "params": { - "hints": "enabled" + "hints": true } }) ) @@ -900,7 +900,7 @@ async fn test_device_get_voice_guidance() { "response": [{ "jsonrpc": "matching(type, '2.0')", "id": "matching(integer, 0)", - "result": "matching(type, true)" + "result": "matching(boolean, true)" }] })) .await;