372362092

Results 7 comments of 372362092

org.opentest4j.AssertionFailedError: Expected :true Actual :false at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40) at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35) at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:179) 这是咋回事

VideoDetails videoDetails = parseVideoDetails(videoId, playerResponse); 到这里就报错了

I don't know why my connection timeout is showing here

com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class com.github.kiulian.downloader.downloader.response.ResponseImpl and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:77) at com.fasterxml.jackson.databind.SerializerProvider.reportBadDefinition(SerializerProvider.java:1191) at com.fasterxml.jackson.databind.DatabindContext.reportBadDefinition(DatabindContext.java:312) at com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.failForEmpty(UnknownSerializer.java:71) at com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.serialize(UnknownSerializer.java:33) at...

> @372362092请打开新问题并分享导致错误的代码片段 assertDoesNotThrow(() -> { YoutubeProgressCallback mockCallback = mock(YoutubeProgressCallback.class); RequestVideoFileDownload request = new RequestVideoFileDownload(format).callback(mockCallback).async(); Response responseFile = downloader.downloadVideoFile(request); assertTimeout(Duration.ofSeconds(5), () -> { assertTrue(responseFile.ok()); File file = responseFile.data(); validateFileDownloadAndDelete(format, file); });...

``` org.opentest4j.AssertionFailedError: download video async with callback should work ==> Unexpected exception thrown: java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null) at org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:83) at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:54) at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:41) at org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3154)...