Class com.stkouyu.SkEgnManagerTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| activeAndReleaseMic | 0.050s | passed |
| attachAudioUrlCarriesThePlatformLink | 0.145s | passed |
| autoRetryHonoursCustomErrIds | 0.052s | passed |
| autoRetryResubmitsWithTheSameTokenId | 0.141s | passed |
| busyEngine | 0.060s | passed |
| cancelIsSilentAndIdempotent | 0.670s | passed |
| captureErrorEndsWithErrorJson | 0.063s | passed |
| clearActivityListenerDropsCallbacks | 0.352s | passed |
| clearInitListenerDropsPendingCallbacks | 0.038s | passed |
| durationTicksAndAutoStop | 0.042s | passed |
| existsAudioTransLocalChecks | 0.075s | passed |
| existsAudioTransUploadsOtherFormats | 0.053s | passed |
| existsAudioTransWithBothListenerTypes | 0.078s | passed |
| forceRecordIgnoresVadEnd | 0.158s | passed |
| initFailures | 0.043s | passed |
| initPostsCallbacksOnMainThread | 0.042s | passed |
| initVariantsAndEngineTypes | 0.037s | passed |
| invalidSettingsNeverReachTheNetwork | 0.047s | passed |
| microphoneFailures | 0.044s | passed |
| muteMusicRequestsAudioFocus | 0.162s | passed |
| notInitialisedAnswers60007 | 0.041s | passed |
| paragraphResultHasShengtongStyleDetails | 0.050s | passed |
| paramsAndAudioUrlInResult | 0.043s | passed |
| pauseAndRestart | 0.043s | passed |
| permissionDeniedWithRealAudioRecord | 0.044s | passed |
| playbackCallbacks | 0.083s | passed |
| protocolErrorFromPlatform | 0.067s | passed |
| provisionAndParams | 0.035s | passed |
| quickStartAcceptsEitherOrder | 0.050s | passed |
| recordFileLocations | 0.215s | passed |
| recordStopScore | 0.100s | passed |
| recordingStopsAtThe300SecondLimit | 0.175s | passed |
| recycleIsIdempotent | 0.146s | passed |
| sdkLogSettings | 0.037s | passed |
| serverAddressAndTimeouts | 0.067s | passed |
| setOnRecorderListenerReplacesTheListener | 0.057s | passed |
| soundIntensityWithoutVad | 0.057s | passed |
| streamModeFeedsCallerAudio | 0.054s | passed |
| streamPauseDropsAudioAndEmptyStreamIs60002 | 0.063s | passed |
| ticksPauseWithTheRecording | 0.046s | passed |
| vadEndsTheRecording | 0.052s | passed |
| withoutAutoRetryRetryableFailuresAre20009 | 0.140s | passed |
Standard error
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8ab8b0a200b84e2382452b729c91611f is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=8ab8b0a200b84e2382452b729c91611f errId=90005: response is not a JSON object W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d0edde3be8234639b5edb578b647c287 is evaluated over REST instead W/YuguStCompat: microphone unavailable: fake microphone denied W/YuguStCompat: start failed (errId 60004): microphone unavailable or permission denied: fake microphone denied W/YuguStCompat: microphone unavailable: fake microphone denied W/YuguStCompat: start failed (errId 60004): microphone unavailable or permission denied: fake microphone denied W/YuguStCompat: microphone unavailable: fake microphone busy W/YuguStCompat: start failed (errId 60004): microphone unavailable or permission denied: fake microphone busy W/YuguStCompat: activeMic failed: fake microphone denied W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d18d769dd3ee48a69a3c36d47914a58d is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=d18d769dd3ee48a69a3c36d47914a58d errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8fcd6e42a00b428c9be80ba7ec8e6cc4 is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 47899f6691a541a6b07cb9d5f4f23a04 is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId fdc353eb9fc143fc84cc242fbbe5d4ed is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 68e8d87ed4914815a023096f324570f6 is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ba412f235b38430aa9d84b3bb857e248 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=ba412f235b38430aa9d84b3bb857e248 errId=60002: 音频为空 E/YuguStCompat: init failed: appKey is empty E/YuguStCompat: init failed: secretKey is empty E/YuguStCompat: init failed: server address needs http, https, ws or wss scheme: ftp://example.com W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4d995307654e4bf084a272de279c5651 is evaluated over REST instead W/YuguStCompat: retry 1/2 in 227 ms: HTTP 503 W/YuguStCompat: retry 2/2 in 444 ms: HTTP 503 W/YuguStCompat: evaluation failed tokenId=4d995307654e4bf084a272de279c5651 errId=20009: 网络或服务端临时故障,可重评,autoRetry 默认重评此码: HTTP 503 HTTP 503 (attempts 3) W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 9d4e704879d64f62b29d20e690957895 is evaluated over REST instead W/YuguStCompat: retry 1/2 in 177 ms: HTTP 503 W/YuguStCompat: retry 2/2 in 346 ms: HTTP 503 W/YuguStCompat: autoRetry 1/2 for errId 20009 in 220 ms, same tokenId 9d4e704879d64f62b29d20e690957895 W/YuguStCompat: retry 1/2 in 248 ms: HTTP 503 W/YuguStCompat: retry 2/2 in 369 ms: HTTP 503 W/YuguStCompat: autoRetry 2/2 for errId 20009 in 346 ms, same tokenId 9d4e704879d64f62b29d20e690957895 W/YuguStCompat: retry 1/2 in 196 ms: HTTP 503 W/YuguStCompat: retry 2/2 in 468 ms: HTTP 503 W/YuguStCompat: evaluation failed tokenId=9d4e704879d64f62b29d20e690957895 errId=20009: 网络或服务端临时故障,可重评,autoRetry 默认重评此码: HTTP 503 HTTP 503 (attempts 3) W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b1e8e85a809f4d6b9e41e92e16844d76 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=b1e8e85a809f4d6b9e41e92e16844d76 errId=60002: 音频为空 W/YuguStCompat: microphone unavailable: RECORD_AUDIO permission not granted W/YuguStCompat: start failed (errId 60004): microphone unavailable or permission denied: RECORD_AUDIO permission not granted W/YuguStCompat: activeMic failed: RECORD_AUDIO permission not granted W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 904b45fed7264fc08062157b08b1d4b9 is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7439c832c74445e9b2e9f48f7c6dcfcb is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 284b006b719d4390acbca905b5b799b5 is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c352586f7abc4904ac084bbf3e7f525d is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 71df0a58a4974f03a4d01127c3c8689d is evaluated over REST instead W/YuguStCompat: log upload is not available in the compat layer; logs stay on the device I/YuguStCompat: engine ready: appKey=k*** base=https://open.shengzhiai.com version=yugu-stkouyu-compat/2.3.0 (api 1.0.62) W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1793ca9cae484f9e943f337d631a61bd is evaluated over REST instead W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 1793ca9cae484f9e943f337d631a61bd W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 1793ca9cae484f9e943f337d631a61bd W/YuguStCompat: evaluation failed tokenId=1793ca9cae484f9e943f337d631a61bd errId=40001: bad W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId dc41076e7f684e9e9e65a79c44a69519 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=dc41076e7f684e9e9e65a79c44a69519 errId=40001: bad W/YuguStCompat: startRecord rejected (errId 60007): 引擎未初始化 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId e8ffa1c267504018a183482bce93c54b is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=e8ffa1c267504018a183482bce93c54b errId=60005: 音频短于 1 秒 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId cf90d155485649f7aa086118f72f6c98 is evaluated over REST instead W/YuguStCompat: initParams: setting would be rejected with errId 60003: 不支持的评测内核:open.eval D/YuguStCompat: initParams: sent.eval.cn fields [refText] W/YuguStCompat: evaluation failed tokenId=75de345586004c39a516c08b129dcd77 errId=60001: 音频文件不存在或不可读: null W/YuguStCompat: evaluation failed tokenId=adb66a7d70d547769559dbe19e9fff14 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks12503011070439806882/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav W/YuguStCompat: evaluation failed tokenId=b07665d5ef764b7da1c7c52364b20997 errId=60002: 音频为空 W/YuguStCompat: evaluation failed tokenId=65da642a148542da9c6d58fed120131c errId=60005: 音频短于 1 秒 W/YuguStCompat: evaluation failed tokenId=75d72b893ccc4396b6bab00d052581b1 errId=60009: 音频大于 50 MB 或长于 300 秒 W/YuguStCompat: evaluation failed tokenId=802db4da6b044963badb0399b029fc52 errId=60009: 音频大于 50 MB 或长于 300 秒 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8af043eb84844fe699905fe3fc4e83a4 is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b922040cdd8a4eb98fe7e85f54f7a6ef is evaluated over REST instead W/YuguStCompat: start failed (errId 60001): cannot create record file: cannot create /proc/forbidden-dir W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 686a2a369c3a46848748179179af8769 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=686a2a369c3a46848748179179af8769 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1c862dee998c4d8e8c37b5b72beabb65 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=1c862dee998c4d8e8c37b5b72beabb65 errId=60005: 音频短于 1 秒 W/YuguStCompat: startRecord rejected (errId 60003): 不支持的评测内核:open.eval W/YuguStCompat: startRecord rejected (errId 60006): refText 为空 W/YuguStCompat: existsAudioTrans rejected (errId 60003): 不支持的评测内核:sent.eval.kr W/YuguStCompat: startRecord rejected (errId 60003): 不支持的评测内核:未指定 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 86804dac010d47878ff104889e83977f is evaluated over REST instead W/YuguStCompat: retry 1/2 in 227 ms: HTTP 500 code=50000 W/YuguStCompat: retry 2/2 in 444 ms: HTTP 500 code=50000 W/YuguStCompat: autoRetry 1/2 for errId 20009 in 177 ms, same tokenId 86804dac010d47878ff104889e83977f W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 2dd09d69c5d34767a423d6ef82875bf0 is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 6e8d5bf0f23e472e93230d7fc4324a18 is evaluated over REST instead W/YuguStCompat: startRecord rejected (errId 60007): 引擎未初始化 W/YuguStCompat: existsAudioTrans rejected (errId 60007): 引擎未初始化 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ac37b34ef42744ca8011a1762640d795 is evaluated over REST instead W/YuguStCompat: engine type native is not available in the compat layer; running on cloud W/YuguStCompat: engine type native is not available in the compat layer; running on cloud W/YuguStCompat: engine type multi is not available in the compat layer; running on cloud W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 67580b11ad0847d3b73f2bad95a5edd6 is evaluated over REST instead W/YuguStCompat: playback failed: no audio file to play V/MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false V/MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null V/MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false V/MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null V/MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false V/MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null W/YuguStCompat: playback failed: cannot play /no/such/file.wav: Don't know what to do with dataSource org.robolectric.shadows.util.DataSource@b1b3b0a3 - either add an exception with addException() or media info with addMediaInfo() W/YuguStCompat: feed ignored: no stream session is recording (use RecordSetting.setIsStream(true) and startRecord first) W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 74cdaeb03ffd44668f19c5715fac538f is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c55380967020415da5a7d4bcdd175bbe is evaluated over REST instead W/YuguStCompat: startRecord rejected: engine is busy (RECORDING) W/YuguStCompat: startRecord rejected: engine is busy (RECORDING) W/YuguStCompat: startRecord rejected (errId 60008): 引擎正忙,上一次评测未结束 W/YuguStCompat: existsAudioTrans rejected (errId 60008): 引擎正忙,上一次评测未结束 W/YuguStCompat: startRecord rejected: engine is busy (STOP) W/YuguStCompat: evaluation failed tokenId=c55380967020415da5a7d4bcdd175bbe errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 42c3fbc4ebc0402aad84d97419066f88 is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 68b5fc05c85444b39a84c38a348f5fc8 is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b7c34e1ecf5e401ca3ba7b32eda6aefe is evaluated over REST instead W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a46dc28b932d46d3a393b35e9329b7d1 is evaluated over REST instead E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3