Class com.stkouyu.SkEgnManagerTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| activeAndReleaseMic | 0.035s | passed |
| attachAudioUrlCarriesThePlatformLink | 0.121s | passed |
| autoRetryHonoursCustomErrIds | 0.038s | passed |
| autoRetryResubmitsWithTheSameTokenId | 0.118s | passed |
| busyEngine | 0.034s | passed |
| cancelIsSilentAndIdempotent | 0.645s | passed |
| captureErrorEndsWithErrorJson | 0.040s | passed |
| clearActivityListenerDropsCallbacks | 0.338s | passed |
| clearInitListenerDropsPendingCallbacks | 0.024s | passed |
| durationTicksAndAutoStop | 0.036s | passed |
| existsAudioTransLocalChecks | 0.055s | passed |
| existsAudioTransUploadsOtherFormats | 0.040s | passed |
| existsAudioTransWithBothListenerTypes | 0.056s | passed |
| forceRecordIgnoresVadEnd | 0.141s | passed |
| initFailures | 0.030s | passed |
| initPostsCallbacksOnMainThread | 0.029s | passed |
| initVariantsAndEngineTypes | 0.023s | passed |
| invalidSettingsNeverReachTheNetwork | 0.026s | passed |
| microphoneFailures | 0.037s | passed |
| muteMusicRequestsAudioFocus | 0.134s | passed |
| notInitialisedAnswers60007 | 0.024s | passed |
| paragraphResultHasShengtongStyleDetails | 0.048s | passed |
| paramsAndAudioUrlInResult | 0.034s | passed |
| pauseAndRestart | 0.053s | passed |
| permissionDeniedWithRealAudioRecord | 0.030s | passed |
| playbackCallbacks | 0.034s | passed |
| protocolErrorFromPlatform | 0.043s | passed |
| provisionAndParams | 0.028s | passed |
| quickStartAcceptsEitherOrder | 0.028s | passed |
| recordFileLocations | 0.197s | passed |
| recordStopScore | 0.043s | passed |
| recordingStopsAtThe300SecondLimit | 0.144s | passed |
| recycleIsIdempotent | 0.130s | passed |
| sdkLogSettings | 0.027s | passed |
| serverAddressAndTimeouts | 0.049s | passed |
| setOnRecorderListenerReplacesTheListener | 0.033s | passed |
| soundIntensityWithoutVad | 0.047s | passed |
| streamModeFeedsCallerAudio | 0.034s | passed |
| streamPauseDropsAudioAndEmptyStreamIs60002 | 0.044s | passed |
| ticksPauseWithTheRecording | 0.035s | passed |
| vadEndsTheRecording | 0.038s | passed |
| withoutAutoRetryRetryableFailuresAre20009 | 0.131s | passed |
Standard error
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 152339921a9e41e1bf62b1d825af4725 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=152339921a9e41e1bf62b1d825af4725 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 8db290bea0454019917e7fe1a793e122 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 985a4526321b469084c490db6523eb99 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 6c5852e2216e47f99fb3aa7d888f4aec 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 cc5bd27f2d5941cabb03a8197768166f 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 0555d33128304d9eafb7c6e38cd4dc57 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 f557dfe791654dbca4ad10a22885bc70 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 3e27eb175fc04054849f9a3997480b2a is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=3e27eb175fc04054849f9a3997480b2a errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId cb9b91e139d948e2b242841e741ea3eb 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 7cb960dba4204a8893e8b80ea097b1e0 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=7cb960dba4204a8893e8b80ea097b1e0 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 0135f9ab08b84a31ab1abb6f3647942d 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 0135f9ab08b84a31ab1abb6f3647942d 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 0135f9ab08b84a31ab1abb6f3647942d 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=0135f9ab08b84a31ab1abb6f3647942d 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 07ffa520bf344ee8ae1422e78701d51d is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=07ffa520bf344ee8ae1422e78701d51d 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 2ba5149be7624be3ac540a0f6db2ae6e 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 59e3d88b7cc348898dae78f683bd7f79 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 29b4db48d8f841d99139ad2a14f0e466 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 16a8aa9bc09349a28444d202effaf830 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 556cb5ce83f14015a45b0639e9064bb0 is evaluated over REST instead W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 556cb5ce83f14015a45b0639e9064bb0 W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 556cb5ce83f14015a45b0639e9064bb0 W/YuguStCompat: evaluation failed tokenId=556cb5ce83f14015a45b0639e9064bb0 errId=40001: bad W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId afda475e2b2a49af8556c352d28feae2 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=afda475e2b2a49af8556c352d28feae2 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 f3a58286a96f45f788184bb3e5de2b79 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=f3a58286a96f45f788184bb3e5de2b79 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId e222a7f446fd439183d4f5ea8431b290 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=df0cb7fe9c654b338b67436e68bb4d2d errId=60001: 音频文件不存在或不可读: null W/YuguStCompat: evaluation failed tokenId=3d28996635784a22b8f6ef324d709e70 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks1821401487688504143/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav W/YuguStCompat: evaluation failed tokenId=3cc38483d5a2447890ac4ec32b722009 errId=60002: 音频为空 W/YuguStCompat: evaluation failed tokenId=93fef5bed77b4939b91558e7b85d54d8 errId=60005: 音频短于 1 秒 W/YuguStCompat: evaluation failed tokenId=6a2c2cac1fdb4867b49199125a03741c errId=60009: 音频大于 50 MB 或长于 300 秒 W/YuguStCompat: evaluation failed tokenId=0a43df3f19bc4f20bd27509c216e1404 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 84bed03aa0644b54b2f2d2be39b727ef 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 4b716b741d51490cbcb8db98de84b53f 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 ed11d3114cf84b31b4e41c3d86c4c126 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=ed11d3114cf84b31b4e41c3d86c4c126 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 56b98ccb6cc34e5c967a23c63f2f0cd4 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=56b98ccb6cc34e5c967a23c63f2f0cd4 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 840e7a799d8a4d05b4546d9c6ee12181 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 840e7a799d8a4d05b4546d9c6ee12181 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 167a2b12be45498292d8d41bb267d5f7 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 bff7c654b61545b2b66db68f465da11c 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 7bc0928972eb43f6862309d122dd1baa 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 5fc8d9b15c1148bb9fe5d4e7dc5aacbe is evaluated over REST instead W/YuguStCompat: startRecord rejected: engine is busy (RECORDING) 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 72edb3efc4794db6a2895e0d465283ef is evaluated over REST instead 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=72edb3efc4794db6a2895e0d465283ef errId=60005: 音频短于 1 秒 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c8753cb04b13459f8e96b98f74829f92 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 f4db39d2ab034a24b76542c31729058c 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 734680ed36e24eeaa62d316830eef552 is evaluated over REST instead E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3