Class com.stkouyu.SkEgnManagerTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| activeAndReleaseMic | 0.033s | passed |
| attachAudioUrlCarriesThePlatformLink | 0.121s | passed |
| autoRetryHonoursCustomErrIds | 0.042s | passed |
| autoRetryResubmitsWithTheSameTokenId | 0.118s | passed |
| busyEngine | 0.035s | passed |
| cancelIsSilentAndIdempotent | 0.647s | passed |
| captureErrorEndsWithErrorJson | 0.041s | passed |
| clearActivityListenerDropsCallbacks | 0.336s | passed |
| clearInitListenerDropsPendingCallbacks | 0.023s | passed |
| durationTicksAndAutoStop | 0.039s | passed |
| existsAudioTransLocalChecks | 0.052s | passed |
| existsAudioTransUploadsOtherFormats | 0.043s | passed |
| existsAudioTransWithBothListenerTypes | 0.052s | passed |
| forceRecordIgnoresVadEnd | 0.140s | passed |
| initFailures | 0.029s | passed |
| initPostsCallbacksOnMainThread | 0.023s | passed |
| initVariantsAndEngineTypes | 0.026s | passed |
| invalidSettingsNeverReachTheNetwork | 0.025s | passed |
| microphoneFailures | 0.033s | passed |
| muteMusicRequestsAudioFocus | 0.138s | passed |
| notInitialisedAnswers60007 | 0.025s | passed |
| paragraphResultHasShengtongStyleDetails | 0.039s | passed |
| paramsAndAudioUrlInResult | 0.036s | passed |
| pauseAndRestart | 0.035s | passed |
| permissionDeniedWithRealAudioRecord | 0.026s | passed |
| playbackCallbacks | 0.034s | passed |
| protocolErrorFromPlatform | 0.049s | passed |
| provisionAndParams | 0.025s | passed |
| quickStartAcceptsEitherOrder | 0.030s | passed |
| recordFileLocations | 0.195s | passed |
| recordStopScore | 0.052s | passed |
| recordingStopsAtThe300SecondLimit | 0.141s | passed |
| recycleIsIdempotent | 0.134s | passed |
| sdkLogSettings | 0.026s | passed |
| serverAddressAndTimeouts | 0.052s | passed |
| setOnRecorderListenerReplacesTheListener | 0.033s | passed |
| soundIntensityWithoutVad | 0.044s | passed |
| streamModeFeedsCallerAudio | 0.038s | passed |
| streamPauseDropsAudioAndEmptyStreamIs60002 | 0.033s | passed |
| ticksPauseWithTheRecording | 0.035s | passed |
| vadEndsTheRecording | 0.054s | 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 46a25f71747d44dfa637f4adac2cc8cc is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=46a25f71747d44dfa637f4adac2cc8cc 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 7212f055b26f4e8489ce0fa38b4bd9ff 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 0c5f304e70f14d25b9e4b066a96dc73c 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 8192ee67228443e5adcd0285033f93ed 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 3a37b77df95f41cca0be6aef2f4b3157 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 ff6e9811d7f64ede8a6d5a15a0cf203c 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 269d9c3c14e145c483d0415f52ceab19 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 5982cacb959043ed8b794ba6116cf1b9 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=5982cacb959043ed8b794ba6116cf1b9 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 840993ebd56441e8ad67ad14bb3c6768 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 2203de9a1f59475f88331fb6dd2332d4 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=2203de9a1f59475f88331fb6dd2332d4 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 4e88d42ffa5642be871687b8002ce61d 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 4e88d42ffa5642be871687b8002ce61d 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 4e88d42ffa5642be871687b8002ce61d 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=4e88d42ffa5642be871687b8002ce61d 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 1f0c9d5bbedd494d8a5ad5c1e7eccfb9 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=1f0c9d5bbedd494d8a5ad5c1e7eccfb9 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 49e4fc9a7571434599d5cbdc369c2e2f 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 dea809fb2d42432aa7841737869ba731 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 da378dbe585e4bf583a198d21ff76ad2 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 26bbcde51c0c47098714c76ae21c39a0 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 c0695a022b77496c8a91086df2beffcc is evaluated over REST instead W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId c0695a022b77496c8a91086df2beffcc W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId c0695a022b77496c8a91086df2beffcc W/YuguStCompat: evaluation failed tokenId=c0695a022b77496c8a91086df2beffcc errId=40001: bad W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 25673449c3df4c0b834ae6df74205154 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=25673449c3df4c0b834ae6df74205154 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 7d41723a9e024fbf9d469e8e434dafde 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 2ac6ba4b152145f8b39136d969dd2d77 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=2ac6ba4b152145f8b39136d969dd2d77 errId=60005: 音频短于 1 秒 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d2994e7d400e4c46b4e30e69cc31f7a2 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=21b323ff16b84c62b10d72a57f6da820 errId=60001: 音频文件不存在或不可读: null W/YuguStCompat: evaluation failed tokenId=23746b4007cb42398a1e66381ea3a0cd errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks2375704494742744541/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav W/YuguStCompat: evaluation failed tokenId=c81912be694c4a69a5ac71427f096949 errId=60002: 音频为空 W/YuguStCompat: evaluation failed tokenId=bfe2043e7ffb46fbb1be02dec3451489 errId=60005: 音频短于 1 秒 W/YuguStCompat: evaluation failed tokenId=98268d1c8f8f476980ce3c97d368c8da errId=60009: 音频大于 50 MB 或长于 300 秒 W/YuguStCompat: evaluation failed tokenId=5964ef6429f741e1b8eac80f8f64b753 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 cadd25be06b84bf581ed87318186c22b 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 a39723456ef24c0dba627e4b80d0baab 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 260580ae2bfe488dbaeca2d3f2f48571 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=260580ae2bfe488dbaeca2d3f2f48571 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f50fee92421b45bc80aff73a4f96c0b7 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=f50fee92421b45bc80aff73a4f96c0b7 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 052aabd746d143fcbeada0d7db7f0c64 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 052aabd746d143fcbeada0d7db7f0c64 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f9918e8d16de4050a0d87d37d54e6b24 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 b764064c3bcb4052a2ebf4c8a5f77fd5 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 dffc19cb52b54d51b8a4ff5127129976 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 4f52006fda034048bd02acd75e84b1a7 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 481ac1a4ada2409398f679f895696f08 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=481ac1a4ada2409398f679f895696f08 errId=60005: 音频短于 1 秒 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 41b331ac27b9495b93ddf01d7e6039a1 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 cb97a001a3734a5996206f713b609c60 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 95f742e047db4363abecf7cf6a7fa25c 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 25594d523f2e49bdb6109ef8ba163504 is evaluated over REST instead E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3