Class com.stkouyu.SkEgnManagerTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| activeAndReleaseMic | 0.035s | passed |
| attachAudioUrlCarriesThePlatformLink | 0.124s | passed |
| autoRetryHonoursCustomErrIds | 0.045s | passed |
| autoRetryResubmitsWithTheSameTokenId | 0.125s | passed |
| busyEngine | 0.034s | passed |
| cancelIsSilentAndIdempotent | 0.648s | passed |
| captureErrorEndsWithErrorJson | 0.041s | passed |
| clearActivityListenerDropsCallbacks | 0.338s | passed |
| clearInitListenerDropsPendingCallbacks | 0.030s | passed |
| durationTicksAndAutoStop | 0.035s | passed |
| existsAudioTransLocalChecks | 0.057s | passed |
| existsAudioTransUploadsOtherFormats | 0.044s | passed |
| existsAudioTransWithBothListenerTypes | 0.049s | passed |
| forceRecordIgnoresVadEnd | 0.141s | passed |
| initFailures | 0.030s | passed |
| initPostsCallbacksOnMainThread | 0.034s | passed |
| initVariantsAndEngineTypes | 0.029s | passed |
| invalidSettingsNeverReachTheNetwork | 0.029s | passed |
| microphoneFailures | 0.034s | passed |
| muteMusicRequestsAudioFocus | 0.135s | passed |
| notInitialisedAnswers60007 | 0.041s | passed |
| paragraphResultHasShengtongStyleDetails | 0.036s | passed |
| paramsAndAudioUrlInResult | 0.038s | passed |
| pauseAndRestart | 0.035s | passed |
| permissionDeniedWithRealAudioRecord | 0.030s | passed |
| playbackCallbacks | 0.040s | passed |
| protocolErrorFromPlatform | 0.042s | passed |
| provisionAndParams | 0.027s | passed |
| quickStartAcceptsEitherOrder | 0.033s | passed |
| recordFileLocations | 0.205s | passed |
| recordStopScore | 0.048s | passed |
| recordingStopsAtThe300SecondLimit | 0.120s | passed |
| recycleIsIdempotent | 0.135s | passed |
| sdkLogSettings | 0.035s | passed |
| serverAddressAndTimeouts | 0.052s | passed |
| setOnRecorderListenerReplacesTheListener | 0.037s | passed |
| soundIntensityWithoutVad | 0.046s | passed |
| streamModeFeedsCallerAudio | 0.038s | passed |
| streamPauseDropsAudioAndEmptyStreamIs60002 | 0.038s | passed |
| ticksPauseWithTheRecording | 0.038s | passed |
| vadEndsTheRecording | 0.044s | passed |
| withoutAutoRetryRetryableFailuresAre20009 | 0.132s | passed |
Standard error
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 508e9665d10c4438bf0b15bb173d5914 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=508e9665d10c4438bf0b15bb173d5914 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 1f532c4d8d9a4198ac0c8f6b6045b0b0 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 8c1ddeced7a543e38ac699fce54e1387 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 798781ea3c634c9996b1e5f01de77fe2 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 e151df77ba4f44ffaa40c665895d0e52 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 bcbb33167fd94133a6c421f2d5ecb960 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 8279a2291a834f0fb25f96d2fdf9ccfa 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 76122a384a2d4b4099d0fa869eaf7c08 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=76122a384a2d4b4099d0fa869eaf7c08 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 8cb70115e4e04a1991b1f3fcae35e064 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=8cb70115e4e04a1991b1f3fcae35e064 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 43b9ac9dc6d3480aa86777a0630f5f79 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 43b9ac9dc6d3480aa86777a0630f5f79 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 43b9ac9dc6d3480aa86777a0630f5f79 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=43b9ac9dc6d3480aa86777a0630f5f79 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 86fbe990e959481eae8bee15e12e30cb is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=86fbe990e959481eae8bee15e12e30cb 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 713530b0fbce4d1f85af852972ff7316 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 35f04b050e7c467ea97070696db2488c 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 d0f868bcd18c47c9b7f3586f8df5a459 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 08cbd8bd0c764373ba35f143ce4d20b5 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 29a8df3119c1485b8a6761b604aed200 is evaluated over REST instead W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 29a8df3119c1485b8a6761b604aed200 W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 29a8df3119c1485b8a6761b604aed200 W/YuguStCompat: evaluation failed tokenId=29a8df3119c1485b8a6761b604aed200 errId=40001: bad W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8821b4a85aab4c999c312f4de24b102a is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=8821b4a85aab4c999c312f4de24b102a 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 28e9f9502f824181b20e1eba13936078 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 f4931927001e456e95b3f27ffd3e040f is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=f4931927001e456e95b3f27ffd3e040f errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId bb02adfa2612444380cdfac495037672 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=fded5ad96e5a4024a625d61de0d62ff6 errId=60001: 音频文件不存在或不可读: null W/YuguStCompat: evaluation failed tokenId=87eee9eef33f4f3b8776676a626ea16b errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks14749975531615062750/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav W/YuguStCompat: evaluation failed tokenId=d2385cda105a45728754fd295e3fac47 errId=60002: 音频为空 W/YuguStCompat: evaluation failed tokenId=70c652c9a11e4c2aa2803236c61226a9 errId=60005: 音频短于 1 秒 W/YuguStCompat: evaluation failed tokenId=63c2bf0156204fab93a89e3fbccad756 errId=60009: 音频大于 50 MB 或长于 300 秒 W/YuguStCompat: evaluation failed tokenId=02856e03573f4d3bb019090ccae1cd0f 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 5a712bc7d47a4ab9bc67846544f26abc 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 f4b3a1fe3eee46789534c43d01b5e5f2 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 43fd87360a5d4a5884f6cbb8c2b9ac0a is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=43fd87360a5d4a5884f6cbb8c2b9ac0a errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 30275dd17bc340128d6c125647c0f8be is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=30275dd17bc340128d6c125647c0f8be 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 8fa41e98cb394ca2925632fdb9bffb58 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 8fa41e98cb394ca2925632fdb9bffb58 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1cd5e71b6e024c7587b2da090929ef2e 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 27fa42c7ba7e4425b75af78478bcce03 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 7e7e919ab1ff491f84c65fdf4ce6c94a 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 76b414d48ae24776ac61281709dc36d9 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 7ee01e54f02142b9bad6a1d70337b4b3 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 51b0a05e557e4ed39c8516d4ca8f99ba 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=51b0a05e557e4ed39c8516d4ca8f99ba errId=60005: 音频短于 1 秒 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 65a63cfdbb314ba4b5536e76375e3ce2 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 c25df187e1d34264aa625845837f8751 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 2c9fba795b4f49dabf66eb4cfd147d23 is evaluated over REST instead E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3