Class com.stkouyu.SkEgnManagerTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| activeAndReleaseMic | 0.041s | passed |
| attachAudioUrlCarriesThePlatformLink | 0.120s | passed |
| autoRetryHonoursCustomErrIds | 0.042s | passed |
| autoRetryResubmitsWithTheSameTokenId | 0.123s | passed |
| busyEngine | 0.033s | passed |
| cancelIsSilentAndIdempotent | 0.642s | passed |
| captureErrorEndsWithErrorJson | 0.037s | passed |
| clearActivityListenerDropsCallbacks | 0.337s | passed |
| clearInitListenerDropsPendingCallbacks | 0.033s | passed |
| durationTicksAndAutoStop | 0.035s | passed |
| existsAudioTransLocalChecks | 0.052s | passed |
| existsAudioTransUploadsOtherFormats | 0.038s | passed |
| existsAudioTransWithBothListenerTypes | 0.049s | passed |
| forceRecordIgnoresVadEnd | 0.143s | passed |
| initFailures | 0.031s | passed |
| initPostsCallbacksOnMainThread | 0.031s | passed |
| initVariantsAndEngineTypes | 0.027s | passed |
| invalidSettingsNeverReachTheNetwork | 0.031s | passed |
| microphoneFailures | 0.037s | passed |
| muteMusicRequestsAudioFocus | 0.141s | passed |
| notInitialisedAnswers60007 | 0.027s | passed |
| paragraphResultHasShengtongStyleDetails | 0.033s | passed |
| paramsAndAudioUrlInResult | 0.039s | passed |
| pauseAndRestart | 0.029s | passed |
| permissionDeniedWithRealAudioRecord | 0.034s | passed |
| playbackCallbacks | 0.038s | passed |
| protocolErrorFromPlatform | 0.040s | passed |
| provisionAndParams | 0.024s | passed |
| quickStartAcceptsEitherOrder | 0.031s | passed |
| recordFileLocations | 0.197s | passed |
| recordStopScore | 0.044s | passed |
| recordingStopsAtThe300SecondLimit | 0.115s | passed |
| recycleIsIdempotent | 0.129s | passed |
| sdkLogSettings | 0.042s | passed |
| serverAddressAndTimeouts | 0.050s | passed |
| setOnRecorderListenerReplacesTheListener | 0.038s | passed |
| soundIntensityWithoutVad | 0.046s | passed |
| streamModeFeedsCallerAudio | 0.038s | passed |
| streamPauseDropsAudioAndEmptyStreamIs60002 | 0.039s | passed |
| ticksPauseWithTheRecording | 0.033s | passed |
| vadEndsTheRecording | 0.039s | passed |
| withoutAutoRetryRetryableFailuresAre20009 | 0.127s | passed |
Standard error
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b092015271324e96bb0e80ab0e56c297 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=b092015271324e96bb0e80ab0e56c297 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 1035e9b2cfb84be4b0f821a3e2a4830c 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 b58071fb72894c738df41123144b2e5b 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 daa5ffcf2b4542aba52361d1cafd4165 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 8fefb981a2044dffb92eff9853a716bb 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 7b1c8c087e4747c58b31b8631502f1a0 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 41d6d1d5cb754f3eb7e6df5228bad172 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 7ce0eba322c94d0f8a550663c759c833 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=7ce0eba322c94d0f8a550663c759c833 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 2c62faf1f66d4999b9147c996fc419ae is evaluated over REST instead 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 9468eb8564774a9ea3be391a1a419866 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=9468eb8564774a9ea3be391a1a419866 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 88dbf2b9c98148e996cb396459597ca1 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 88dbf2b9c98148e996cb396459597ca1 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 88dbf2b9c98148e996cb396459597ca1 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=88dbf2b9c98148e996cb396459597ca1 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 12550a8e39b143ea9bcaf243983f1850 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=12550a8e39b143ea9bcaf243983f1850 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 34569103174944108b7db3907d8cf7be 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 8e467ad726854e32ba2ef98dc4ae2c77 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 f78f01c61f2048b7ac22b4dac5a743b2 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 a8002b6e88df43f489361c8133a8407a 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 47ef0a361f4d4f60888eb05411eb5f2d 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 90ca8cdb1d9549ecb9c6ab5830d72664 is evaluated over REST instead W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 90ca8cdb1d9549ecb9c6ab5830d72664 W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 90ca8cdb1d9549ecb9c6ab5830d72664 W/YuguStCompat: evaluation failed tokenId=90ca8cdb1d9549ecb9c6ab5830d72664 errId=40001: bad W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 6ff0bce6917141a09890eca73e0847db is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=6ff0bce6917141a09890eca73e0847db 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 b577b71abb2c40359130944dc175baff is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=b577b71abb2c40359130944dc175baff errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f7a37f17b98a4195ae58490814371004 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=2de07d6cc7ed40e3a42d5ffe6132bb37 errId=60001: 音频文件不存在或不可读: null W/YuguStCompat: evaluation failed tokenId=66612804cdd74d8d8a58032fa67a9203 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks14247070773466813266/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav W/YuguStCompat: evaluation failed tokenId=e8d0ee74c09944a0abf3c5b32b73d824 errId=60002: 音频为空 W/YuguStCompat: evaluation failed tokenId=d322301bd34f46c6988b2197b49bb8fd errId=60005: 音频短于 1 秒 W/YuguStCompat: evaluation failed tokenId=f2bc213989324b1e867205ecd26fba37 errId=60009: 音频大于 50 MB 或长于 300 秒 W/YuguStCompat: evaluation failed tokenId=a3eb165a066941c097553421c156737d 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 de5daa504ddf4a21ab50a8241592db1b 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 6680a641cbdd497e8509e16347dd817c 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 bd34e648e62b4edcbd3268bfe56d61d5 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=bd34e648e62b4edcbd3268bfe56d61d5 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f1ab1c227f1b4e0db3b69648ec71e5b8 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=f1ab1c227f1b4e0db3b69648ec71e5b8 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 9005f278292a4286b523a80a5ecb81cf 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 9005f278292a4286b523a80a5ecb81cf W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 84d2e8d105e04303a8d1f124a3361ba5 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 6abdd1b5497147ab89155f96b869e9da 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 93fe5b20430f4e0089eece3c979d24ad 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 2f4dbf5c2ad24bc7be316a9833465fa4 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 da318a50317c4df98d17900213990bc5 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 1ce1793a265d4a7eb3b067119fd1429d 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=1ce1793a265d4a7eb3b067119fd1429d errId=60005: 音频短于 1 秒 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 29405dbadfc64c0c91532c0954aef8b8 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 31fdc5150a48402387b7cedb8c1ff2de 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 393a4d939052424aac7a91ebae8d7778 is evaluated over REST instead E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3