Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.298s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.035s passed
attachAudioUrlCarriesThePlatformLink 0.121s passed
autoRetryHonoursCustomErrIds 0.041s passed
autoRetryResubmitsWithTheSameTokenId 0.123s passed
busyEngine 0.045s passed
cancelIsSilentAndIdempotent 0.642s passed
captureErrorEndsWithErrorJson 0.044s passed
clearActivityListenerDropsCallbacks 0.340s passed
clearInitListenerDropsPendingCallbacks 0.027s passed
durationTicksAndAutoStop 0.038s passed
existsAudioTransLocalChecks 0.060s passed
existsAudioTransUploadsOtherFormats 0.044s passed
existsAudioTransWithBothListenerTypes 0.067s passed
forceRecordIgnoresVadEnd 0.142s passed
initFailures 0.032s passed
initPostsCallbacksOnMainThread 0.030s passed
initVariantsAndEngineTypes 0.025s passed
invalidSettingsNeverReachTheNetwork 0.027s passed
microphoneFailures 0.032s passed
muteMusicRequestsAudioFocus 0.138s passed
notInitialisedAnswers60007 0.027s passed
paragraphResultHasShengtongStyleDetails 0.036s passed
paramsAndAudioUrlInResult 0.034s passed
pauseAndRestart 0.034s passed
permissionDeniedWithRealAudioRecord 0.029s passed
playbackCallbacks 0.040s passed
protocolErrorFromPlatform 0.046s passed
provisionAndParams 0.028s passed
quickStartAcceptsEitherOrder 0.031s passed
recordFileLocations 0.195s passed
recordStopScore 0.044s passed
recordingStopsAtThe300SecondLimit 0.102s passed
recycleIsIdempotent 0.133s passed
sdkLogSettings 0.028s passed
serverAddressAndTimeouts 0.057s passed
setOnRecorderListenerReplacesTheListener 0.049s passed
soundIntensityWithoutVad 0.047s passed
streamModeFeedsCallerAudio 0.037s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.046s passed
ticksPauseWithTheRecording 0.036s passed
vadEndsTheRecording 0.040s passed
withoutAutoRetryRetryableFailuresAre20009 0.126s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b71f209897e94fe79e133560ff3bc82e is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=b71f209897e94fe79e133560ff3bc82e 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 f0c270fa8a1645af8fc077eeced3214e 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 8b236dc83d744bb1a8d369892ef5f598 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 75ca5236faf043e8b431524c4d13d3f5 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 ddd32b02bfea4ebdb5171b4517e816a9 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 b4aa40421a0f4da7a09c51b1c765a42f 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 547efd54f58c4117b94c3a6b24a0ee1e 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 f31b5d14faeb45ff82d6ca74ce47173b is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f31b5d14faeb45ff82d6ca74ce47173b 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 b7cdc3be6d76471ea8f6abec4bfd438a 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=b7cdc3be6d76471ea8f6abec4bfd438a 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 a8b5e9bc32e94ddbbe9d2745a40ab7e8 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 a8b5e9bc32e94ddbbe9d2745a40ab7e8
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 a8b5e9bc32e94ddbbe9d2745a40ab7e8
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=a8b5e9bc32e94ddbbe9d2745a40ab7e8 errId=20009: 网络或服务端临时故障,可重评,autoRetry 默认重评此码: HTTP 503 HTTP 503 (attempts 3)
W/YuguStCompat: evaluation failed tokenId=7f58b67e3d094494aa5ed1a0434b0230 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a0de1d0ba392471297f777d953e31fa8 is evaluated over REST instead
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 19877c1babcf4d58b3f2286781a182c7 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 df9e334c98e549408a83428f6aa1000f 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 4442fc12caab4651bc37e7200bb9a0b9 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 57769e89ce834764a3340d8628011147 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 c6db499c822a490db357c089c5443958 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId c6db499c822a490db357c089c5443958
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId c6db499c822a490db357c089c5443958
W/YuguStCompat: evaluation failed tokenId=c6db499c822a490db357c089c5443958 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f0f365d92be64f9c8c14ae101c8321b4 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f0f365d92be64f9c8c14ae101c8321b4 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 e97af91a9dff4a0a9c0694a4292dae16 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e97af91a9dff4a0a9c0694a4292dae16 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ed2ac0beb8b5496ba3d4b38e33abb955 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=b31ff9bb81864854a4d955aef9ea9097 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=a944f21c03ae43ba9c2d8395c15e8f26 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks2219198764237783995/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=04661baebaee4343953c075406946816 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=ffca3a4945f84ef2bca043e67baaaae9 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=ca2d9b40bc7b44108e66e435d8e3fcf8 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=1b0822c6f7b24cb1b5a3c2b394f5bea3 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 8a1828948b624ac0aebd4d4af14c0f05 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 ed89c5485ba9412d9c6ba8bc2508c22e 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 52ee872b55974939b365084f2d47f4db is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=52ee872b55974939b365084f2d47f4db errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 0d0dd1892a744fd086d4fc96a9ecf8f7 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=0d0dd1892a744fd086d4fc96a9ecf8f7 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 60324e11019d4aaea5b283ed72ab654e 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 60324e11019d4aaea5b283ed72ab654e
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 5e2b89a499544c749072cc6aa0d8a1bb 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 fb001fc9963f4ee489489d220d36efe7 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 83c3d36ac3a24d5da105ca8db35a850a 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 8b37ecf1a7694b0d9e967a7ca14b36f9 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 361682ae707841f4884c4e86a704a01f 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 af2b2349df0b4da9ab2e3619d05d54a8 is evaluated over REST instead
W/YuguStCompat: startRecord rejected: engine is busy (RECORDING)
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a2276eb2f65f494b89f0bc40873e72dc is evaluated over REST instead
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=a2276eb2f65f494b89f0bc40873e72dc errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 134893362de3494da015b19fbb7578e3 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 4aff765b2ac1478b868fab2551628bd8 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 d1bba6ae40b24edd8d6c7df0f7cecc2b 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 b51003d553b04032b3cb28dedeea0c87 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3