Class com.stkouyu.SkEgnManagerTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| activeAndReleaseMic | 0.041s | passed |
| attachAudioUrlCarriesThePlatformLink | 0.123s | passed |
| autoRetryHonoursCustomErrIds | 0.040s | passed |
| autoRetryResubmitsWithTheSameTokenId | 0.123s | passed |
| busyEngine | 0.034s | passed |
| cancelIsSilentAndIdempotent | 0.652s | passed |
| captureErrorEndsWithErrorJson | 0.040s | passed |
| clearActivityListenerDropsCallbacks | 0.341s | passed |
| clearInitListenerDropsPendingCallbacks | 0.028s | passed |
| durationTicksAndAutoStop | 0.042s | passed |
| existsAudioTransLocalChecks | 0.055s | passed |
| existsAudioTransUploadsOtherFormats | 0.046s | passed |
| existsAudioTransWithBothListenerTypes | 0.051s | passed |
| forceRecordIgnoresVadEnd | 0.145s | passed |
| initFailures | 0.040s | passed |
| initPostsCallbacksOnMainThread | 0.030s | passed |
| initVariantsAndEngineTypes | 0.034s | passed |
| invalidSettingsNeverReachTheNetwork | 0.027s | passed |
| microphoneFailures | 0.039s | passed |
| muteMusicRequestsAudioFocus | 0.136s | passed |
| notInitialisedAnswers60007 | 0.034s | passed |
| paragraphResultHasShengtongStyleDetails | 0.035s | passed |
| paramsAndAudioUrlInResult | 0.043s | passed |
| pauseAndRestart | 0.034s | passed |
| permissionDeniedWithRealAudioRecord | 0.033s | passed |
| playbackCallbacks | 0.038s | passed |
| protocolErrorFromPlatform | 0.046s | passed |
| provisionAndParams | 0.027s | passed |
| quickStartAcceptsEitherOrder | 0.033s | passed |
| recordFileLocations | 0.196s | passed |
| recordStopScore | 0.049s | passed |
| recordingStopsAtThe300SecondLimit | 0.119s | passed |
| recycleIsIdempotent | 0.133s | passed |
| sdkLogSettings | 0.029s | passed |
| serverAddressAndTimeouts | 0.055s | passed |
| setOnRecorderListenerReplacesTheListener | 0.039s | passed |
| soundIntensityWithoutVad | 0.047s | passed |
| streamModeFeedsCallerAudio | 0.038s | passed |
| streamPauseDropsAudioAndEmptyStreamIs60002 | 0.043s | passed |
| ticksPauseWithTheRecording | 0.036s | passed |
| vadEndsTheRecording | 0.060s | passed |
| withoutAutoRetryRetryableFailuresAre20009 | 0.129s | passed |
Standard error
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId da8dafd03187487f90197770b2f54738 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=da8dafd03187487f90197770b2f54738 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 b54d2d8f1df84136af23f1aca728aca0 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 75ea7d6a80d14e4699551ea2bf6eaed1 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 508ba3a6e39e435eb51631d7c64ec019 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 eab3693108d14922bbb0ca0c3fd2e64f 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 2b1f8cb54a6544a5adec5e80f7faab98 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 f7adf4759dbd4c92b9e1c83eddbdc2e1 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 ecf39e8d16a842e18b1ffdfd40cd644e is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=ecf39e8d16a842e18b1ffdfd40cd644e errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 2a49baf02a894634bff2e6ff2aea1ddf 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 2820053b621541a79701f65544021788 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=2820053b621541a79701f65544021788 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 38d2f9506be24da4978ded889cf36ba1 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 38d2f9506be24da4978ded889cf36ba1 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 38d2f9506be24da4978ded889cf36ba1 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=38d2f9506be24da4978ded889cf36ba1 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 0507d60d13714417a34b0becb25db115 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=0507d60d13714417a34b0becb25db115 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 93d8bffcb6614023a1de7d8d8c83ecab 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 fbe0136d93ab45e987c85eb16ab1e8d5 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 34e89a06689b44b0a70d63537dbdd441 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 d329ca6cedde44f1ab90d31323e6554a 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 d71e65be726246e0a6a81f6aaff18cd8 is evaluated over REST instead W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId d71e65be726246e0a6a81f6aaff18cd8 W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId d71e65be726246e0a6a81f6aaff18cd8 W/YuguStCompat: evaluation failed tokenId=d71e65be726246e0a6a81f6aaff18cd8 errId=40001: bad W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 3699036395fe4a638273c469d3473823 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=3699036395fe4a638273c469d3473823 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 599239e78995442db9f8e6a87965b35a is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=599239e78995442db9f8e6a87965b35a errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 9dc5b28e4352425391d408fb2c67e15d 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=77eacfacc1d34e70833aa2f1ff0b4d52 errId=60001: 音频文件不存在或不可读: null W/YuguStCompat: evaluation failed tokenId=fa013cfe3a0448cfb71cc34245c85299 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks16295332535505386050/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav W/YuguStCompat: evaluation failed tokenId=ecef5f823cac46a3a4c6bd8a1a353b38 errId=60002: 音频为空 W/YuguStCompat: evaluation failed tokenId=60e2a0a6481f4f418c1d6c9e83bc7ee1 errId=60005: 音频短于 1 秒 W/YuguStCompat: evaluation failed tokenId=953eb812fe904174b9c2eb7bf328015b errId=60009: 音频大于 50 MB 或长于 300 秒 W/YuguStCompat: evaluation failed tokenId=0d58ad74940c408a8b9f7f5683661f36 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 4113700b1e204d11b5bd833c9247cab1 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 5999b7f84ab747d0bc5193140bde3dcf 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 28ad912231d94c7bad06f1e839af35a8 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=28ad912231d94c7bad06f1e839af35a8 errId=60002: 音频为空 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 03222d0e42fb43b9b1fa2ff7e6190c90 is evaluated over REST instead W/YuguStCompat: evaluation failed tokenId=03222d0e42fb43b9b1fa2ff7e6190c90 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 2cb56e529cc14454948b97490b26d636 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 2cb56e529cc14454948b97490b26d636 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 5d1f0c0463614b12b1bdfd4cb4d9b4aa 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 32639dceae354708b9549d4061afb261 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 0277b4b3859f462fb58a958ed4f18b72 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 2eacbd7a38224ed59069ff1a529a6079 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 a3fd40c59e4949579ba80a7450103096 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 5dd63af0760d44209895b00dc08031a4 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=5dd63af0760d44209895b00dc08031a4 errId=60005: 音频短于 1 秒 W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId be21158eb53546fa9bcdf91528c80d4f 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 faa0c29a97114103bea301baeea03d70 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 e244d2b50fe848e6a38bf8b173c38cb9 is evaluated over REST instead E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3