1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

windows.media.speech/tests: Fix the spelling of some speech ok() messages.

This commit is contained in:
Francois Gouget 2023-07-26 11:43:07 +02:00 committed by Alexandre Julliard
parent 541695ae00
commit 5792307c61

View File

@ -1213,7 +1213,7 @@ static void test_SpeechRecognizer(void)
completed_event_handler_create_static(&completed_handler);
hr = ISpeechContinuousRecognitionSession_add_Completed(session, &completed_handler.IHandler_RecognitionCompleted_iface, &token);
ok(hr == S_OK, "ISpeechContinuousRecognitionSession_add_ResultGenerated failed, hr %#lx.\n", hr);
ok(token.value != 0xdeadbeef, "Got unexpexted token: %#I64x.\n", token.value);
ok(token.value != 0xdeadbeef, "Got unexpected token: %#I64x.\n", token.value);
hr = ISpeechContinuousRecognitionSession_remove_Completed(session, token);
ok(hr == S_OK, "ISpeechContinuousRecognitionSession_remove_ResultGenerated failed, hr %#lx.\n", hr);
@ -1225,7 +1225,7 @@ static void test_SpeechRecognizer(void)
recognition_result_handler_create_static(&result_handler);
hr = ISpeechContinuousRecognitionSession_add_ResultGenerated(session, &result_handler.IHandler_RecognitionResult_iface, &token);
ok(hr == S_OK, "ISpeechContinuousRecognitionSession_add_ResultGenerated failed, hr %#lx.\n", hr);
ok(token.value != 0xdeadbeef, "Got unexpexted token: %#I64x.\n", token.value);
ok(token.value != 0xdeadbeef, "Got unexpected token: %#I64x.\n", token.value);
hr = ISpeechContinuousRecognitionSession_remove_ResultGenerated(session, token);
ok(hr == S_OK, "ISpeechContinuousRecognitionSession_remove_ResultGenerated failed, hr %#lx.\n", hr);
@ -1708,7 +1708,7 @@ static void test_Recognition(void)
recognition_result_handler_create_static(&result_handler);
hr = ISpeechContinuousRecognitionSession_add_ResultGenerated(session, &result_handler.IHandler_RecognitionResult_iface, &token);
ok(hr == S_OK, "ISpeechContinuousRecognitionSession_add_ResultGenerated failed, hr %#lx.\n", hr);
ok(token.value != 0xdeadbeef, "Got unexpexted token: %#I64x.\n", token.value);
ok(token.value != 0xdeadbeef, "Got unexpected token: %#I64x.\n", token.value);
recog_state = 0xdeadbeef;
hr = ISpeechRecognizer2_get_State(recognizer2, &recog_state);