Class com.stkouyu.SkEgnManagerTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| activeAndReleaseMic | 0.040s | passed |
| attachAudioUrlCarriesThePlatformLink | 0.137s | passed |
| autoRetryHonoursCustomErrIds | 0.042s | passed |
| autoRetryResubmitsWithTheSameTokenId | 0.119s | passed |
| busyEngine | 0.035s | passed |
| cancelIsSilentAndIdempotent | 0.643s | passed |
| captureErrorEndsWithErrorJson | 0.037s | passed |
| clearActivityListenerDropsCallbacks | 0.343s | passed |
| clearInitListenerDropsPendingCallbacks | 0.025s | passed |
| durationTicksAndAutoStop | 0.035s | passed |
| existsAudioTransLocalChecks | 0.055s | passed |
| existsAudioTransUploadsOtherFormats | 0.038s | passed |
| existsAudioTransWithBothListenerTypes | 0.047s | passed |
| forceRecordIgnoresVadEnd | 0.141s | passed |
| initFailures | 0.033s | passed |
| initPostsCallbacksOnMainThread | 0.026s | passed |
| initVariantsAndEngineTypes | 0.027s | passed |
| invalidSettingsNeverReachTheNetwork | 0.029s | passed |
| microphoneFailures | 0.032s | passed |
| muteMusicRequestsAudioFocus | 0.134s | passed |
| notInitialisedAnswers60007 | 0.023s | passed |
| paragraphResultHasShengtongStyleDetails | 0.035s | passed |
| paramsAndAudioUrlInResult | 0.034s | passed |
| pauseAndRestart | 0.035s | passed |
| permissionDeniedWithRealAudioRecord | 0.031s | passed |
| playbackCallbacks | 0.036s | passed |
| protocolErrorFromPlatform | 0.040s | passed |
| provisionAndParams | 0.027s | passed |
| quickStartAcceptsEitherOrder | 0.027s | passed |
| recordFileLocations | 0.196s | passed |
| recordStopScore | 0.041s | passed |
| recordingStopsAtThe300SecondLimit | 0.119s | passed |
| recycleIsIdempotent | 0.144s | passed |
| sdkLogSettings | 0.028s | passed |
| serverAddressAndTimeouts | 0.049s | passed |
| setOnRecorderListenerReplacesTheListener | 0.038s | passed |
| soundIntensityWithoutVad | 0.043s | passed |
| streamModeFeedsCallerAudio | 0.035s | passed |
| streamPauseDropsAudioAndEmptyStreamIs60002 | 0.038s | passed |
| ticksPauseWithTheRecording | 0.035s | passed |
| vadEndsTheRecording | 0.037s | passed |
| withoutAutoRetryRetryableFailuresAre20009 | 0.125s | passed |
Standard error
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 488738c625c5496295f1313c475896c7 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=488738c625c5496295f1313c475896c7 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 8c86b04d81ce4701ba20435744385982 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 9df4e3d296f34e7eb75a1df785cceaf3 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 1c7e267741334758a56df2e91eb73593 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 fb0815b2f1ba4b539d750d3b9318e0c1 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 79c397a879914f2aa0b0629ae294134f 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 927a8c6157e24c38bd0c9bb1b30dc510 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 465388db4cb14a3fae6c03cbeece88a0 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=465388db4cb14a3fae6c03cbeece88a0 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 04f3f1ab3add425893439f71d6ee9871 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=04f3f1ab3add425893439f71d6ee9871 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 c550b51316b144f197ce3fff5bee1e0c 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 c550b51316b144f197ce3fff5bee1e0c 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 c550b51316b144f197ce3fff5bee1e0c 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=c550b51316b144f197ce3fff5bee1e0c 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 6c9ec5b7a4224ff1994f94926bbbd4cd is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=6c9ec5b7a4224ff1994f94926bbbd4cd 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 a3ef537422c0470c96df49041184c957 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 1d158573db764b52b7caf77aa9a13add 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 5820abc3a0914da49eee38909eacce6b 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 2536772ea27e43fb82ccf4ef8dbf0740 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 8adb931ea27b4055a4a4328ac3dfeb1a is evaluated over REST instead W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 8adb931ea27b4055a4a4328ac3dfeb1a W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 8adb931ea27b4055a4a4328ac3dfeb1a W/YuguStCompat: evaluation failed tokenId=8adb931ea27b4055a4a4328ac3dfeb1a errId=40001: bad W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 37f4eada952c49dd81adbb2aac4c0ad4 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=37f4eada952c49dd81adbb2aac4c0ad4 errId=40001: bad W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d2c200d42d124eaf949741a2599ec9b0 is evaluated over REST instead 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 c26a8d8f17ad47e89ee1a12a35a9ef8b 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 caaa15dfcdee45aabccbf69fa3a29be2 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=caaa15dfcdee45aabccbf69fa3a29be2 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 73647b1ad0834430b712859975c2ce01 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=17a959b58d814767b9867c3473667d84 errId=60001: 音频文件不存在或不可读: null W/YuguStCompat: evaluation failed tokenId=e15c75a36f7947ea8c3c91f06e2b06b3 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks12444030889810550996/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav W/YuguStCompat: evaluation failed tokenId=49c367429e2944d4a21054f06eff89ca errId=60002: 音频为空 W/YuguStCompat: evaluation failed tokenId=fe796793a5674b96aaa5d02e776cc239 errId=60005: 音频短于 1 秒 W/YuguStCompat: evaluation failed tokenId=4352a45226bf4d37bad0895f11ef3f5e errId=60009: 音频大于 50 MB 或长于 300 秒 W/YuguStCompat: evaluation failed tokenId=3873c654ec164d7e968598611119496c 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 8295e07752d24b47bc303fd5e6b61fd8 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 9390be6059a3420794132624e0b1a707 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 bc127b57920d44c8aeb466ab56cdb5d9 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=bc127b57920d44c8aeb466ab56cdb5d9 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b8c68837380145aab3e39a08aabc3ce5 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=b8c68837380145aab3e39a08aabc3ce5 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 441c147ac5d94b23a60963a311484165 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 441c147ac5d94b23a60963a311484165 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 40a618e4c70348589dc518f7a07d204e 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 61c3498364b4486cbe35efbb3f9328da 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 e56d5653bdee47c6824d5df93f70d116 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 4dfb083f0d0c492ba751d4500a15c438 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 0691b1e05e3e456dba596707742bc0c8 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=0691b1e05e3e456dba596707742bc0c8 errId=60005: 音频短于 1 秒 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 6bf1ada26f2a40ebad626cf2f585ee28 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 0e7d9e46c1074ca5b0e83bd9449bfe6f 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 53cf78ebf4514130b146b1b96eb19b9b 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 0bd503c8cb41440cb6935c6c195cae37 is evaluated over REST instead E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3