1
0
mirror of https://github.com/square/okhttp.git synced 2025-12-25 00:01:02 +03:00

Run some junit5 tests (#6359)

This commit is contained in:
Yuri Schimke
2020-10-31 13:39:47 +00:00
committed by GitHub
parent fd1b36653f
commit 559b0f8d4b
2 changed files with 10 additions and 5 deletions

View File

@@ -39,6 +39,11 @@ animalsniffer {
ignoreFailures = true
}
sourceSets {
main.java.srcDirs += project.file("../okhttp-logging-interceptor/src/test/java")
main.java.srcDirs += project.file("../okhttp-sse/src/test/java")
}
graal {
mainClass "okhttp3.RunTestsKt"
outputName "ConsoleLauncher"

View File

@@ -31,11 +31,11 @@ import java.io.PrintWriter
import kotlin.system.exitProcess
val knownTests = listOf(
// okhttp3.sse.internal.EventSourceHttpTest::class.java,
// okhttp3.logging.IsProbablyUtf8Test::class.java,
// okhttp3.logging.LoggingEventListenerTest::class.java,
// okhttp3.logging.HttpLoggingInterceptorTest::class.java,
// okhttp3.sse.internal.ServerSentEventIteratorTest::class.java,
okhttp3.logging.IsProbablyUtf8Test::class.java,
okhttp3.logging.LoggingEventListenerTest::class.java,
okhttp3.logging.HttpLoggingInterceptorTest::class.java,
okhttp3.sse.internal.EventSourceHttpTest::class.java,
okhttp3.sse.internal.ServerSentEventIteratorTest::class.java,
// okhttp3.CallTest::class.java,
// okhttp3.internal.http.CancelTest::class.java,
SampleTest::class.java)